Skip to content

Commit

Permalink
no longer support icpx as the compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Oct 11, 2022
1 parent acb8df1 commit 2c81fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/hip-config-in.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ endif()


# TODO check if hipcc CMAKE_CXX_COMPILER_ID is clang
# Make sure that the compiler is either clang, IntelLLVM, or hipcc
if((CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang") OR(CMAKE_CXX_COMPILER_ID MATCHES "IntelLLVM"))
# Make sure that the compiler is clang
if((CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang"))
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.0.0)
message(FATAL_ERROR "this project requires clang >= 8.0")
endif()
Expand Down

0 comments on commit 2c81fac

Please sign in to comment.