swiftlang / swift-docker

Docker Official Image packaging for Swift
https://swift.org
Apache License 2.0
1.37k stars 184 forks source link

[Static Linux SDK] Build script improvements. #417

Closed al45tair closed 2 months ago

al45tair commented 2 months ago

When running on an aarch64 host, we need to download a different version of the Swift compiler in order to do the build. If we run the build on a macOS host, we also have to tell the update-checkout script to fetch all the required dependencies (even Linux-only ones).

Also tell Foundation where swift-collections lives, to avoid it fetching another copy.