Skip to content

Conversation

@ethan-kusters
Copy link
Contributor

Bug/issue #, if applicable: closes #433

Summary

Updates the build script used in SwiftCI for building the docc executable as part of Swift.org toolchains to support cross compilation.

Currently the docc executable included in the otherwise universal macOS toolchain only supports x86_64. This resolves the issue.

Updates the build script used in SwiftCI for building the `docc`
executable as part of Swift.org toolchains to support cross compilation.

Currently the `docc` executable included in the otherwise universal
macOS toolchain only supports x86_64. This resolves the issue.
The bin path is different when building for multiple architectures
so we need to pass the complete swiftpm args we use during a full build
when requesting the bin path instead of a custom set.
@ethan-kusters
Copy link
Contributor Author

@swift-ci please test

@ethan-kusters ethan-kusters marked this pull request as ready for review November 30, 2022 21:46
@ethan-kusters
Copy link
Contributor Author

The macOS toolchain attached to swiftlang/swift#62306 now includes a universal docc executable.

@ethan-kusters
Copy link
Contributor Author

@swift-ci please test

@ethan-kusters
Copy link
Contributor Author

@swift-ci please test

@ethan-kusters ethan-kusters merged commit 83c230f into swiftlang:main Dec 1, 2022
@ethan-kusters ethan-kusters deleted the ekusters/support-cross-compilation branch December 1, 2022 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5.8 nightlies ship x86 only docc binary

4 participants