-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Revisit --enable_runfiles #9248
Copy link
Copy link
Closed
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Remote-ExecIssues and PRs for the Execution (Remote) teamIssues and PRs for the Execution (Remote) teamtype: feature request
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Remote-ExecIssues and PRs for the Execution (Remote) teamIssues and PRs for the Execution (Remote) teamtype: feature request
The flags
--build_runfile_manifestsand--build_runfile_linksgovern whether runfile manifests and runfile trees should be created at the time of building a binary.bazel run/testhas extra logic to create runfile trees on-demand if--nobuild_runfile_linksis set. This is where--enable_runfilescomes in. It disables any runfile trees creation and instead only copies the input manifest to the output manifest.--test_runfile_linkswhich enables/disables the symlink tree creation forbazel run/test. On Windows, both--build_runfile_linksand--test_runfile_linkswould be disabled by default.--nobuild_runfile_linksit also copies the input manifest to the output manifest. This is unnecessary and can be slow.--enable_runfileschanges #9150@meteorcloudy @laszlocsomor