From 2d9f8f3947093e80a9bfad9ab197e2b5442e8289 Mon Sep 17 00:00:00 2001 From: Derek Cormier Date: Wed, 1 Mar 2023 12:39:30 -0800 Subject: [PATCH] enhancement: add --nobuild_runfile_links to bazelrc presets --- .aspect/bazelrc/performance.bazelrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.aspect/bazelrc/performance.bazelrc b/.aspect/bazelrc/performance.bazelrc index 9b9903abb..8705c2a6e 100644 --- a/.aspect/bazelrc/performance.bazelrc +++ b/.aspect/bazelrc/performance.bazelrc @@ -50,3 +50,8 @@ build --nolegacy_external_runfiles # In some cases you may need to patch rulesets to add a mnemonic to actions that don't have one. # https://bazel.build/reference/command-line-reference#flag--modify_execution_info build --modify_execution_info=PackageTar=+no-remote + +# Build runfiles symlink forests for binaries and tests on demand rather than at build time. +# This reduces the overhead incurred when running a binary or test isn't required. +# Docs: https://bazel.build/docs/user-manual#build-runfile-links +build --nobuild_runfile_links