summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdriĆ  Arrufat2017-05-19 19:44:54 +0200
committerAdriĆ  Arrufat2017-05-19 19:44:54 +0200
commit4481bcd68e10dfd581930c85c616b40ecdce3204 (patch)
treed7f442f44c7e2c2e31481805d0e29c02426e644a /PKGBUILD
parent6af7b3e18a278b3bfb7793a5eed3b1369a32a2e1 (diff)
downloadaur-4481bcd68e10dfd581930c85c616b40ecdce3204.tar.gz
fix logic
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d1e0ba54fb9a..8a01098cc9ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=tensorflow-git
pkgname=(tensorflow-git tensorflow-cuda-git python-tensorflow-git python-tensorflow-cuda-git)
-pkgver=1.1.0+rc2+1084+gc03d5cc664
+pkgver=1.1.0+rc2+1217+g0b52c33427
pkgrel=1
pkgdesc="Library for computation using data flow graphs for scalable machine learning"
url="https://tensorflow.org/"
@@ -21,7 +21,8 @@ pkgver() {
}
prepare() {
- cp -r tensorflow tensorflow-cuda
+ [ -d ${srcdir}/tensoflow-cuda ] && rm -rf ${srcdir}/tensorflflow-cuda
+ cp -r ${srcdir}/tensorflow ${srcdir}/tensorflow-cuda
# These environment variables influence the behavior of the configure call below.
export PYTHON_BIN_PATH=/usr/bin/python
export USE_DEFAULT_PYTHON_LIB_PATH=1