Browse Source

disable flang optimizations

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

+ 3
- 1
test/CMakeLists.txt View File

@@ -5,7 +5,9 @@ enable_language(Fortran)
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")
endif()

if (BUILD_SINGLE)
list( APPEND OpenBLAS_Tests sblat1 sblat2 sblat3)


Loading…
Cancel
Save