Closed mablanchard closed 2 years ago
@grafikrobot @grisumbras What is the correct b2 toolset name for the new LLVM-based Intel compiler?
@pdimov it's just intel
as before. Not sure which of the four platform variants of it support the new compiler though.
For reference, the hack below seems to be working here:
--- lib/cmake/BoostDetectToolset-1.77.0.cmake (revision 2786)
+++ lib/cmake/BoostDetectToolset-1.77.0.cmake (working copy)
@@ -32,7 +32,7 @@
set(_BOOST_COMPILER_VERSION_MINOR)
endif()
-elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
+elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel" OR CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM")
if(WIN32)
Applied your suggestion on develop, https://github.com/boostorg/boost_install/commit/56f7c5da02a62c009954bfa0c9ccb1b57a3096a4. Sorry that didn't happen earlier; the notification must have come in an inopportune time so I've missed it.
It's a bit too late now for 1.81, the beta is already on its way, but I'll see if this can be applied post-beta.
My bad, I should have created a PR but felt like this was more of a hack rather than a proper fix. I never took the time to actually look at the CMake logic here...
Should be the proper fix.
Merged to master, should be in the final 1.81 release.
Thanks!
Intel C/C++ compilers switched to LLVM and new ICX compiler is reported with
CMAKE_CXX_COMPILER_ID
set toIntelLLVM
by CMake (testing CMake 3.23.1). This new string seems not to be handled correctly byBoostDetectToolset.cmake
and throws messages like: