Skip to content

[bazel] Pass --build_runfile_links=false #113221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions utils/bazel/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ common --incompatible_disallow_empty_glob
# TODO: Remove once we move to bazel 7.x
build --experimental_cc_shared_library

# Disabling runfiles links drastically increases performance in slow disk IO
# situations Do not build runfile trees by default. If an execution strategy
# relies on runfile symlink tree, the tree is created on-demand. See:
# https://github.com/bazelbuild/bazel/issues/6627 and
# https://github.com/bazelbuild/bazel/commit/03246077f948f2790a83520e7dccc2625650e6df
build --build_runfile_links=false

###############################################################################
# Options to select different strategies for linking potential dependent
# libraries. The default leaves it disabled.
Expand Down
Loading