Skip to content

Commit

Permalink
Support IntelLLVM for ICX builds with CMake version >= 3.20 (#3565)
Browse files Browse the repository at this point in the history
  • Loading branch information
minitu committed Jan 25, 2022
1 parent 7b08f0f commit 2278b17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_CXX_COMPILER_ID STRE
if(mytmp MATCHES "-")
string(REGEX REPLACE ".*(-.*)" "\\1" CMK_COMPILER_SUFFIX ${mytmp})
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM")
set(CMK_COMPILER icx)
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
set(CMK_COMPILER icc)
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Cray")
Expand Down

0 comments on commit 2278b17

Please sign in to comment.