Provide boost sources from the docker image

This commit is contained in:
yulya3102 2025-02-02 23:34:45 +01:00
parent 8f32d814c8
commit 57fbda02b0
2 changed files with 5 additions and 0 deletions

View file

@ -11,6 +11,10 @@ COPY env-helper.sh .
# Source emsdk env variables when running the container
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
COPY toolchain-host.cmake .
COPY package.sh .

View file

@ -19,6 +19,7 @@ emcmake cmake \
-DPSEMEK_PACKAGE_HOST=OFF \
-DPSEMEK_PACKAGE_TARGET=ON \
-DPSEMEK_STACKTRACE=OFF \
-DBOOST_SOURCE_ROOT=/home/boost \
-DPSEMEK_PACKAGE_TOOLS_PATH=/home/tools \
-DPSEMEK_PACKAGE_COPY_FILES= \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH \