Add 'latest-fastcomp' sdk (#200)
* add a 'fastcomp' sdk, which provides fastcomp from the waterfall * fix * fix * fix? * fix * fix * fix * logging * fix? * cleanup
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -9,13 +9,21 @@ RUN cd /root/ \
|
||||
&& echo "int main() {}" > hello_world.cpp \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y python cmake build-essential openjdk-9-jre-headless \
|
||||
&& /root/emsdk/emsdk update-tags \
|
||||
&& echo "test latest" \
|
||||
&& /root/emsdk/emsdk install latest \
|
||||
&& /root/emsdk/emsdk activate latest \
|
||||
&& source /root/emsdk/emsdk_env.sh --build=Release \
|
||||
&& emcc hello_world.cpp \
|
||||
&& /root/emsdk/emsdk update-tags \
|
||||
&& echo "test upstream (waterfall)" \
|
||||
&& /root/emsdk/emsdk install latest-upstream \
|
||||
&& /root/emsdk/emsdk activate latest-upstream \
|
||||
&& source /root/emsdk/emsdk_env.sh --build=Release \
|
||||
&& emcc hello_world.cpp -s WASM_OBJECT_FILES=1
|
||||
&& emcc hello_world.cpp -s WASM_OBJECT_FILES=1 \
|
||||
&& echo "test fastcomp (waterfall)" \
|
||||
&& /root/emsdk/emsdk install latest-fastcomp \
|
||||
&& /root/emsdk/emsdk activate latest-fastcomp \
|
||||
&& source /root/emsdk/emsdk_env.sh --build=Release \
|
||||
&& emcc hello_world.cpp \
|
||||
&& emcc hello_world.cpp -s WASM=0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user