File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ CURRENT_SCHEME_FILE="$BUILD_SDK_PATH/scheme"
1111
1212install_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
2324install_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 "
You can’t perform that action at this time.
0 commit comments