Update system.cmake

This commit is contained in:
Martin Kroeker 2024-03-22 08:32:22 +01:00 committed by GitHub
parent f9da23e915
commit 0fd7015697
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -616,7 +616,8 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
endforeach ()
endif ()
if ("${F_COMPILER}" STREQUAL "NAG" OR "${F_COMPILER}" STREQUAL "CRAY" OR "${F_COMPILER}" STREQUAL "FLANGNEW")
message(STATUS "FC is ${F_COMPILER}")
if (${F_COMPILER} STREQUAL "NAG" OR ${F_COMPILER} STREQUAL "CRAY" OR ${F_COMPILER} STREQUAL "FLANGNEW")
set(FILTER_FLAGS "-msse3;-mssse3;-msse4.1;-mavx;-mavx2,-mskylake-avx512")
if ("${F_COMPILER}" STREQUAL "FLANGNEW")
set(FILTER_FLAGS "${FILTER_FLAGS};-m32;-m64")