[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master ba67e784 2/4: Hoist invariant definitions
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master ba67e784 2/4: Hoist invariant definitions |
Date: |
Fri, 3 Mar 2023 22:02:26 -0500 (EST) |
branch: master
commit ba67e7840a99e281455d8733e382ea54eb107914
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Hoist invariant definitions
It made no sense to set these to the same values on each for-loop pass.
---
install_msw.sh | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/install_msw.sh b/install_msw.sh
index 2966bc4e..8e7bf7f0 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -69,8 +69,19 @@ case "$lmi_build_type" in
;;
esac
+# Set a minimal path for makefiles and scripts that are designed
+# to be independent of lmi's runtime path.
export PATH="$minimal_path"
+# Add ccache's symlinks directory because that's the least awful
+# way to get ccache to work with autotools--see:
+# https://lists.nongnu.org/archive/html/lmi/2023-02/msg00027.html
+autotooled_path=/usr/lib/ccache:"$minimal_path"
+# and use a separate cache directory so that by default
+# ccache --show-stats -vv
+# shows the outcome of lmi's more careful method.
+autotooled_cache=/srv/cache_for_lmi/ccache_autotooled
+
# '--jobs=': big benefit for multicore (but can be overridden).
# '--output-sync=recurse' is used passim to facilitate log comparison.
if [ -z "$coefficiency" ]
@@ -300,19 +311,6 @@ do
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"
-
-# Add ccache's symlinks directory because that's the least awful
-# way to get ccache to work with autotools--see:
-# https://lists.nongnu.org/archive/html/lmi/2023-02/msg00027.html
-autotooled_path=/usr/lib/ccache:"$minimal_path"
-# and use a separate cache directory so that by default
-# ccache --show-stats -vv
-# shows the outcome of lmi's more careful method.
-autotooled_cache=/srv/cache_for_lmi/ccache_autotooled
-
CCACHE_DIR="$autotooled_cache" PATH="$autotooled_path"
./install_xml_libraries.sh
CCACHE_DIR="$autotooled_cache" PATH="$autotooled_path" ./install_wx.sh