Skip to content

Revert the bootstrap changes to copy the SwiftPM-built universal PackageDescription and PackagePlugin libraries #3540

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

abertelrud
Copy link
Contributor

This reverts the bootstrap changes and goes back to copying the CMake-built libraries instead of the SwiftPM-built ones. This means that they will be thin on macOS, built only for the architecture of the host on which they were built. This is temporary until the Xcode that is used on the builders is new enough to have the XCBuild support needed for emitting Swift module interfaces.

Motivation:

This caused toolchain build failures.

Modifications:

Revert the part of bootstrap that copies the PackageDescription and PackagePlugin so they again come from CMake. It does not do a wholesale revert of unrelated changes, since other diffs have stacked on them.

Result:

PackageDescription and PackagePlugin will again be built thin on macOS, since they will come from the CMake bootstrap build, as before. But they will have the .swiftinterface files no matter how old the Xcode is that is building the toolchain.

…ageDescription and PackagePlugin libraries

This goes back to copying the CMake-built libraries instead of the SwiftPM-built ones.  This means that they will be thin on macOS, built only for the architecture of the host on which they were built.  This is temporary until the Xcode that is used on the builders is new enough to have the XCBuild support needed for emitting Swift module interfaces.
@abertelrud
Copy link
Contributor Author

@swift-ci please test

@abertelrud
Copy link
Contributor Author

@swift please smoke test

@abertelrud abertelrud self-assigned this Jun 9, 2021
@abertelrud abertelrud added the ready Author believes the PR is ready to be merged & any feedback has been addressed label Jun 9, 2021
@abertelrud
Copy link
Contributor Author

@swift-ci please build toolchain

@abertelrud
Copy link
Contributor Author

@swift-ci please smoke test

@abertelrud
Copy link
Contributor Author

The self-hosted macOS test failure looks unrelated:

rm: /var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/0/com.apple.LaunchServices.dv: Operation not permitted

@abertelrud
Copy link
Contributor Author

@swift-ci self test macOS platform

@abertelrud
Copy link
Contributor Author

@swift-ci hosted test macOS platform

@abertelrud
Copy link
Contributor Author

@swift-ci Please smoke test macOS platform

1 similar comment
@shahmishal
Copy link
Member

@swift-ci Please smoke test macOS platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Author believes the PR is ready to be merged & any feedback has been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants