summaryrefslogtreecommitdiff
path: root/math/ideep/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-10-27 20:19:29 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-10-27 20:19:29 +0000
commit68f4f67e571b12a4d7570bab34589b714036445f (patch)
tree49968eb1389298dbf5788c81e0aa0bd2f64eb5b2 /math/ideep/files/patch-CMakeLists.txt
parentUpdate to 3.0.6. (diff)
New port: math/ideep: Chainer module for numpy-like API and DNN acceleration using MKL-DNN
Diffstat (limited to 'math/ideep/files/patch-CMakeLists.txt')
-rw-r--r--math/ideep/files/patch-CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/math/ideep/files/patch-CMakeLists.txt b/math/ideep/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..81e00d987f72
--- /dev/null
+++ b/math/ideep/files/patch-CMakeLists.txt
@@ -0,0 +1,22 @@
+--- CMakeLists.txt.orig 2019-08-30 01:57:18 UTC
++++ CMakeLists.txt
+@@ -15,7 +15,7 @@ IF(APPLE)
+ SET(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
+ ENDIF(APPLE)
+
+-set(USE_MKLDNN_INTERNAL 1)
++set(USE_MKLDNN_INTERNAL 0)
+ include(cmake/profiling.cmake)
+ include(cmake/mkldnn.cmake)
+ include(cmake/mkl.cmake)
+@@ -26,7 +26,9 @@ include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}
+
+ install(DIRECTORY include/ DESTINATION include)
+
+-add_subdirectory(tests)
++if (BUILD_TESTING)
++ add_subdirectory(tests)
++endif()
+
+ if (multinode)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -mavx -Wall -Wextra -Werror")