utils: extract `Build-SDK` helper
This creates a helper for building the SDK for a given OS/Architecture. The building of the SDK should be uniform and this ensures that we can maintain that uniformity.
This also highlights any structural changes that are being adjusted manually. The desire is to bring this to zero by gaining control over the install rules.
@swift-ci please smoke test
@swift-ci please test Windows platform
CC: @jeffdav
I was excited until I read build.ps1.. nothing for me on Ubuntu
I was excited until I read build.ps1.. nothing for me on Ubuntu
Shouldn't be too terrible to port build.ps1 to run on Ubuntu. It will require just going through and adjusting the host expectation of Windows.
@swift-ci please test Windows platform
@swift-ci please smoke test
@swift-ci please test Windows platform
Why are you maintaining a windows only file? I figured this script‘s features would be more or less the same as build-script.
Why are you maintaining a windows only file? I figured this script‘s features would be more or less the same as build-script.
build-script is not portable; it does not support the necessary setup that Windows requires (integration with VS), support for cross-compilation, doesn't do the optimized build tricks that we do for minimizing the build, nor does it handle paths properly (path limits are a serious concern on Windows).
@swift-ci please test Windows platform
Please test with following PRs: https://github.com/swiftlang/swift-installer-scripts/pull/407
@swift-ci please test Windows platform
@swift-ci please smoke test Linux platform
@swift-ci please smoke test macOS platform
@swift-ci please smoke test macOS platform
According to https://github.com/swiftlang/swift/issues/80356#issuecomment-2762465479, this might fix #80356. Is there an ETA on when this will land?
@bkhouri this needs @shahmishal or @etcwilde to approve https://github.com/swiftlang/swift-installer-scripts/pull/407, but this is ready to go otherwise.