We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e63310 commit 4720c16Copy full SHA for 4720c16
cmake/rootcling_wrapper.sh.in
@@ -92,10 +92,12 @@ LOGFILE=${DICTIONARY_FILE}.log
92
${COMPILE_DEFINITIONS//;/ } \
93
${PCMDEPS:+-m }${PCMDEPS//;/ -m } \
94
${HEADERS//;/ } \
95
- > ${LOGFILE} 2>&1 || cat ${LOGFILE} >&2
+ > ${LOGFILE} 2>&1 || ROOTCLINGRETVAL=$?
96
97
-if [[ $? != "0" ]]; then
98
- rm $DICTIONARY_FILE
+if [[ ${ROOTCLINGRETVAL:-0} != "0" ]]; then
+ cat ${LOGFILE} >&2
99
+ rm -f $DICTIONARY_FILE
100
+ echo "ROOT CLING Dictionary generation of $DICTIONARY_FILE failed with error code $ROOTCLINGRETVAL"
101
exit 1
102
fi
103
0 commit comments