Skip to content

Commit 4cafaae

Browse files
committed
fix icu and wasi url
1 parent eeeccd2 commit 4cafaae

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export PYDK_PYTHON_HOST_PLATFORM=wasm32-${WASM_FLAVOUR}-emscripten
9494
export WASI_SDK=${WASI_SDK:-23.0}
9595
export WASI_SDK_MAJOR=$(echo ${WASI_SDK}|cut -d. -f1)
9696
export WASI_SDK_MINOR=$(echo ${WASI_SDK}|cut -d. -f2)
97-
export WASI_URL=https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_MAJOR}/wasi-sdk-${WASI_SDK}-linux.tar.gz
97+
export WASI_URL=https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_MAJOR}/wasi-sdk-${WASI_SDK}-$(arch)-linux.tar.gz
9898
export WASISDK="${SDKROOT}/wasisdk"
9999

100100
export WASMTIME_HOME=$WASISDK

sources.wasm/libicu.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
. scripts/emsdk-fetch.sh
44

5-
65
cd ${ROOT}/src
76

87
if [ -d icu ]
@@ -11,6 +10,7 @@ then
1110
else
1211
wget -c https://github.com/unicode-org/icu/releases/download/release-75-1/icu4c-75_1-src.tgz
1312
tar xfz icu4c-75_1-src.tgz
13+
1414
fi
1515

1616
if [ -f $PREFIX/lib/libicui18n.a ]
@@ -35,9 +35,8 @@ else
3535
failed to build ICU
3636
3737
"
38-
exit 38
38+
exit 38
39+
fi
3940
popd
4041
fi
4142

42-
43-

0 commit comments

Comments
 (0)