diff options
author | Darshit Shah | 2018-06-01 17:30:33 +0200 |
---|---|---|
committer | Darshit Shah | 2018-06-01 17:30:42 +0200 |
commit | 1b422d2dea8d9dfba95026c4b6e35aefa37a7a14 (patch) | |
tree | cc7ab059790e349be24f923385b5ce60043e1dda /PKGBUILD | |
parent | 11a7536a0d3991169a8de473ff295391c6f23947 (diff) | |
download | aur-tensorflow-cpu-git.tar.gz |
Tiny build changes. Unbreak compilation
Signed-off-by: Darshit Shah <darnir@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ pkgbase=(tensorflow-cpu-git) pkgname=(tensorflow-cpu-git python-tensorflow-cpu-git) -pkgver=1.8.0+rc1+930+gadf045607c +pkgver=1.8.0+2609+g1039ff9ee8 pkgrel=1 pkgdesc="Library for computation using data flow graphs for scalable machine learning" url="https://tensorflow.org/" @@ -13,7 +13,7 @@ arch=('x86_64') # There is curently a bug which prevents the compilation of tensorflow with # bazel 0.13. See: https://github.com/tensorflow/tensorflow/issues/19015 # Till that is resolved, explicitly marking the dependency to 0.12 -makedepends=(git bazel=0.12.0 python-pip python-wheel python-setuptools) +makedepends=(git bazel=0.12.0 python-pip python-numpy python-wheel python-setuptools) optdepends=('tensorboard: Tensorflow visualization toolkit') source=("git+https://github.com/tensorflow/tensorflow") md5sums=('SKIP') @@ -56,7 +56,7 @@ build() { export TF_NEED_CUDA=0 ./configure - bazel build --config=opt ${MAKEFLAGS:--j$(nproc)} //tensorflow:libtensorflow.so //tensorflow/tools/pip_package:build_pip_package + bazel build --config=opt --jobs $(nproc) //tensorflow:libtensorflow.so //tensorflow/tools/pip_package:build_pip_package bazel-bin/tensorflow/tools/pip_package/build_pip_package ${srcdir}/tmp } @@ -86,7 +86,7 @@ package_python-tensorflow-cpu-git() { # it out from this pacakge. rm -rf ${pkgdir}/usr/bin/tensorboard - WHEEL_PACKAGE=$(find ${srcdir}/tmpcuda -name "tensor*.whl") + WHEEL_PACKAGE=$(find ${srcdir}/tmp -name "tensor*.whl") pip install --ignore-installed --upgrade --root $pkgdir/ $WHEEL_PACKAGE --no-dependencies install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/python-tensorflow/LICENSE |