diff options
author | Daniel Bermond | 2017-03-27 14:57:36 -0300 |
---|---|---|
committer | Daniel Bermond | 2017-03-27 14:57:36 -0300 |
commit | 7ebdec03a2f785269a21f9b7042f86b4eeb393fc (patch) | |
tree | 5e0936ea92baaf0180a90deae203c49b16070fc2 | |
parent | 177018e7a8308bbaba3029800a15e57acca66298 (diff) | |
download | aur-7ebdec03a2f785269a21f9b7042f86b4eeb393fc.tar.gz |
build(): reorganized the python2 block
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 9 insertions, 9 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Mar 27 17:53:08 UTC 2017 +# Mon Mar 27 17:56:49 UTC 2017 pkgbase = caffe-git pkgdesc = A deep learning framework made with expression, speed, and modularity in mind (git version, gpu enabled) pkgver = rc5.r5.g317d162ac - pkgrel = 3 + pkgrel = 4 url = http://caffe.berkeleyvision.org/ arch = x86_64 license = BSD @@ -4,7 +4,7 @@ pkgname=caffe-git pkgver=rc5.r5.g317d162ac -pkgrel=3 +pkgrel=4 pkgdesc="A deep learning framework made with expression, speed, and modularity in mind (git version, gpu enabled)" arch=('x86_64') url="http://caffe.berkeleyvision.org/" @@ -69,13 +69,13 @@ prepare() { # use python layers sed -i '/WITH_PYTHON_LAYER/s/^#[[:space:]]//g' Makefile.config + # if you want to use python2 _instead_ of python3: + # - uncomment this block + # - comment the python3 block + # - change python3 dependencies to python2 + # - NOTE: do not enable both python2 and python3 blocks. choose only one. + # - NOTE: python2 is the Caffe default but this package uses python3 by default # python2 settings - # if you want to use python2 _instead_ of python3: - # - uncomment this block - # - comment the python3 block - # - change python3 depends and optdepends to python2 - # - NOTE: do not enable both python2 and python3 blocks. choose only one. - # - NOTE: python2 is the Caffe default but this package uses python3 by default #_py2inc_line="$(sed -n '/PYTHON_INCLUDE[[:space:]]\:=[[:space:]]\/usr\/include\/python2\.7/=' Makefile.config)" #sed -i "$((_py2inc_line+1))s/dist/site/" Makefile.config } |