-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Revisit --enable_runfiles #9248
Comments
Just to add to the list, |
Sounds like |
@laszlocsomor no. |
Ah, gotcha. They individually control runfiles link generation in build phase vs. test phase. |
Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so. |
Still relevant. |
We have made the conclusion in #18580, closing. |
The flags
--build_runfile_manifests
and--build_runfile_links
govern whether runfile manifests and runfile trees should be created at the time of building a binary.bazel run/test
has extra logic to create runfile trees on-demand if--nobuild_runfile_links
is set. This is where--enable_runfiles
comes in. It disables any runfile trees creation and instead only copies the input manifest to the output manifest.--test_runfile_links
which enables/disables the symlink tree creation forbazel run/test
. On Windows, both--build_runfile_links
and--test_runfile_links
would be disabled by default.--nobuild_runfile_links
it also copies the input manifest to the output manifest. This is unnecessary and can be slow.--enable_runfiles
changes #9150@meteorcloudy @laszlocsomor
The text was updated successfully, but these errors were encountered: