File tree 2 files changed +36
-2
lines changed
2 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 7d741d69cb05a30a0baec3d6058239f3397fd5ca
2
+ refs/heads/master: 1a052747381a490fcb721b95f9a7a5add779c54a
Original file line number Diff line number Diff line change @@ -425,7 +425,8 @@ for i in \
425
425
nd nd/std \
426
426
dl \
427
427
test/run-pass test/run-fail test/compile-fail \
428
- test/bench test/perf test/pretty
428
+ test/bench test/perf test/pretty \
429
+ llvm/build llvm/install
429
430
do
430
431
make_dir $i
431
432
done
466
467
done
467
468
done
468
469
470
+
471
+ # Configure submodules
472
+ step_msg " configuring submodules"
473
+
474
+ # Have to be in the top of src directory for this
475
+ cd ${CFG_SRC_DIR}
476
+
477
+ SUBMODULE_STATUS=$( " ${CFG_GIT} " submodule status)
478
+ NEED_INIT_COUNT=$( echo " $SUBMODULE_STATUS " | grep -c " ^-" )
479
+ NEED_UPDATE_COUNT=$( echo " $SUBMODULE_STATUS " | grep -c " ^+" )
480
+ NEED_INIT=$( test $NEED_INIT_COUNT -gt 0) $?
481
+ NEED_UPDATE=$( test " ($NEED_INIT )" -o " $NEED_UPDATE_COUNT " -gt 0) $?
482
+
483
+ if [ $NEED_INIT ]
484
+ then
485
+ msg " git: submodule init"
486
+ ${CFG_GIT} submodule init --quiet
487
+ fi
488
+
489
+ if [ $NEED_UPDATE ]
490
+ then
491
+ msg " git: submodule update"
492
+ ${CFG_GIT} submodule update --quiet
493
+ fi
494
+
495
+ cd ${CFG_BUILD_DIR}
496
+
497
+ msg
498
+
499
+
500
+ # Configure llvm
501
+
502
+
469
503
copy ${CFG_SRC_DIR} Makefile.in ./Makefile
470
504
471
505
step_msg " complete"
You can’t perform that action at this time.
0 commit comments