From 1e2497a5cab0d9bba45bb69b54a5b948083f9848 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Fri, 22 Jul 2022 10:45:57 -0400 Subject: [PATCH] Successfully builds boost with limited set of libraries --- povray_wasm/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/povray_wasm/Dockerfile b/povray_wasm/Dockerfile index db927c6..6f671e5 100644 --- a/povray_wasm/Dockerfile +++ b/povray_wasm/Dockerfile @@ -15,10 +15,11 @@ RUN DEBIAN_FRONTEND=noninteractive apt install -y bash \ RUN cd /opt && git clone https://github.com/boostorg/boost.git boost RUN cd /opt/boost && git submodule update --init --recursive -RUN cd /opt/boost && ./bootstrap.sh +RUN cd /opt/boost && ./bootstrap.sh --with-libraries=system,date_time,filesystem,thread RUN cd /opt/boost && ./b2 -j4 toolset=emscripten \ - cflags="-s USE_PTHREADS=1" cxxflags="-s USE_PTHREADS=1" \ + cflags="-s USE_PTHREADS=1"\ + cxxflags="-s USE_PTHREADS=1" \ --prefix=/opt/libboost \ --build-dir=/opt/libboost_build \ link=static \