Skip to content

Commit

Permalink
Update system.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Mar 22, 2024
1 parent 096bc1e commit a430fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/system.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
endforeach ()
endif ()

if (${F_COMPILER} STREQUAL "NAG" OR ${F_COMPILER} STREQUAL "CRAY" OR CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang")
if (${F_COMPILER} STREQUAL "NAG" OR ${F_COMPILER} STREQUAL "CRAY" OR CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang")
set(FILTER_FLAGS "-msse3;-mssse3;-msse4.1;-mavx;-mavx2,-mskylake-avx512")
if (CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang")
set(FILTER_FLAGS "${FILTER_FLAGS};-m32;-m64")
Expand Down

0 comments on commit a430fcb

Please sign in to comment.