File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,16 @@ BANT="$($(dirname "$0")/get-bant-path.sh)"
1515# Important to run with --remote_download_outputs=all to make sure generated
1616# files are actually visible locally in case a remote cache (that includes
1717# --disk_cache) is used ( https://github.com/hzeller/bazel-gen-file-issue )
18- BAZEL_OPTS=" ${BAZEL_OPTS:- -c opt --remote_download_outputs=all} "
18+ BAZEL_REMOTE_MATERIALIZE=--remote_download_outputs=all
19+
20+ # Bazel options
21+ BAZEL_OPTS=" ${BAZEL_OPTS:- -c opt ${BAZEL_REMOTE_MATERIALIZE} } "
1922
2023# Tickle some build targets to fetch all dependencies and generate files,
2124# so that they can be seen by the users of the compilation db.
2225# (Note, we need to limit targets to everything below //src, otherwise
2326# it requires docker)
24- " ${BAZEL} " fetch //src/...
27+ " ${BAZEL} " fetch " ${BAZEL_REMOTE_MATERIALIZE} " //src/...
2528" ${BAZEL} " build -k ${BAZEL_OPTS} \
2629 @openmp//:omp_header \
2730 $( " ${BANT} " list-targets -g " genrule|tcl_encode|tcl_wrap_cc" -g " //src" | awk ' {print $3}' )
You can’t perform that action at this time.
0 commit comments