File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -28,21 +28,18 @@ exit 1
28
28
set -x
29
29
}
30
30
31
- cd /
32
- curl --retry 5 -L https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz | \
33
- tar -xz
34
-
31
+ git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
35
32
cd /emsdk-portable
36
- ./emsdk update
37
- hide_output ./emsdk install 1.38.37
38
- ./emsdk activate 1.38.37
33
+ # TODO: switch to an upstream install once
34
+ # https://github.com/rust-lang/rust/pull/63649 lands
35
+ hide_output ./emsdk install 1.38.42
36
+ ./emsdk activate 1.38.42
39
37
40
38
# Compile and cache libc
41
39
# shellcheck disable=SC1091
42
40
source ./emsdk_env.sh
43
41
echo " main(){}" > a.c
44
42
HOME=/emsdk-portable/ emcc a.c
45
- HOME=/emsdk-portable/ emcc -s BINARYEN=1 a.c
46
43
rm -f a.*
47
44
48
45
# Make emsdk usable by any user
You can’t perform that action at this time.
0 commit comments