Commit 6ae005e
authored
Unify env vars for
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.Utilities/bootstrap commands (#8154)1 parent c26c12f commit 6ae005e
1 file changed
+10
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | 362 | | |
368 | 363 | | |
369 | | - | |
370 | | - | |
371 | | - | |
| 364 | + | |
372 | 365 | | |
373 | 366 | | |
374 | 367 | | |
| |||
646 | 639 | | |
647 | 640 | | |
648 | 641 | | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
| 642 | + | |
654 | 643 | | |
655 | 644 | | |
656 | 645 | | |
| |||
777 | 766 | | |
778 | 767 | | |
779 | 768 | | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
780 | 777 | | |
781 | 778 | | |
782 | 779 | | |
| |||
0 commit comments