diff options
author | John Cater <jcater@google.com> | 2018-03-19 08:51:46 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-19 08:53:02 -0700 |
commit | 32c5add2088f58560131a70b670566bc5f7efa7d (patch) | |
tree | 521fe133ed9b69a17ad1adfe90caef02095691ed /compile.sh | |
parent | 9b8e9feaec3568ccb76787c3f0df5d80cc4a894f (diff) |
Update the distfile compile scripts to create a valid embedded tools
repository.
Closes #4860.
Change-Id: I1689fee013d031253d5e55343be174aaa6e638c1
PiperOrigin-RevId: 189588855
Diffstat (limited to 'compile.sh')
-rwxr-xr-x | compile.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.sh b/compile.sh index 31bb9c4f1c..48359e3777 100755 --- a/compile.sh +++ b/compile.sh @@ -93,8 +93,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}" \ - --host_platform=//tools/platforms:host_platform \ - --platforms=//tools/platforms:target_platform \ + --host_platform=@bazel_tools//platforms:host_platform \ + --platforms=@bazel_tools//platforms:target_platform \ || fail "Could not build Bazel" bazel_bin_path="$(get_bazel_bin_path)/src/bazel${EXE_EXT}" [ -e "$bazel_bin_path" ] \ |