Install with latest boost, not the issue (other project compiles)
This commit is contained in:
parent
c75191e096
commit
1b2f685846
|
@ -12,14 +12,22 @@ RUN DEBIAN_FRONTEND=noninteractive apt install -y bash \
|
|||
automake \
|
||||
make
|
||||
|
||||
RUN cd /opt && wget https://github.com/boostorg/boost/archive/refs/tags/boost-1.37.0.tar.gz
|
||||
RUN cd /opt && tar -xf boost-1.37.0.tar.gz
|
||||
RUN cd /opt && git clone https://github.com/boostorg/boost.git boost
|
||||
RUN cd /opt/boost && git submodule update --init --recursive
|
||||
|
||||
RUN mkdir -p /opt/libboost_build
|
||||
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/
|
||||
|
||||
|
|
Loading…
Reference in New Issue