Provide boost sources from the docker image
This commit is contained in:
parent
8f32d814c8
commit
57fbda02b0
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
|
||||
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 .
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue