Skip to content

Commit

Permalink
Differentiate between Cray and CrayClang compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Sep 27, 2024
1 parent 0c7680a commit a71a5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/value/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ foreach( valueType nil boolean integer double string valuemap valuelist date ord
LIBS eckit )
endforeach()

if( CMAKE_CXX_COMPILER_ID MATCHES "Cray" )
if( CMAKE_CXX_COMPILER_ID STREQUAL "Cray" )
# Disable warnings for test_value_integer due to following:
# "Integer conversion resulted in a change of sign."
set_source_files_properties(test_value_integer.cc PROPERTIES COMPILE_FLAGS "-hmsglevel_4" )
Expand Down

0 comments on commit a71a5c8

Please sign in to comment.