[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 1e6d03ee 09/13: Print log messages before and
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 1e6d03ee 09/13: Print log messages before and after building |
Date: |
Mon, 21 Nov 2022 17:29:19 -0500 (EST) |
branch: master
commit 1e6d03eeb66a368f7d7baadbf396d4cb8be87e65
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Print log messages before and after building
---
install_msw.sh | 4 ++++
install_wx.sh | 3 +++
install_wxpdfdoc.sh | 3 +++
install_xml_libraries.sh | 4 ++++
4 files changed, 14 insertions(+)
diff --git a/install_msw.sh b/install_msw.sh
index 323e58e8..57bfea7a 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -297,6 +297,9 @@ do
return 1;
;;
esac
+
+ printf 'Building %s with %s for %s.\n' "lmi" "$LMI_COMPILER" "$LMI_TRIPLET"
+
# Set a minimal path for makefiles and scripts that are
# designed to be independent of lmi's runtime path.
export PATH="$minimal_path"
@@ -325,6 +328,7 @@ do
&& printf '\ncygcheck %s\n' "$z" && cmd /c "$CYGCHECK $z" ;
done
fi
+ printf 'Built %s with %s for %s.\n' "lmi" "$LMI_COMPILER" "$LMI_TRIPLET"
done
# GID should be the same for all files.
diff --git a/install_wx.sh b/install_wx.sh
index 8dcf4d57..a9964504 100755
--- a/install_wx.sh
+++ b/install_wx.sh
@@ -113,6 +113,7 @@ fi
mkdir --parents "$build_dir"
cd "$build_dir"
+printf 'Building %s with %s for %s.\n' "wx" "$LMI_COMPILER" "$LMI_TRIPLET"
# 'config_options' must not be double-quoted
# shellcheck disable=SC2086
"$wx_dir"/configure $config_options \
@@ -123,6 +124,8 @@ cd "$build_dir"
$MAKE
$MAKE install
+printf 'Built %s with %s for %s.\n' "wx" "$LMI_COMPILER" "$LMI_TRIPLET"
+
# autotools: 'make install' doesn't respect group permissions--see:
# https://lists.gnu.org/archive/html/automake/2019-01/msg00000.html
chmod -R g=u "$prefix"/include/wx*
diff --git a/install_wxpdfdoc.sh b/install_wxpdfdoc.sh
index 0332ca30..613d0361 100755
--- a/install_wxpdfdoc.sh
+++ b/install_wxpdfdoc.sh
@@ -100,6 +100,7 @@ fi
mkdir --parents "$build_dir"
cd "$build_dir"
+printf 'Building %s with %s for %s.\n' "wxpdfdoc" "$LMI_COMPILER"
"$LMI_TRIPLET"
# 'config_options' must not be double-quoted
# shellcheck disable=SC2086
"$wxpdfdoc_dir"/configure $config_options \
@@ -108,6 +109,8 @@ cd "$build_dir"
$MAKE
$MAKE install
+printf 'Built %s with %s for %s.\n' "wxpdfdoc" "$LMI_COMPILER" "$LMI_TRIPLET"
+
# autotools: 'make install' doesn't respect group permissions--see:
# https://lists.gnu.org/archive/html/automake/2019-01/msg00000.html
chmod -R g=u "$prefix"/include/wx*
diff --git a/install_xml_libraries.sh b/install_xml_libraries.sh
index 3a4985f0..a3e69f2e 100755
--- a/install_xml_libraries.sh
+++ b/install_xml_libraries.sh
@@ -206,6 +206,7 @@ export XML_CATALOG_FILES="$throwaway_catalog"
# Actually build ##############################################################
for lib in libxml2 libxslt; do
+ printf 'Building %s with %s for %s.\n' "$lib" "$LMI_COMPILER"
"$LMI_TRIPLET"
libdir="$srcdir/third_party/$lib"
cd "$libdir"
if [ ! -x "configure" ]; then
@@ -234,6 +235,7 @@ for lib in libxml2 libxslt; do
exit $err
fi
$MAKE install
+ printf 'Built %s with %s for %s.\n' "$lib" "$LMI_COMPILER" "$LMI_TRIPLET"
done
# Building xmlwrapp is similar, but sufficiently different to not try to fit it
@@ -241,6 +243,7 @@ done
# the similarity.
# shellcheck disable=SC2043
for lib in xmlwrapp; do
+ printf 'Building %s with %s for %s.\n' "$lib" "$LMI_COMPILER"
"$LMI_TRIPLET"
libdir="$srcdir/third_party/$lib"
# As this library doesn't have any special autogen.sh script, we can just
# always run autoreconf unconditionally (without "--force").
@@ -260,6 +263,7 @@ for lib in xmlwrapp; do
exit $err
fi
$MAKE install
+ printf 'Built %s with %s for %s.\n' "$lib" "$LMI_COMPILER" "$LMI_TRIPLET"
done
# Expunge the throwaway XML catalog.
- [lmi-commits] [lmi] master updated (b8fcdb21 -> d3d0a775), Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 7c47d71b 03/13: Perform speed test for all toolchains, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 55f92d87 02/13: Record gcc version twelve pc-linux-gnu speed for commit 5a4fcaed7, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master c6528973 06/13: Specify all '*FLAGS' in one place, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 93e400db 10/13: Avoid literal '***' in a 'set -vx' script, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 8cb31fd7 01/13: Record gcc version eleven pc-linux-gnu speed for commit 5a4fcaed7, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 1a7a1e59 12/13: Use libc++ rather than libstdc++ with clang, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master b830f9a0 04/13: Record speed measurements, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 4b6b2b5c 05/13: Split long lines that will soon become longer, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master d6c7ec7a 08/13: Build and install libraries for all toolchains, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 1e6d03ee 09/13: Print log messages before and after building,
Greg Chicares <=
- [lmi-commits] [lmi] master d3d0a775 13/13: Record speed measurements, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master cc85ea5a 11/13: Build libraries with specified toolchain, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master a60c106c 07/13: Use clang's preprocessor, Greg Chicares, 2022/11/21