[caffe] 178/249: d/rules: begin to bump python version to 3

Zhou Mo cdluminate-guest at moszumanska.debian.org
Tue Mar 8 14:51:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch debian/experimental
in repository caffe.

commit d710c99643e9bb56dfcd305f7e8a19a159115653
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Wed Sep 2 06:58:40 2015 +0000

    d/rules: begin to bump python version to 3
---
 debian/rules | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9471d11..d107b71 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ CONFFLAG_CPU = \
 	-DUSE_CUDNN=OFF \
 	-DBUILD_SHARED_LIBS=ON \
 	-DBUILD_python=ON \
-	-Dpython_version="2" \
+	-Dpython_version="3" \
 	-DBUILD_matlab=OFF \
 	-DBUILD_docs=OFF \
 	-DBUILD_python_layer=ON \
@@ -39,7 +39,7 @@ CONFFLAG_CUDA = \
 	-DUSE_CUDNN=OFF \
 	-DBUILD_SHARED_LIBS=ON \
 	-DBUILD_python=ON \
-	-Dpython_version="2" \
+	-Dpython_version="3" \
 	-DBUILD_matlab=OFF \
 	-DBUILD_docs=OFF \
 	-DBUILD_python_layer=ON \
@@ -54,7 +54,7 @@ CONFFLAG_CUDA = \
 	dh $@ \
 		--parallel \
 		--buildsystem=cmake \
-		--with python2
+		--with python3
 
 override_dh_auto_configure:
 	dh_auto_configure \
@@ -94,7 +94,7 @@ ifeq (y, $(flag_build_caffe_cuda))
 endif
 
 override_dh_pysupport:
-	dh_python2
+	dh_python3
 
 override_dh_auto_install:
 	dh_auto_install --builddirectory=${CAFFE_CPU_BUILDDIR} \
@@ -118,7 +118,7 @@ CONFFLAG_CPU_CUSTOM = \
 	-DUSE_CUDNN=OFF \
 	-DBUILD_SHARED_LIBS=ON \
 	-DBUILD_python=ON \
-	-Dpython_version="2" \
+	-Dpython_version="3" \
 	-DBUILD_matlab=OFF \
 	-DBUILD_docs=OFF \
 	-DBUILD_python_layer=ON \
@@ -132,7 +132,7 @@ CONFFLAG_CUDA_CUSTOM = \
 	-DUSE_CUDNN=OFF \
 	-DBUILD_SHARED_LIBS=ON \
 	-DBUILD_python=ON \
-	-Dpython_version="2" \
+	-Dpython_version="3" \
 	-DBUILD_matlab=OFF \
 	-DBUILD_docs=OFF \
 	-DBUILD_python_layer=ON \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe.git



More information about the debian-science-commits mailing list