Option to use copies of input files rather than symlinks in genrule, sh_test, etc #18383
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Local-Exec
Issues and PRs for the Execution (Local) team
type: feature request
Description of the feature request:
Some tools (such as Docker) work differently when a file is symlink rather than just the file.
Bazel creates symlinks as an optimization, but sometimes this changes the behaviour of the rule.
Bazel should provide the option to disable symlinks and copy the files on a rule-basis.
What underlying problem are you trying to solve with this feature?
Make it easier to work with tools from Bazel.
Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?release 5.4.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?Have you found anything relevant by searching the web?
Maybe related: #4320
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: