[caffe-contrib] 43/362: cmake: set CPU_ONLY
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Tue May 3 09:24:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch master
in repository caffe-contrib.
commit 63096b603c9cf7e5d7abf26c41a031782d257b88
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sun Jul 12 01:09:47 2015 +0000
cmake: set CPU_ONLY
---
debian/patches/05-set-cmake-cpuonly.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/patches/05-set-cmake-cpuonly.patch b/debian/patches/05-set-cmake-cpuonly.patch
new file mode 100644
index 0000000..689eddd
--- /dev/null
+++ b/debian/patches/05-set-cmake-cpuonly.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -15,7 +15,7 @@
+ include(cmake/ConfigGen.cmake)
+
+ # ---[ Options
+-caffe_option(CPU_ONLY "Build Caffe without CUDA support" OFF) # TODO: rename to USE_CUDA
++caffe_option(CPU_ONLY "Build Caffe without CUDA support" ON) # TODO: rename to USE_CUDA
+ caffe_option(USE_CUDNN "Build Caffe with cuDNN libary support" ON IF NOT CPU_ONLY)
+ caffe_option(BUILD_SHARED_LIBS "Build shared libraries" ON)
+ caffe_option(BUILD_python "Build Python wrapper" ON)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe-contrib.git
More information about the debian-science-commits
mailing list