Set up build/packaging infra for web builds #1
2 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,10 @@ COPY env-helper.sh .
|
||||||
# Source emsdk env variables when running the container
|
# Source emsdk env variables when running the container
|
||||||
ENTRYPOINT ["/home/env-helper.sh"]
|
ENTRYPOINT ["/home/env-helper.sh"]
|
||||||
|
|
||||||
|
# Install Boost sources
|
||||||
|
WORKDIR /home
|
||||||
|
RUN git clone --recurse-submodules --branch boost-1.87.0 https://github.com/boostorg/boost.git
|
||||||
|
|
||||||
# Install toolchain file & main packaging script
|
# Install toolchain file & main packaging script
|
||||||
COPY toolchain-host.cmake .
|
COPY toolchain-host.cmake .
|
||||||
COPY package.sh .
|
COPY package.sh .
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ emcmake cmake \
|
||||||
-DPSEMEK_PACKAGE_HOST=OFF \
|
-DPSEMEK_PACKAGE_HOST=OFF \
|
||||||
-DPSEMEK_PACKAGE_TARGET=ON \
|
-DPSEMEK_PACKAGE_TARGET=ON \
|
||||||
-DPSEMEK_STACKTRACE=OFF \
|
-DPSEMEK_STACKTRACE=OFF \
|
||||||
|
-DBOOST_SOURCE_ROOT=/home/boost \
|
||||||
-DPSEMEK_PACKAGE_TOOLS_PATH=/home/tools \
|
-DPSEMEK_PACKAGE_TOOLS_PATH=/home/tools \
|
||||||
-DPSEMEK_PACKAGE_COPY_FILES= \
|
-DPSEMEK_PACKAGE_COPY_FILES= \
|
||||||
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH \
|
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue