aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
authorGravatar Liam Miller-Cushon <cushon@google.com>2018-06-18 09:29:52 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-18 09:31:07 -0700
commit7c49bd9c73385db84e678469aa7e6a5bb801c28a (patch)
treee013769399d9038a874e509acd1d61f594b90789 /compile.sh
parent29a7e0579aa7ff3633e92c3c9de06c878b1d14c7 (diff)
Make the embedded JDK targets the default
Closes #5403. PiperOrigin-RevId: 201007405
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 48359e3777..ed506d28c2 100755
--- a/compile.sh
+++ b/compile.sh
@@ -92,11 +92,11 @@ display "."
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}" \
+bazel_build "src:bazel_nojdk${EXE_EXT}" \
--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}"
+bazel_bin_path="$(get_bazel_bin_path)/src/bazel_nojdk${EXE_EXT}"
[ -e "$bazel_bin_path" ] \
|| fail "Could not find freshly built Bazel binary at '$bazel_bin_path'"
cp -f "$bazel_bin_path" "output/bazel${EXE_EXT}" \