3
0
mirror of https://github.com/triqs/dft_tools synced 2025-01-03 10:05:49 +01:00

[cmake] Make sure to generate 'make VERBOSE=1' output on build failure

This commit is contained in:
Nils Wentzell 2020-06-09 10:40:37 -04:00
parent 4139230849
commit acd88f1a62

View File

@ -10,6 +10,6 @@ WORKDIR $BUILD/$APPNAME
RUN chown build .
USER build
ARG BUILD_DOC=0
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} -DBuild_Documentation=${BUILD_DOC} && make -j2
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} -DBuild_Documentation=${BUILD_DOC} && make -j2 || make -j1 VERBOSE=1
USER root
RUN make install