Skip to content

Commit a730896

Browse files
Michel MLMichel ML
Michel ML
authored and
Michel ML
committed
debug dockerfile
1 parent 3813b28 commit a730896

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

Dockerfile

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,15 @@ ARG BOOST_UNDERSCORE_VERSION="${BOOST_MAJOR_VERSION}_${BOOST_MINOR_VERSION}_${BO
5555
RUN wget -q https://boostorg.jfrog.io/artifactory/main/release/${BOOST_DOT_VERSION}/source/boost_${BOOST_UNDERSCORE_VERSION}.tar.gz && \
5656
tar xzf boost_${BOOST_UNDERSCORE_VERSION}.tar.gz
5757
WORKDIR /opt/boost_${BOOST_UNDERSCORE_VERSION}
58-
RUN ./bootstrap.sh --prefix=/opt/boost --with-libraries=system && \
59-
./b2 install
58+
RUN ./bootstrap.sh --prefix=/opt/boost --with-libraries=system,serialization,iostreams && \
59+
./b2 install \
60+
--with-system \
61+
--with-serialization \
62+
--with-iostreams \
63+
link=static \
64+
runtime-link=static \
65+
threading=multi \
66+
variant=release
6067

6168

6269
WORKDIR /opt
@@ -81,12 +88,24 @@ WORKDIR $RDBASE/build
8188

8289
RUN echo "source /opt/emsdk/emsdk_env.sh > /dev/null 2>&1" >> ~/.bashrc
8390
SHELL ["/bin/bash", "-c", "-l"]
84-
RUN emcmake cmake -DBoost_INCLUDE_DIR=/opt/boost/include -DRDK_BUILD_FREETYPE_SUPPORT=ON -DRDK_BUILD_MINIMAL_LIB=ON \
85-
-DRDK_BUILD_PYTHON_WRAPPERS=OFF -DRDK_BUILD_CPP_TESTS=OFF -DRDK_BUILD_INCHI_SUPPORT=ON \
86-
-DRDK_USE_BOOST_SERIALIZATION=OFF -DRDK_OPTIMIZE_POPCNT=OFF -DRDK_BUILD_THREADSAFE_SSS=OFF \
87-
-DRDK_BUILD_DESCRIPTORS3D=OFF -DRDK_TEST_MULTITHREADED=OFF \
88-
-DRDK_BUILD_MAEPARSER_SUPPORT=OFF -DRDK_BUILD_COORDGEN_SUPPORT=ON \
89-
-DRDK_BUILD_SLN_SUPPORT=OFF -DRDK_USE_BOOST_IOSTREAMS=OFF \
91+
RUN emcmake cmake -DBoost_INCLUDE_DIR=/opt/boost/include \
92+
-DBOOST_ROOT=/opt/boost \
93+
-DBoost_NO_SYSTEM_PATHS=ON \
94+
-DBoost_NO_BOOST_CMAKE=ON \
95+
-DRDK_BUILD_FREETYPE_SUPPORT=ON \
96+
-DRDK_BUILD_MINIMAL_LIB=ON \
97+
-DRDK_BUILD_PYTHON_WRAPPERS=OFF \
98+
-DRDK_BUILD_CPP_TESTS=OFF \
99+
-DRDK_BUILD_INCHI_SUPPORT=ON \
100+
-DRDK_USE_BOOST_SERIALIZATION=OFF \
101+
-DRDK_OPTIMIZE_POPCNT=OFF \
102+
-DRDK_BUILD_THREADSAFE_SSS=OFF \
103+
-DRDK_BUILD_DESCRIPTORS3D=OFF \
104+
-DRDK_TEST_MULTITHREADED=OFF \
105+
-DRDK_BUILD_MAEPARSER_SUPPORT=OFF \
106+
-DRDK_BUILD_COORDGEN_SUPPORT=ON \
107+
-DRDK_BUILD_SLN_SUPPORT=OFF \
108+
-DRDK_USE_BOOST_IOSTREAMS=OFF \
90109
-DFREETYPE_INCLUDE_DIRS=/opt/emsdk/upstream/emscripten/cache/sysroot/include/freetype2 \
91110
-DFREETYPE_LIBRARY=/opt/emsdk/upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/libfreetype.a \
92111
-DCMAKE_CXX_FLAGS="-Wno-enum-constexpr-conversion -s DISABLE_EXCEPTION_CATCHING=0" \

0 commit comments

Comments
 (0)