sci-libs/tensorflow: fix build failure
authorJason Zaman <perfinion@gentoo.org>
Wed, 8 Aug 2018 17:03:05 +0000 (01:03 +0800)
committerJason Zaman <perfinion@gentoo.org>
Wed, 8 Aug 2018 17:24:01 +0000 (01:24 +0800)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sci-libs/tensorflow/tensorflow-1.10.0_rc1.ebuild

index 2f99ccfabc01e164e921a5977dc3e2089484bba3..cd3af7d25880fb30195fb2d92bf13b80e3a8b6b3 100644 (file)
@@ -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() {