You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unify env vars for Utilities/bootstrap commands (#8154)
This is a prerequisite for enabling incremental builds when running
`./Utillities/bootstrap build --release` and `./Utilities/bootstrap test
--release` in a sequence.
### Motivation:
Environment variables passed to `swift-bootstrap` from
`./Utilities/bootstrap build` and `./Utilities/bootstrap test` commands
unnecessarily differed slightly, which caused generated build manifests
to be different. This precluded incremental builds when running these
commands in a sequence one after each other, slowing down our CI jobs.
### Modifications:
Moved env var computation logic to the existing `get_swiftpm_env_cmd`
function in `Utilities/bootstrap`.
### Result:
`swift-bootstrap` is consistently called with the same environment
variables, ensuring that generated build manifests can be the same,
eventually enabling incremental builds.
0 commit comments