Browse Source

Update CMakeLists.txt

pull/3600/head
Martin Kroeker GitHub 4 years ago
parent
commit
c1b61990a1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/CMakeLists.txt

+ 1
- 1
test/CMakeLists.txt View File

@@ -6,7 +6,7 @@ if (CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fno-tree-vectorize")
endif()
if (CMAKE_Fortran_COMPILER_ID STREQUAL flang)
set(CMAKE_Fortran_FLAGS "$CMAKE_Fortran_FLAGS -fno-vectorize -fno-slp-vectorize")
set(CMAKE_Fortran_FLAGS "$CMAKE_Fortran_FLAGS -O2")
endif()

if (BUILD_SINGLE)


Loading…
Cancel
Save