mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
browser-asmjs: Update to Emscripten to 1.33.0.
This commit is contained in:
parent
58f007910a
commit
539fee51a9
@ -8,17 +8,17 @@ RUN curl -sL https://deb.nodesource.com/setup | bash - && \
|
||||
nodejs \
|
||||
python2.7
|
||||
|
||||
# Todo: use master after the CMake patches have been merged
|
||||
ENV EMSCRIPTEN_VERSION 1.33.0
|
||||
RUN cd /usr && \
|
||||
curl -L https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz | tar xz && \
|
||||
cd ./emsdk_portable && \
|
||||
./emsdk update && \
|
||||
./emsdk install -j$(nproc) --build=Release sdk-incoming-64bit && \
|
||||
./emsdk activate --build=Release sdk-incoming-64bit && \
|
||||
./emsdk install -j$(nproc) --build=Release sdk-master-64bit && \
|
||||
./emsdk activate --build=Release sdk-master-64bit && \
|
||||
find . -name "*.o" -exec rm {} \; && \
|
||||
find . -name "*.a" -exec rm {} \; && \
|
||||
find . -name "*.tmp" -exec rm {} \;
|
||||
|
||||
ENV PATH /usr/emsdk_portable:/usr/emsdk_portable/clang/fastcomp/build_incoming_64/bin:/usr/emsdk_portable/emscripten/incoming:${PATH}
|
||||
ENV PATH /usr/emsdk_portable:/usr/emsdk_portable/clang/fastcomp/build_master_64/bin:/usr/emsdk_portable/emscripten/master:${PATH}
|
||||
|
||||
ENV CMAKE_TOOLCHAIN_FILE /usr/emsdk_portable/emscripten/incoming/cmake/Modules/Platform/Emscripten.cmake
|
||||
ENV CMAKE_TOOLCHAIN_FILE /usr/emsdk_portable/emscripten/master/cmake/Modules/Platform/Emscripten.cmake
|
||||
|
Loading…
Reference in New Issue
Block a user