gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2554-g8972aa


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2554-g8972aa3
Date: Tue, 25 Apr 2017 23:47:17 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, master has been updated
       via  8972aa34f007e12c3eb3270b79d39403d80a542f (commit)
      from  2b1f49035b8a849c718399ff6780d7600dc517a3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=8972aa34f007e12c3eb3270b79d39403d80a542f

commit 8972aa34f007e12c3eb3270b79d39403d80a542f
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Apr 26 06:47:01 2017 +0300

    Improvements to test-build.sh.

diff --git a/helpers/ChangeLog b/helpers/ChangeLog
index df0741c..ce3fd9c 100644
--- a/helpers/ChangeLog
+++ b/helpers/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-26         Arnold D. Robbins     <address@hidden>
+
+       * test-build.sh: Allow override of compiler lists. Print
+       out path to current compiler. Thanks to Michal Jaegermann
+       <address@hidden> for the suggestions.
+
 2017-04-24         Arnold D. Robbins     <address@hidden>
 
        * test-build.sh: New file.
diff --git a/helpers/test-build.sh b/helpers/test-build.sh
index ce4aab5..3ed20ec 100755
--- a/helpers/test-build.sh
+++ b/helpers/test-build.sh
@@ -1,7 +1,7 @@
-#! /bin/sh
+#! /bin/bash
 
-MIXED_COMPILERS="gcc /usr/gcc/bin/gcc clang"
-OTHER_COMPILERS="tcc pcc"
+MIXED_COMPILERS=${MIXED_COMPILERS:-gcc /usr/gcc/bin/gcc clang}
+OTHER_COMPILERS=${OTHER_COMPILERS:-tcc pcc}
 
 rm -f compile-results.txt
 
@@ -16,12 +16,15 @@ compile () {
 }
 
 configure_and_compile () {
-       for j in "" --disable-mpfr
-       do
-               ./configure $j CC="$1"
-               compile "$1" "$j"
-       done
-       make distclean
+       if type -p $1 >> compile-results.txt 2>&1
+       then
+               for j in "" --disable-mpfr
+               do
+                       ./configure $j CC="$1"
+                       compile "$1" "$j"
+                       make distclean
+               done
+       fi
 }
 
 (make distclean)

-----------------------------------------------------------------------

Summary of changes:
 helpers/ChangeLog     |  6 ++++++
 helpers/test-build.sh | 21 ++++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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