From: Matthias Maier Date: Tue, 2 Sep 2014 12:50:03 +0000 (+0200) Subject: Small bugfixes wrt DEAL_II_HAVE_AVX512 X-Git-Tag: v8.2.0-rc1~165^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f34899947c657c13e8026b6ea7df51e1201f36df;p=dealii.git Small bugfixes wrt DEAL_II_HAVE_AVX512 - Use the same logic as for DEAL_II_HAVE_(SSE|AVX) - Update documentation --- diff --git a/cmake/checks/check_01_compiler_features.cmake b/cmake/checks/check_01_compiler_features.cmake index c6678d6367..e5352bf182 100644 --- a/cmake/checks/check_01_compiler_features.cmake +++ b/cmake/checks/check_01_compiler_features.cmake @@ -303,7 +303,7 @@ CHECK_CXX_SOURCE_COMPILES( int old_fn () { return 0; } int (*fn_ptr)() = old_fn; - int main () {} + int main () {} " DEAL_II_COMPILER_HAS_ATTRIBUTE_DEPRECATED ) diff --git a/cmake/checks/check_01_cpu_features.cmake b/cmake/checks/check_01_cpu_features.cmake index 1204b5dec2..54ceed4dce 100644 --- a/cmake/checks/check_01_cpu_features.cmake +++ b/cmake/checks/check_01_cpu_features.cmake @@ -62,6 +62,7 @@ IF(DEAL_II_ALLOW_PLATFORM_INTROSPECTION) IF(NOT "${CMAKE_REQUIRED_FLAGS}" STREQUAL "${DEAL_II_CHECK_CPU_FEATURES_SAVED}") UNSET(DEAL_II_HAVE_SSE2 CACHE) UNSET(DEAL_II_HAVE_AVX CACHE) + UNSET(DEAL_II_HAVE_AVX512 CACHE) ENDIF() SET(DEAL_II_CHECK_CPU_FEATURES_SAVED "${CMAKE_REQUIRED_FLAGS}" CACHE INTERNAL "" FORCE diff --git a/doc/users/config.sample b/doc/users/config.sample index b37132c370..32a5e5c70a 100644 --- a/doc/users/config.sample +++ b/doc/users/config.sample @@ -632,6 +632,7 @@ # # SET(DEAL_II_HAVE_SSE TRUE CACHE BOOL "") # SET(DEAL_II_HAVE_AVX TRUE CACHE BOOL "") +# SET(DEAL_II_HAVE_AVX512 TRUE CACHE BOOL "") #