- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
downloaded and installed the base toolkit today and tried to compiled my code in vs2019(16.11.9). everything looks normal and I found vs2019 is called clang-cl.exe to do the job. However, I find this readme file in intel\oneAPI\compiler\2022.0.0\windows\bin-llvm basically saying clangxxx is deprecated, instead icx.exe should be called.
anythign wrong?
version:
c++ compiler: 2022.0.0.161
oneAPI DPC++ compiler: 2022.0.0.1
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
We have compiled a sample program using Intel C++ compiler 2022 (icx) and Visual Studio 2019. We have selected the platform toolset as Intel C++ compiler 2022(Project -> Properties -> Configuration properties -> General -> Platform Toolset).
We observed that the VS used the icx.exe file for building the project.
Could you please let us know which compiler you have selected before building the project?
Regards,
Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
as shown in these snapshots. remark: for speed purpose I installed the oneAPI in the same path in e driver, instead of the default path in c driver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are working on your issue, we will get back to you soon.
Best Regards,
Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, icx will be calling clang-cl.exe (Intel version). The README doesn't imply clang/clang++ are deprecated, it's not recommended. But if you need to call clang/clang++ (LLVM versions) directly, you still can and report issue to us if any.
Hope this clear some confusions you have.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in this case, if I use cmake to manage the building, which .exe should I use? Also, from your vs2022 snapshot, icx is called. Does it mean vs2019 is using clang-cl.exe because of some legacy issues?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have we answered your concerns? if so, can we close this thread?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you intended to use Intel Compiler then icx should be used. icx is a driver and will call clang-cl.exe. No.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Seems like we have answered your questions, we will go ahead and close this thread. If you have any other questions/concerns, please create a new one.
Regards,
Viet
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page