diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2017-09-01 15:13:09 +0200 |
---|---|---|
committer | Vladimir Moskva <vladmos@google.com> | 2017-09-01 15:29:40 +0200 |
commit | 0f674879c678ac6d0fd9096129b738bdb4ad6387 (patch) | |
tree | 0ad5ba0385111da9a04802760ec7c1dd0029e2fc /scripts/ci | |
parent | 285791ad32319b7f95809e6795dfe837089f6d7a (diff) |
Compile Bazel with -c opt when bootstrapping
So release are build with -c opt
Fixes #3340.
Change-Id: I455b5c2a53be5fb8fb39e247a849058f19d1d884
PiperOrigin-RevId: 167266776
Diffstat (limited to 'scripts/ci')
-rw-r--r-- | scripts/ci/bootstrap.json | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/scripts/ci/bootstrap.json b/scripts/ci/bootstrap.json index 0354218b07..8ce7b926be 100644 --- a/scripts/ci/bootstrap.json +++ b/scripts/ci/bootstrap.json @@ -23,7 +23,8 @@ "//site:jekyll-tree", "//src/tools/benchmark/webapp:site" ] - } + }, + "opts": ["-c opt"] }, { "node": "ubuntu_16.04-x86_64", "variation": "" }, { @@ -40,7 +41,8 @@ "{} +" ], "archive": {"bazel-bin/src/bazel": "bazel"} - } + }, + "opts": ["-c opt"] }, { "variation": "", @@ -56,7 +58,8 @@ "{} +" ], "archive": {"bazel-bin/src/bazel": "bazel"} - } + }, + "opts": ["-c opt"] }, { "variation": "", @@ -72,7 +75,10 @@ ], // TODO(dmarting): Do we still needs that? this could be done as an external repo // instead. - "opts": ["--define IPHONE_SDK=1"] + "opts": [ + "--define IPHONE_SDK=1", + "-c opt" + ] } }, // TODO(dmarting): windows build zip with "zip -j", add it to //packages @@ -90,6 +96,7 @@ "//scripts/packages" ], "opts": [ + "-c opt", "--copt=-w", "--host_copt=-w" ] |