Browse Source

Update system.cmake

pull/4569/head
Martin Kroeker GitHub 2 years ago
parent
commit
0fd7015697
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cmake/system.cmake

+ 2
- 1
cmake/system.cmake 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")


Loading…
Cancel
Save