Skip to content

Commit

Permalink
fix icu and wasi url
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Jul 30, 2024
1 parent eeeccd2 commit 4cafaae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export PYDK_PYTHON_HOST_PLATFORM=wasm32-${WASM_FLAVOUR}-emscripten
export WASI_SDK=${WASI_SDK:-23.0}
export WASI_SDK_MAJOR=$(echo ${WASI_SDK}|cut -d. -f1)
export WASI_SDK_MINOR=$(echo ${WASI_SDK}|cut -d. -f2)
export WASI_URL=https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_MAJOR}/wasi-sdk-${WASI_SDK}-linux.tar.gz
export WASI_URL=https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_MAJOR}/wasi-sdk-${WASI_SDK}-$(arch)-linux.tar.gz
export WASISDK="${SDKROOT}/wasisdk"

export WASMTIME_HOME=$WASISDK
Expand Down
7 changes: 3 additions & 4 deletions sources.wasm/libicu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

. scripts/emsdk-fetch.sh


cd ${ROOT}/src

if [ -d icu ]
Expand All @@ -11,6 +10,7 @@ then
else
wget -c https://github.com/unicode-org/icu/releases/download/release-75-1/icu4c-75_1-src.tgz
tar xfz icu4c-75_1-src.tgz

fi

if [ -f $PREFIX/lib/libicui18n.a ]
Expand All @@ -35,9 +35,8 @@ else
failed to build ICU
"
exit 38
exit 38
fi
popd
fi



0 comments on commit 4cafaae

Please sign in to comment.