aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Gunhan Gulsoy <gunan@google.com>2017-01-16 01:21:51 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-16 01:47:31 -0800
commitacdbd68986448f4e3ed81a98244c8be1c57b52da (patch)
treeff53648961c33de33644b599dd010240dbd95445 /tools
parent6987e97e1161cdfcfa10977fecd38fb53a7d4863 (diff)
Create --config opt for compiling fully optimized binaries.
Change: 144609556
Diffstat (limited to 'tools')
-rw-r--r--tools/bazel.rc.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/bazel.rc.template b/tools/bazel.rc.template
index a1fb55632c..3f08795670 100644
--- a/tools/bazel.rc.template
+++ b/tools/bazel.rc.template
@@ -27,3 +27,7 @@ run --spawn_strategy=standalone
build --genrule_strategy=standalone
test --genrule_strategy=standalone
run --genrule_strategy=standalone
+
+build -c opt
+test -c opt
+run -c opt