Install with latest boost, not the issue (other project compiles)

This commit is contained in:
mmcwilliams 2021-11-10 00:38:12 -05:00
parent c75191e096
commit 1b2f685846
1 changed files with 13 additions and 5 deletions

View File

@ -12,14 +12,22 @@ RUN DEBIAN_FRONTEND=noninteractive apt install -y bash \
automake \ automake \
make make
RUN cd /opt && wget https://github.com/boostorg/boost/archive/refs/tags/boost-1.37.0.tar.gz RUN cd /opt && git clone https://github.com/boostorg/boost.git boost
RUN cd /opt && tar -xf boost-1.37.0.tar.gz RUN cd /opt/boost && git submodule update --init --recursive
RUN mkdir -p /opt/libboost_build
RUN mkdir -p /opt/libboost RUN mkdir -p /opt/libboost
RUN cd /opt && ls
RUN cd /opt/boost-boost-1.37.0 && emconfigure ./configure --prefix=/opt/libboost
RUN cd /opt/boost-boost-1.37.0 && emmake make install -j CPPFLAGS="-s USE_PTHREADS=1" cxxflags="-s USE_PTHREADS=1" RUN cd /opt/boost && ./bootstrap.sh
RUN cd /opt/boost && ./b2 -j4 toolset=emscripten \
cflags="-s USE_PTHREADS=1" cxxflags="-s USE_PTHREADS=1" \
--prefix=/opt/libboost \
--build-dir=/opt/libboost_build \
link=static \
variant=release \
threading=single \
runtime-link=static
WORKDIR /usr/src/ WORKDIR /usr/src/