-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Support cross compilation of docc in macOS toolchain builds
#62306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
|
swiftlang/swift-docc#434 |
1 similar comment
|
swiftlang/swift-docc#434 |
|
This seems to resolve the issue: |
|
swiftlang/swift-docc#434 |
|
@swift-ci please smoke test |
|
swiftlang/swift-docc#434 |
|
swiftlang/swift-docc#434 |
|
swiftlang/swift-docc#434 |
|
swiftlang/swift-docc#434 |
|
swiftlang/swift-docc#434 |
…g#62306)" This reverts commit a36ab6e. The change to support cross compilation of `docc` in macOS toolchains is breaking nightly toolchain builds – this will unblock them. It looks like the `--test-product` option Swift-DocC's build script passes to SwiftPM is supported when building for multiple architectures but not when testing. PR toolchain builds don't run tests which is why this wasn't caught before merging. Resolves rdar://102908495
…#62369) This reverts commit a36ab6e. The change to support cross compilation of `docc` in macOS toolchains is breaking nightly toolchain builds – this will unblock them. It looks like the `--test-product` option Swift-DocC's build script passes to SwiftPM is supported when building for multiple architectures but not when testing. PR toolchain builds don't run tests which is why this wasn't caught before merging. Resolves rdar://102908495
…wiftlang#62306)"" This reverts commit c57f491.
Resolves swiftlang/swift-docc#433.
Updates the build script used in SwiftCI for building the
doccexecutable as part of Swift.org toolchains to support cross compilation.Currently the
doccexecutable included in the otherwise universal macOS toolchain only supports x86_64. This resolves the issue.