-
Notifications
You must be signed in to change notification settings - Fork 10.5k
CMake: add option to link Swift content from Darwin toolchain #73255
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
CMake: add option to link Swift content from Darwin toolchain #73255
Conversation
@swift-ci please test |
@swift-ci please build toolchain |
@swift-ci please test WebAssembly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is rather unfortunate - these dependencies will not be tracked by the build and so the build may not always be entirely correct.
This is needed in specific Apple internal configurations -- as a result of the limited applicability, this option is not exposed through `build-script` on purpose. Addresses rdar://127014753
Thanks for understanding -- I'm not fond of these changes either, my plan is to remove those once I figure out a better long term solution. |
8a6a934
to
5f545b4
Compare
@swift-ci please test |
@swift-ci please build toolchain |
@swift-ci please test WebAssembly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit unpleasant, but it lets us make progress fixing things so we hopefully won't need it at some point and can get rid of it again.
Additional testing showed that in this scenario we need to target the toolchain at `CMAKE_Swift_COMPILER`. Expands on swiftlang#73255 Still addresses rdar://127014753
Additional testing showed that the path I initially choose does not work in all scenarios. Expands on swiftlang#73255 Still addresses rdar://127014753
Additional testing showed that the path I initially choose does not work in all scenarios. Expands on swiftlang#73255 Still addresses rdar://127014753 (cherry picked from commit 291065d)
This is a companion to swiftlang/swift#73255, and it's needed in some Apple internal configurations. Addresses rdar://127113448 (cherry picked from commit 842763b)
…8647) This is a companion to swiftlang/swift#73255, and it's needed in some Apple internal configurations. Addresses rdar://127113448
… toolchain This is a companion to swiftlang/swift#73255, and it's needed in some Apple internal configurations. Addresses rdar://127113448 (cherry picked from commit ead278f)
… toolchain This is a companion to swiftlang/swift#73255, and it's needed in some Apple internal configurations. Addresses rdar://127113448 (cherry picked from commit ead278f)
… toolchain (#8653) This is a companion to swiftlang/swift#73255, and it's needed in some Apple internal configurations. Addresses rdar://127113448 (cherry picked from commit ead278f)
This is needed in specific Apple internal configurations -- as a result of the limited applicability, this option is not exposed through
build-script
on purpose.Addresses rdar://127014753