Browse Source

Disable gfortran tree vectorizer to avoid gcc11+ miscompilation at O3

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

+ 4
- 0
test/CMakeLists.txt View File

@@ -2,6 +2,10 @@ include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_BINARY_DIR})

enable_language(Fortran)
if (CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fno-tree-vectorize")
endif()


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


Loading…
Cancel
Save