Skip to content

Commit bad59c3

Browse files
We no longer need pre-built ICU libraries
We now build ICU from source in swift-foundation-icu, so we no longer need to download pre-built ICU libraries.
1 parent c38fff2 commit bad59c3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

schemes/main/manifest.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"base-tag": "swift-DEVELOPMENT-SNAPSHOT-2024-09-18-a",
33
"build-compiler": false,
4-
"icu4c": [
5-
"https://github.com/swiftwasm/icu4c-wasi/releases/download/0.10.0/icu4c-wasm32-unknown-wasi.tar.xz",
6-
"https://github.com/swiftwasm/icu4c-wasi/releases/download/0.10.0/icu4c-wasm32-unknown-wasip1-threads.tar.xz"
7-
],
4+
"icu4c": [],
85
"libxml2": [
96
"https://github.com/swiftwasm/libxml2-wasm/releases/download/2.0.0/libxml2-wasm32-unknown-wasi.tar.gz",
107
"https://github.com/swiftwasm/libxml2-wasm/releases/download/2.0.0/libxml2-wasm32-unknown-wasip1-threads.tar.gz"

tools/build/install-build-sdk.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ CURRENT_SCHEME_FILE="$BUILD_SDK_PATH/scheme"
1111

1212
install_libxml2() {
1313
read -r -a LIBXML2_URLS <<< "$(python3 -c 'import sys, json; print(" ".join(json.load(sys.stdin)["libxml2"]))' < "$SCHEME_DIR/manifest.json")"
14+
[ -z "${LIBXML2_URLS+x}" ] && return
1415
for url in "${LIBXML2_URLS[@]}"; do
1516
curl -L "$url" | tar xz -C "$BUILD_SDK_PATH"
1617
done
@@ -22,6 +23,7 @@ install_libxml2() {
2223

2324
install_icu() {
2425
read -r -a ICU_URLS <<< "$(python3 -c 'import sys, json; print(" ".join(json.load(sys.stdin)["icu4c"]))' < "$SCHEME_DIR/manifest.json")"
26+
[ -z "${ICU_URLS+x}" ] && return
2527
rm -rf "$BUILD_SDK_PATH/icu"
2628
for url in "${ICU_URLS[@]}"; do
2729
curl -L "$url" | tar Jx -C "$BUILD_SDK_PATH"

0 commit comments

Comments
 (0)