-
Notifications
You must be signed in to change notification settings - Fork 10.5k
build: support having more than one ICU in use #3205
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
Thank you! I haven't looked at the patch itself yet, but: @swift-ci Please test |
This is an awesome change, thank you! The Android build also continues to work with these changes. |
@@ -24,6 +22,7 @@ add_swift_library(swiftStdlibStubs OBJECT_LIBRARY TARGET_LIBRARY | |||
UnicodeExtendedGraphemeClusters.cpp.gyb | |||
${swift_stubs_objc_sources} | |||
${swift_stubs_unicode_normalization_sources} | |||
TARGET_SDKS ${SWIFT_SDKS} |
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.
Pretty sure that this hunk is bogus. It is already a TARGET_LIBRARY
, so I dont see why this needs TARGET_SDKS
as well. Thoughts @gribozavr?
This allows us to cross-compile the standard library to foreign targets on a single host. The ICU dependencies can be specified on the command line on a per-target basis. If one is not specified, we fall back to the default search path and use that for the other targets. Special thanks to Dimitri Gribenko for the various hints in getting this wired up.
@swift-ci Please test |
ping @gribozavr ... the failure seems unrelated, its in the SDK overlay for HomeKit on watchOS. |
@swift-ci Please test OS X platform |
Thank you! LGTM as long as CI passes. |
What's in this pull request?
Resolved bug number: (SR-)
Before merging this pull request to apple/swift repository:
Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
Validation Testing
Lint Testing
Note: Only members of the Apple organization can trigger swift-ci.
This allows us to cross-compile the standard library to foreign targets on a
single host. The ICU dependencies can be specified on the command line on a
per-target basis. If one is not specified, we fall back to the default search
path and use that for the other targets.
Special thanks to Dimitri Gribenko for the various hints in getting this wired
up.