From 5bce9b34b0969225972a3863570b3eaed4505671 Mon Sep 17 00:00:00 2001 From: "Edward J. Schwartz" Date: Fri, 6 Sep 2024 11:15:42 -0400 Subject: [PATCH] Add log groups --- scripts/build.bash | 2 ++ scripts/build_prereqs.bash | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/scripts/build.bash b/scripts/build.bash index 4ee748d5..e73fd964 100755 --- a/scripts/build.bash +++ b/scripts/build.bash @@ -8,6 +8,7 @@ NCPU="${NCPU:-1}" PREFIX="${PREFIX:-/usr/local}" # Pharos +echo ::group::Compiling Pharos cd $DIR/.. sudo ldconfig @@ -22,6 +23,7 @@ cmake -GNinja -DCMAKE_INSTALL_PREFIX=$PREFIX -DROSE_ROOT=$PREFIX \ ninja -k $NCPU -j $NCPU || true ninja -j 1 sudo ninja install +echo ::endgroup:: if [ "$1" = "-reclaim" ] then diff --git a/scripts/build_prereqs.bash b/scripts/build_prereqs.bash index 246c99cc..07f16a53 100755 --- a/scripts/build_prereqs.bash +++ b/scripts/build_prereqs.bash @@ -10,6 +10,7 @@ PREFIX="${PREFIX:-/usr/local}" # BOOST if [ "$COMPILE_BOOST" != "" ] then + echo ::group::Compiling Boost test -d boost && sudo rm -rf boost mkdir boost cd boost @@ -20,9 +21,11 @@ then ./bootstrap.sh --prefix=$PREFIX --with-libraries=system,serialization,chrono,timer,iostreams,thread,date_time,random,regex,program_options,filesystem,wave sudo ./b2 cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" -j $NCPU toolset=gcc install test "$1" = "-reclaim" && sudo rm -rf $DIR/boost + echo ::endgroup:: fi # SWI +echo ::group::Compiling SWI Prolog cd $DIR test -d swipl-devel && rm -rf swipl-devel git clone --recursive -b V8.5.12 --depth 1 https://github.com/swi-prolog/swipl-devel @@ -33,8 +36,10 @@ cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$PREFIX -DINSTALL_DOCUMENTATION=off .. ninja -v -j $NCPU sudo ninja -j $NCPU install test "$1" = "-reclaim" && rm -rf $DIR/swipl-devel +echo ::endgroup:: # Z3 +echo ::group::Compiling Z3 cd $DIR test -d z3 && rm -rf z3 @@ -46,8 +51,10 @@ cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_RULE_MESSAGES=off .. ninja -v -j $NCPU sudo ninja -j $NCPU install test "$1" = "-reclaim" && rm -rf $DIR/z3 +echo ::endgroup:: # ROSE +echo ::group::Compiling ROSE cd $DIR test -d rose && rm -rf rose @@ -73,5 +80,6 @@ ninja -v -k $NCPU -j $NCPU || true ninja -v -j1 sudo ninja -j $NCPU install test "$1" = "-reclaim" && rm -rf $DIR/rose $DIR/rose-build +echo ::endgroup:: exit 0