diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-04-04 07:13:35 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-04-04 07:13:35 +0000 |
commit | 107ad6127b980a1d3ff1d84102af874b342d898a (patch) | |
tree | 12969688baffe373555a318dd0ef76673732f41c /math/onednn/files/patch-cmake_platform.cmake | |
parent | - Update to 1.0.4 (diff) |
math/mkl-dnn: Rename to math/onednn; Update 1.2.2 -> 1.3
The project is renamed by the upstream.
Notes
Notes:
svn path=/head/; revision=530557
Diffstat (limited to 'math/onednn/files/patch-cmake_platform.cmake')
-rw-r--r-- | math/onednn/files/patch-cmake_platform.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/math/onednn/files/patch-cmake_platform.cmake b/math/onednn/files/patch-cmake_platform.cmake new file mode 100644 index 000000000000..23affea8113d --- /dev/null +++ b/math/onednn/files/patch-cmake_platform.cmake @@ -0,0 +1,19 @@ +--- cmake/platform.cmake.orig 2020-03-31 16:33:27 UTC ++++ cmake/platform.cmake +@@ -95,7 +95,6 @@ elseif(UNIX OR MINGW) + append(CMAKE_CCXX_NOEXCEPT_FLAGS "-fno-exceptions") + # compiler specific settings + if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") +- set(DEF_ARCH_OPT_FLAGS "-msse4.1") + # Clang cannot vectorize some loops with #pragma omp simd and gets + # very upset. Tell it that it's okay and that we love it + # unconditionally. +@@ -144,7 +143,7 @@ elseif(UNIX OR MINGW) + set(DNNL_ENABLE_JIT_PROFILING CACHE BOOL "OFF" FORCE) + message(WARNING "AArch64 build, DNNL_ENABLE_JIT_PROFILING is OFF") + else() +- set(DEF_ARCH_OPT_FLAGS "-msse4.1") ++ #set(DEF_ARCH_OPT_FLAGS "-msse4.1") + endif() + # suppress warning on assumptions made regarding overflow (#146) + append(CMAKE_CCXX_NOWARN_FLAGS "-Wno-strict-overflow") |