Skip to content

Revert "Always build SwiftDriver and use it as default compiler driver" #37114

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

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Apr 28, 2021

Reverts #36377

We need to investigate why some users are encountering with this enabled:

dyld: Library not loaded: @rpath/libSwiftDriverExecution.dylib

@artemcm
Copy link
Contributor Author

artemcm commented Apr 28, 2021

@swift-ci please smoke test

@artemcm
Copy link
Contributor Author

artemcm commented Apr 28, 2021

So far it seems to affect folks using CMake version < 3.17.

@shahmishal shahmishal merged commit 937e1a3 into main Apr 28, 2021
@shahmishal shahmishal deleted the revert-36377-NewDriverDefault branch April 28, 2021 21:54
artemcm added a commit to artemcm/swift that referenced this pull request Apr 28, 2021
…wDriverDefault"

This reverts commit 937e1a3, reversing
changes made to a5440a8.
artemcm added a commit to artemcm/swift-driver that referenced this pull request Apr 30, 2021
There are several key livability fixes in 3.17 for building Swift code.
This should prevent scenarios like this:
swiftlang/swift#37114

Where CMake `<3.17` missed setting up rpaths on the `swift-driver` executable.
artemcm added a commit that referenced this pull request May 7, 2021
Revert "Merge pull request #37114 from apple/revert-36377-NewDriverDefault"
artemcm added a commit that referenced this pull request May 7, 2021
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.

2 participants