You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elseif("${CMAKE_CXX_COMPILER_ID}"MATCHES"Clang") # For Clang or AppleClang
This causes BLT to erroneously classify CrayClang C and CrayClang CXX as Clang mainline rather than CrayClang.
This results in situations like this:
-- The Fortran compiler identification is Cray 18.0.0
-- The C compiler identification is Clang 18.1.6
-- The CXX compiler identification is Clang 18.1.6
When specifying the cray clang compilers in cmake for CMAKE_C_COMPILER and CMAKE_CXX_COMPILER.
The text was updated successfully, but these errors were encountered:
CMake provides "CrayClang" as a compiler ID for the C and CXX Cray compilers based on Clang:
https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html
SetupCompilerOptions uses
matches
for Clang to match both Clang and AppleClang:blt/cmake/SetupCompilerOptions.cmake
Line 33 in 45494b6
This causes BLT to erroneously classify CrayClang C and CrayClang CXX as Clang mainline rather than CrayClang.
This results in situations like this:
When specifying the cray clang compilers in cmake for CMAKE_C_COMPILER and CMAKE_CXX_COMPILER.
The text was updated successfully, but these errors were encountered: