Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

Build with Bazel Remote Caching enabled

Katsuya Hyodo edited this page Aug 13, 2019 · 2 revisions

Build with Bazel Remote Caching enabled

compile.sh

bazel_build "src:bazel_nojdk${EXE_EXT}" \
  --host_javabase=@local_jdk//:jdk \
  --action_env=PATH \
  --host_platform=@bazel_tools//platforms:host_platform \
  --platforms=@bazel_tools//platforms:target_platform \
  --remote_http_cache=https://xxxx \
  --google_credentials=yyyy.json \
  || fail "Could not build Bazel"
Clone this wiki locally