We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1f3a72 commit f56a729Copy full SHA for f56a729
cmake/svs.cmake
@@ -9,6 +9,13 @@ endif()
9
# add_definitions(-DSVS_EXPERIMENTAL_LEANVEC)
10
# endif()
11
12
+# Valgrind does not support AVX512 and Valgrind in running in Debug
13
+# so disable it if we are in Debug mode
14
+string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
15
+if(uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG")
16
+ set(SVS_NO_AVX512 ON)
17
+endif()
18
+
19
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "(x86_64)|(AMD64|amd64)")
20
set(SVS_SUPPORTED 1)
21
else()
0 commit comments