Skip to content

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

Merged
merged 1 commit into from
Jun 29, 2016

Conversation

compnerd
Copy link
Member

What's in this pull request?

Resolved bug number: (SR-)


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

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

Platform Comment
All supported platforms @swift-ci Please smoke test
All supported platforms @swift-ci Please smoke test and merge
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
All supported platforms @swift-ci Please test and merge
OS X platform @swift-ci Please test OS X platform
OS X platform @swift-ci Please benchmark
Linux platform @swift-ci Please test Linux platform

Lint Testing

Language Comment
Python @swift-ci Please Python lint

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.

@compnerd
Copy link
Member Author

CC @gribozavr @modocache

@gribozavr
Copy link
Contributor

Thank you! I haven't looked at the patch itself yet, but:

@swift-ci Please test

@modocache
Copy link
Contributor

modocache commented Jun 25, 2016

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}
Copy link
Member Author

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.
@compnerd
Copy link
Member Author

@swift-ci Please test

@compnerd
Copy link
Member Author

ping @gribozavr ... the failure seems unrelated, its in the SDK overlay for HomeKit on watchOS.

@gribozavr
Copy link
Contributor

@swift-ci Please test OS X platform

@gribozavr
Copy link
Contributor

Thank you! LGTM as long as CI passes.

@gribozavr gribozavr merged commit ad559f9 into swiftlang:master Jun 29, 2016
@compnerd compnerd deleted the foreign-icus branch July 3, 2016 17:14
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.

3 participants