aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
authorGravatar jcater <jcater@google.com>2017-12-04 13:58:25 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-12-04 14:00:02 -0800
commit349595443e5456a852b09f04f6e732b3c7a6c860 (patch)
tree4705907e4f785e8f3aba6974a69c2b963ab7f1c2 /compile.sh
parent8bec8dd9096d090fd16da405e90125ae04da4c9b (diff)
Platform options are no longer experimental.
RELNOTES: The --host_platform and --platform flags are no longer experimental. PiperOrigin-RevId: 177863761
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.sh b/compile.sh
index 076dd2492a..8a8a584dda 100755
--- a/compile.sh
+++ b/compile.sh
@@ -86,8 +86,8 @@ log "Building output/bazel"
# We set host and target platform directly since the defaults in @bazel_tools
# have not yet been generated.
bazel_build "src:bazel${EXE_EXT}" \
- --experimental_host_platform=//tools/platforms:host_platform \
- --experimental_platforms=//tools/platforms:target_platform \
+ --host_platform=//tools/platforms:host_platform \
+ --platforms=//tools/platforms:target_platform \
|| fail "Could not build Bazel"
bazel_bin_path="$(get_bazel_bin_path)/src/bazel${EXE_EXT}"
[ -e "$bazel_bin_path" ] \