Hey everyone! Just wanted to bring to your attention a new build-script flag I added that should hopefully make everyone's lives easier. Specifically, as of https://github.com/apple/swift/pull/32256/commits/a313f62522c00e8327084820bd22dc3d2870610e one can optionally tell build-script to automatically infer dependencies. This means for instance to build swiftpm, one can now just do:
./swift/utils/build-script --infer --swiftpm
./swift/utils/build-script --build-ninja --libcxx --llbuild --swiftpm --install-swift --install-llbuild --install-swiftpm --install-libcxx '--llvm-install-components=llvm-cov;llvm-profdata;IndexStore;clang;clang-resource-headers;compiler-rt;clangd;lld' --libdispatch --libicu --foundation --xctest --install-libicu --install-foundation --install-libdispatch --install-xctest --release --assertions
Thus extending/finishing the work I talked about in: [build-script] New option: "--install-all" (one can use install-all as well, but infer yields significantly more brevity). Keep in mind this is not enabled by default on purpose since I do not have time to response very quickly to problems that come up. Instead please everyone take this out for a spin and tell me what you think.
If people have good experiences with this over the next few weeks, we should consider making this the default mode when we are not using presets (presets still will use the old mode).
I hope this saves people fingers some strain!