We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c86951 commit cdccb99Copy full SHA for cdccb99
1 file changed
install.sh
@@ -656,7 +656,16 @@ chmod u+x $RUN_FPM_SH
656
# for backwards-compatibility of instructions/scripting:
657
( cd build && ln -f -s ../$RUN_FPM_SH run-fpm.sh )
658
659
-./$RUN_FPM_SH build $VERBOSE
+./$RUN_FPM_SH build $VERBOSE || \
660
+( set +x
661
+ echo "Defect reporting information:"
662
+ ./$RUN_FPM_SH info
663
+ echo
664
+ echo Oh no, the Caffeine build appears to have failed!
665
+ echo Please paste the ENTIRE output above into a new issue here:
666
+ echo " https://github.com/berkeleylab/caffeine/issues"
667
+ exit 1
668
+)
669
670
LIBCAFFEINE_DST=libcaffeine-$GASNET_CONDUIT-$GASNET_THREADMODE.a
671
LIBCAFFEINE_SRC=$(./$RUN_FPM_SH install --list 2>/dev/null | grep libcaffeine | cut -d' ' -f2)
0 commit comments