STT-tensorflow/tensorflow/tools/ci_build/install/.bazelrc
A. Unique TensorFlower a782c9df3e Replace --genrule_strategy w/ --strategy=Genrule
This is in preparation for --genrule_strategy becoming a no-op in a future Bazel release.

PiperOrigin-RevId: 229755652
2019-01-17 09:00:10 -08:00

16 lines
675 B
Plaintext

# Running bazel inside a `docker build` command causes trouble, cf:
# https://github.com/bazelbuild/bazel/issues/134
# The easiest solution is to set up a bazelrc file forcing --batch.
startup --batch
# Similarly, we need to workaround sandboxing issues:
# https://github.com/bazelbuild/bazel/issues/418
build --verbose_failures --spawn_strategy=standalone --strategy=Genrule=standalone
test --spawn_strategy=standalone
# Force bazel output to use colors (good for jenkins) and print useful errors.
common --color=yes
# Configure tests - increase timeout, print errors and timeout warnings
test --verbose_failures --test_output=errors --test_verbose_timeout_warnings