File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
+ EMSDK_VERSION=1.39.16
6
+
5
7
hide_output () {
6
8
set +x
7
9
on_err="
@@ -23,8 +25,8 @@ git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
23
25
cd /emsdk-portable
24
26
# FIXME: switch to an upstream install once
25
27
# https://github.com/rust-lang/rust/pull/63649 lands
26
- hide_output ./emsdk install 1.39.12
27
- ./emsdk activate 1.39.12
28
+ hide_output ./emsdk install " ${EMSDK_VERSION} "
29
+ ./emsdk activate " ${EMSDK_VERSION} "
28
30
29
31
# Compile and cache libc
30
32
# shellcheck disable=SC1091
@@ -34,7 +36,6 @@ HOME=/emsdk-portable/ emcc a.c
34
36
rm -f a.*
35
37
36
38
# Make emsdk usable by any user
37
- cp /root/.emscripten /emsdk-portable
38
39
chmod a+rxw -R /emsdk-portable
39
40
40
41
# node 8 is required to run wasm
You can’t perform that action at this time.
0 commit comments