Disable the gfortran tree vectorizer for netlib LAPACK
This commit is contained in:
parent
57809526c4
commit
32566bfb44
|
@ -999,6 +999,9 @@ endforeach ()
|
|||
|
||||
if (NOT C_LAPACK)
|
||||
set_source_files_properties(${LA_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_FFLAGS}")
|
||||
if (${F_COMPILER} STREQUAL "GFORTRAN")
|
||||
set_source_files_properties(${LA_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_FFLAGS} -fno-tree-vectorize")
|
||||
endif()
|
||||
else ()
|
||||
set_source_files_properties(${LA_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_CFLAGS}")
|
||||
endif ()
|
||||
|
|
Loading…
Reference in New Issue