diff options
author | Enihcam | 2018-04-26 23:05:38 +0800 |
---|---|---|
committer | Enihcam | 2018-04-26 23:05:38 +0800 |
commit | 5ae3789593bd6600417f42201b9eaa8e415a12ac (patch) | |
tree | c320ae2ce8f68444c2a1d2b2efb403b78b538f15 | |
parent | 7e0643719a91d660783922cd240deffeb434d42b (diff) | |
download | aur-5ae3789593bd6600417f42201b9eaa8e415a12ac.tar.gz |
Disable XLA
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = tensorflow-computecpp pkgdesc = Library for computation using data flow graphs for scalable machine learning (backend with ComputeCpp) pkgver = 1.7.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/tensorflow/tensorflow arch = x86_64 license = APACHE @@ -3,7 +3,7 @@ pkgbase=tensorflow-computecpp pkgname=(tensorflow-computecpp python-tensorflow-computecpp) pkgver=1.7.0 -pkgrel=1 +pkgrel=2 pkgdesc="Library for computation using data flow graphs for scalable machine learning (backend with ComputeCpp)" url="https://github.com/tensorflow/tensorflow" license=('APACHE') @@ -31,7 +31,7 @@ prepare() { export TF_NEED_JEMALLOC=0 export TF_NEED_GCP=0 export TF_NEED_HDFS=0 - export TF_ENABLE_XLA=1 + export TF_ENABLE_XLA=0 export TF_NEED_GDR=0 export TF_NEED_VERBS=0 export TF_NEED_OPENCL=1 @@ -55,7 +55,7 @@ build() { cd ${srcdir}/tensorflow-${pkgver} ./configure - bazel build --config=opt //tensorflow:libtensorflow.so //tensorflow/tools/pip_package:build_pip_package # ${_bazel_09_fix} + bazel build -c opt --config=sycl //tensorflow:libtensorflow.so //tensorflow/tools/pip_package:build_pip_package # ${_bazel_09_fix} bazel-bin/tensorflow/tools/pip_package/build_pip_package ${srcdir}/tmp } |