We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 619f117 commit ae0d739Copy full SHA for ae0d739
.gitignore
@@ -0,0 +1,2 @@
1
+*.swp
2
+test-*
Dockerfile
@@ -16,3 +16,12 @@ RUN wget https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4
16
rm cmake_install.sh
17
18
ENV PATH="/emsdk:/emsdk/upstream/emscripten:/cmake/bin:${PATH}"
19
+
20
+# Prebuilding system libraries so that we don't have to do it again in each use case.
21
+RUN mkdir test-bar && \
22
+ touch test-bar/foo.c && \
23
+ cd test-bar && \
24
+ /emsdk/upstream/emscripten/emcc --use-port=zlib -pthread --bind foo.c -o alpha && \
25
+ /emsdk/upstream/emscripten/emcc --use-port=zlib -pthread --bind -O3 foo.c -o bravo && \
26
+ cd ../ && \
27
+ rm -rf test-bar
0 commit comments