Skip to content
Snippets Groups Projects
Unverified Commit 8c9563ed authored by Yuki Okushi's avatar Yuki Okushi
Browse files

Update emsdk version

parent a6920f9a
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
set -ex set -ex
EMSDK_VERSION=1.39.16
hide_output() { hide_output() {
set +x set +x
on_err=" on_err="
...@@ -23,8 +25,8 @@ git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable ...@@ -23,8 +25,8 @@ git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
cd /emsdk-portable cd /emsdk-portable
# FIXME: switch to an upstream install once # FIXME: switch to an upstream install once
# https://github.com/rust-lang/rust/pull/63649 lands # https://github.com/rust-lang/rust/pull/63649 lands
hide_output ./emsdk install 1.39.12 hide_output ./emsdk install "${EMSDK_VERSION}"
./emsdk activate 1.39.12 ./emsdk activate "${EMSDK_VERSION}"
# Compile and cache libc # Compile and cache libc
# shellcheck disable=SC1091 # shellcheck disable=SC1091
...@@ -34,7 +36,6 @@ HOME=/emsdk-portable/ emcc a.c ...@@ -34,7 +36,6 @@ HOME=/emsdk-portable/ emcc a.c
rm -f a.* rm -f a.*
# Make emsdk usable by any user # Make emsdk usable by any user
cp /root/.emscripten /emsdk-portable
chmod a+rxw -R /emsdk-portable chmod a+rxw -R /emsdk-portable
# node 8 is required to run wasm # node 8 is required to run wasm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment