[arch-commits] Commit in tensorflow/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Mar 29 12:09:05 UTC 2018
Date: Thursday, March 29, 2018 @ 12:09:04
Author: svenstaro
Revision: 313375
upgpkg: tensorflow 1.7.0-1
Modified:
tensorflow/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-29 12:05:45 UTC (rev 313374)
+++ PKGBUILD 2018-03-29 12:09:04 UTC (rev 313375)
@@ -4,9 +4,9 @@
pkgbase=tensorflow
pkgname=(tensorflow tensorflow-opt tensorflow-cuda tensorflow-opt-cuda python-tensorflow python-tensorflow-opt python-tensorflow-cuda python-tensorflow-opt-cuda)
-pkgver=1.6.0
-_pkgver=1.6.0
-pkgrel=2
+pkgver=1.7.0
+_pkgver=1.7.0
+pkgrel=1
pkgdesc="Library for computation using data flow graphs for scalable machine learning"
url="https://www.tensorflow.org/"
license=('APACHE')
@@ -15,13 +15,9 @@
'cudnn' 'python-pip' 'python-wheel' 'python-setuptools')
optdepends=('tensorboard: Tensorflow visualization toolkit')
source=("https://github.com/tensorflow/tensorflow/archive/v${_pkgver}.tar.gz")
-sha512sums=('a3e5f07c8f622e952f522baf78d943cf484d8b9a2e77857e2ddb33289ca9e60cb80835dce1e9366b9eedda6beb9dc0043a8e26e02b738bc71bcbf24ae3030c7e')
+sha512sums=('6b15f628a5788d8054406ee6a6d2dbb70dc891b76251513a67c71aae05e389e7213ac8a73daf393d2cc70a72b7dac43c9f43306e287ddfa2105dde863e3f45b6')
prepare() {
- # Trick tensorflow into not building Android. The env var
- # TF_SET_ANDROID_WORKSPACE does not work for some reason.
- sed -i "s/if workspace_has_any_android_rule()/if True/g" tensorflow-${_pkgver}/configure.py
-
cp -r tensorflow-${_pkgver} tensorflow-${_pkgver}-opt
cp -r tensorflow-${_pkgver} tensorflow-${_pkgver}-cuda
cp -r tensorflow-${_pkgver} tensorflow-${_pkgver}-opt-cuda
@@ -40,8 +36,7 @@
export TF_NEED_OPENCL=0
export TF_NEED_MPI=0
export TF_NEED_TENSORRT=0
- # This should work, but doesn't:
- # export TF_SET_ANDROID_WORKSPACE=0
+ export TF_SET_ANDROID_WORKSPACE=0
}
build() {
More information about the arch-commits
mailing list