[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-commits
Subject:    [Sbcl-commits] master: tests: Use cc by default, not gcc.
From:       "stassats" <stassats () users ! sourceforge ! net>
Date:       2014-03-22 13:20:07
Message-ID: E1WRLqO-0002tE-H9 () sfs-ml-1 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

The branch "master" has been updated in SBCL:
       via  6c3ae0c21e7045684a295e6f12307b3eca030025 (commit)
      from  f02bee325920166b69070e4735a8a3f295f8edfd (commit)

- Log -----------------------------------------------------------------
commit 6c3ae0c21e7045684a295e6f12307b3eca030025
Author: Stas Boukarev <stassats@gmail.com>
Date:   Sat Mar 22 17:19:51 2014 +0400

    tests: Use cc by default, not gcc.
---
 tests/run-compiler.sh |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/tests/run-compiler.sh b/tests/run-compiler.sh
index 068b538..33fda47 100755
--- a/tests/run-compiler.sh
+++ b/tests/run-compiler.sh
@@ -2,9 +2,12 @@
 
 platform="${SBCL_SOFTWARE_TYPE}-${SBCL_MACHINE_TYPE}"
 
-if [ -z "$CC" ]
-then
-    CC=gcc
+if [ -z $CC ]; then
+    if [ -x "`which cc`" ]; then
+        CC=cc
+    else
+        CC=gcc
+    fi
 fi
 
 args=

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


hooks/post-receive
-- 
SBCL

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Sbcl-commits mailing list
Sbcl-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic