-
Notifications
You must be signed in to change notification settings - Fork 17
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
Apply WASI support patch against ICU source tree #35
Conversation
Hi @kateinoigakukun thanks for the patch! We recently upgraded our ICU to 74 and I'll reapply your patch on top of 74 |
The original patch is still under review in the upstream ICU project, but it is needed to unblock the swift-foundation build on WebAssembly. See unicode-org/icu#3067
`U_TIMEZONE` must not be defined and dynamic loading features must be disabled for WASI target.
2deca9f
to
7a2d6bd
Compare
Reapplied my patch on the top of the latest main branch :) |
Confirmed this change does not break other platform builds swiftlang/swift-foundation#823 |
Integration test to SwiftCorelibsFoundation: swiftlang/swift-corelibs-foundation#5040 |
SwiftCorelibsFoundation and SwiftFoundation integration tests both passed! Merging now... |
* Cherry-pick "ICU-22838 Add WebAssembly/WASI cross-compilation support" The original patch is still under review in the upstream ICU project, but it is needed to unblock the swift-foundation build on WebAssembly. See unicode-org/icu#3067 * [Build] Update compile definitions for WASI target `U_TIMEZONE` must not be defined and dynamic loading features must be disabled for WASI target.
Thanks! |
* Cherry-pick "ICU-22838 Add WebAssembly/WASI cross-compilation support" The original patch is still under review in the upstream ICU project, but it is needed to unblock the swift-foundation build on WebAssembly. See unicode-org/icu#3067 * [Build] Update compile definitions for WASI target `U_TIMEZONE` must not be defined and dynamic loading features must be disabled for WASI target. Co-authored-by: Yuta Saito <[email protected]>
467631d cherry-picks ICU-22838 Add WebAssembly/WASI cross-compilation support
The original patch is still under review in the upstream ICU project, but it is needed to unblock the swift-foundation build on WebAssembly.
And also adjust CMakeLists.txt and Package.swift to disable timezone and dynamic loading features.