Commit 6fcca707 authored by David Moxey's avatar David Moxey

Enable parallel build of tutorials and documentation if possible

parent 51892bb6
......@@ -9,26 +9,26 @@ ARG BUILD_DEMOS=OFF
ARG BUILD_SOLVERS=ON
ARG INSTALL_PREFIX=/usr/local
RUN mkdir build && cd build && \
cmake \
-DNEKTAR_BUILD_DEMOS=${BUILD_DEMOS} \
-DNEKTAR_BUILD_DOC=${BUILD_DOCS} \
-DNEKTAR_BUILD_TESTS=OFF \
-DNEKTAR_BUILD_UNIT_TESTS=OFF \
-DNEKTAR_BUILD_SOLVERS=${BUILD_SOLVERS} \
-DNEKTAR_BUILD_PYTHON=ON \
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
-DNEKTAR_USE_MESHGEN=ON \
-DNEKTAR_USE_MPI=ON \
-DNEKTAR_USE_ARPACK=ON \
-DNEKTAR_USE_FFTW=ON \
-DNEKTAR_USE_HDF5=ON \
-DNEKTAR_USE_CCM=ON \
.. && \
make -j$(nproc) && \
make user-guide-pdf user-guide-html && \
make developer-guide-pdf developer-guide-html && \
make tutorials && \
RUN mkdir build && cd build && \
cmake \
-DNEKTAR_BUILD_DEMOS=${BUILD_DEMOS} \
-DNEKTAR_BUILD_DOC=${BUILD_DOCS} \
-DNEKTAR_BUILD_TESTS=OFF \
-DNEKTAR_BUILD_UNIT_TESTS=OFF \
-DNEKTAR_BUILD_SOLVERS=${BUILD_SOLVERS} \
-DNEKTAR_BUILD_PYTHON=ON \
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
-DNEKTAR_USE_MESHGEN=ON \
-DNEKTAR_USE_MPI=ON \
-DNEKTAR_USE_ARPACK=ON \
-DNEKTAR_USE_FFTW=ON \
-DNEKTAR_USE_HDF5=ON \
-DNEKTAR_USE_CCM=ON \
.. && \
make -j$(nproc) && \
make -j$(nproc) user-guide-pdf user-guide-html && \
make -j$(nproc) developer-guide-pdf developer-guide-html && \
make -j$(nproc) tutorials && \
make doc
USER root
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment