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