summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdriĆ  Arrufat2018-03-07 15:32:56 +0100
committerAdriĆ  Arrufat2018-03-07 15:32:56 +0100
commit98be88a96133ab76ead539a7caadb0afbb7e3bc9 (patch)
tree6b1055255c16007435ca120eecf4eb6b26f71b11 /PKGBUILD
parented557fd41eeae3a3d9ca8a9c96bdc67a82100a2e (diff)
downloadaur-98be88a96133ab76ead539a7caadb0afbb7e3bc9.tar.gz
fix build for v1.6.x
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5caee5fd5b7..ebe7be30589 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.5.0+2146+g283f03c825
+pkgver=1.6.0+rc1+1055+g99de182664
pkgrel=1
pkgdesc="Library for computation using data flow graphs for scalable machine learning"
url="https://tensorflow.org/"
@@ -47,13 +47,13 @@ prepare() {
}
build() {
- _bazel_09_fix="--incompatible_load_argument_is_label=false"
+ # _bazel_09_fix="--incompatible_load_argument_is_label=false"
cd ${srcdir}/tensorflow
export TF_NEED_CUDA=0
./configure
- bazel build --config=opt --jobs=`nproc` //tensorflow:libtensorflow.so //tensorflow/tools/pip_package:build_pip_package ${_bazel_09_fix}
+ bazel build --config=opt --jobs=`nproc` //tensorflow:libtensorflow.so //tensorflow/tools/pip_package:build_pip_package # ${_bazel_09_fix}
bazel-bin/tensorflow/tools/pip_package/build_pip_package ${srcdir}/tmp
cd ${srcdir}/tensorflow-cuda
@@ -67,7 +67,7 @@ build() {
export TF_CUDNN_VERSION=$(sed -n 's/^#define CUDNN_MAJOR\s*\(.*\).*/\1/p' $CUDNN_INSTALL_PATH/include/cudnn.h)
export TF_CUDA_COMPUTE_CAPABILITIES=3.0,3.5,5.2,6.1,6.2
./configure
- bazel build --config=opt --config=cuda --jobs=`nproc` //tensorflow:libtensorflow.so //tensorflow/tools/pip_package:build_pip_package ${_bazel_09_fix}
+ bazel build --config=opt --config=cuda --jobs=`nproc` //tensorflow:libtensorflow.so //tensorflow/tools/pip_package:build_pip_package # ${_bazel_09_fix}
bazel-bin/tensorflow/tools/pip_package/build_pip_package ${srcdir}/tmpcuda
}