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 b532812 commit c74d5ceCopy full SHA for c74d5ce
configure
@@ -19,6 +19,12 @@ err() {
19
exit 1
20
}
21
22
+need_ok() {
23
+ if [ $? -ne 0 ]
24
+ then
25
+ err $1
26
+ fi
27
+}
28
29
need_cmd() {
30
if which $1 >/dev/null 2>&1
@@ -441,12 +447,14 @@ if [ $NEED_INIT ]
441
447
then
442
448
msg "git: submodule init"
443
449
"${CFG_GIT}" submodule init --quiet
450
+ need_ok "git failed"
444
451
fi
445
452
446
453
if [ $NEED_UPDATE ]
454
455
msg "git: submodule update"
456
"${CFG_GIT}" submodule update --quiet
457
458
459
460
cd ${CFG_BUILD_DIR}
@@ -534,6 +542,7 @@ do
534
542
${CFG_BUILD_DIR}/${CFG_LLVM_SRC_DIR}/configure $LLVM_FLAGS
535
543
;;
536
544
esac
545
+ need_ok "LLVM configure failed"
537
546
cd $CFG_BUILD_DIR
538
547
else
539
548
LLVM_BUILD_DIR=
0 commit comments