lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 7ea5165 2/3: Build potentially more than one


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7ea5165 2/3: Build potentially more than one architecture
Date: Sat, 20 Apr 2019 18:57:14 -0400 (EDT)

branch: master
commit 7ea51651e7a4833b6c33f03df8e169d3f9db0f10
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Build potentially more than one architecture
    
    Even though only one architecture is built at present, it is useful to
    segregate architecture-dependent from architecture-independent steps,
    and to place the former in a for-loop, so that by changing only the
    loop's 'in' list multiple architectures can efficiently and reliably be
    built from scratch by running this one script.
---
 install_msw.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/install_msw.sh b/install_msw.sh
index f335c77..41b9331 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -195,7 +195,10 @@ fi
 make $coefficiency --output-sync=recurse -f install_miscellanea.make clobber
 make $coefficiency --output-sync=recurse -f install_miscellanea.make
 
-export LMI_HOST=i686-w64-mingw32
+# This for-loop can iterate over as many architectures as desired.
+export LMI_HOST
+for LMI_HOST in i686-w64-mingw32;
+do
 
 make $coefficiency --output-sync=recurse -f install_libxml2_libxslt.make
 
@@ -222,6 +225,8 @@ then
       done
 fi
 
+done
+
 # To regenerate authentication files:
 # cd /opt/lmi/data
 # printf '2450449 2472011'             >expiry



reply via email to

[Prev in Thread] Current Thread [Next in Thread]