commit:     7ff234e31b49f0da9ec5fa2bbc30461ff33de673
Author:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  8 17:03:05 2018 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Wed Aug  8 17:24:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff234e3

sci-libs/tensorflow: fix build failure

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-libs/tensorflow/tensorflow-1.10.0_rc1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/tensorflow/tensorflow-1.10.0_rc1.ebuild 
b/sci-libs/tensorflow/tensorflow-1.10.0_rc1.ebuild
index 2f99ccfabc0..cd3af7d2588 100644
--- a/sci-libs/tensorflow/tensorflow-1.10.0_rc1.ebuild
+++ b/sci-libs/tensorflow/tensorflow-1.10.0_rc1.ebuild
@@ -157,7 +157,9 @@ setup_bazelrc() {
        mkdir -p "${T}/bazel-cache" || die
        mkdir -p "${T}/bazel-distdir" || die
 
-       cat > "${T}/bazelrc" <<-EOF
+       cat > "${T}/bazelrc" <<-EOF || die
+       startup --batch
+
        # dont strip HOME, portage sets a temp per-package dir
        build --action_env HOME
 
@@ -188,8 +190,6 @@ ebazel() {
 
        einfo Running: bazel --output_base="${output_base}" "$@"
        bazel --output_base="${output_base}" $@ || die
-
-       bazel shutdown
 }
 
 load_distfiles() {

Reply via email to