feat: performance preset: nobuild_runfiles_links (#922)
* feat: performance preset: nobuild_runfiles_links * Update performance.bazelrc * chore: more docs
This commit is contained in:
parent
3a9720ec61
commit
408f76cb9a
|
@ -18,3 +18,12 @@ build --experimental_reuse_sandbox_directories
|
|||
# author.
|
||||
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
||||
build --nolegacy_external_runfiles
|
||||
|
||||
# Avoid creating a runfiles tree for binaries or tests until it is needed.
|
||||
# Docs: https://bazel.build/reference/command-line-reference#flag--build_runfile_links
|
||||
# See https://github.com/bazelbuild/bazel/issues/6627
|
||||
#
|
||||
# This may break local workflows that `build` a binary target, then run the resulting program
|
||||
# outside of `bazel run`. In those cases, the script will need to call
|
||||
# `bazel build --build_runfile_links //my/binary:target` and then execute the resulting program.
|
||||
build --nobuild_runfile_links
|
||||
|
|
Loading…
Reference in New Issue