File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 run : |
2222 cmake $GITHUB_WORKSPACE -DHIPO=ON \
2323 -DBUILD_OPENBLAS=ON \
24+ -DNO_AVX512=ON \
2425 -DCMAKE_BUILD_TYPE=Debug \
2526 -DALL_TESTS=ON
2627
Original file line number Diff line number Diff line change @@ -152,6 +152,10 @@ option(HIPO "Build HIPO" OFF)
152152message (STATUS "Build HIPO: ${HIPO} " )
153153option (BUILD_OPENBLAS "Build OpenBLAS" OFF )
154154message (STATUS "Build OpenBLAS: ${BUILD_OPENBLAS} " )
155+ option (NO_AVX512 "Build OpenBLAS without AVX512" OFF )
156+ if (NO_AVX512)
157+ message (STATUS "Build OpenBLAS without AVX512: ON" )
158+ endif ()
155159
156160if (HIPO AND CSHARP)
157161 message (ERROR "HIPO is only available in C++. Not yet supported in C#." )
Original file line number Diff line number Diff line change @@ -125,7 +125,13 @@ if (BUILD_OPENBLAS)
125125 set (NO_AVX512 ON CACHE BOOL "Disable AVX512" FORCE )
126126 # set(CMAKE_C_FLAGS_OPENBLAS "-DTARGET=HASWELL -DNO_AVX512=1")
127127 else ()
128- message (STATUS " NOT Skylake" )
128+ message (STATUS "NOT Skylake" )
129+ endif ()
130+
131+ if (NO_AVX512)
132+ message (STATUS "NO_AVX512 - adjusting OpenBLAS possibly for valgrind" )
133+ set (NO_AVX512 ON CACHE BOOL "Disable AVX512" FORCE )
134+ # set(CMAKE_C_FLAGS_OPENBLAS "-DTARGET=HASWELL -DNO_AVX512=1")
129135 endif ()
130136 endif ()
131137
You can’t perform that action at this time.
0 commit comments