[llvm-commits] [LNT] r167240 - /lnt/trunk/lnt/testing/util/compilers.py

Bob Wilson bob.wilson at apple.com
Thu Nov 1 11:26:17 PDT 2012


Author: bwilson
Date: Thu Nov  1 13:26:16 2012
New Revision: 167240

URL: http://llvm.org/viewvc/llvm-project?rev=167240&view=rev
Log:
Update to recognize 'Apple LLVM' as a compiler name.

Modified:
    lnt/trunk/lnt/testing/util/compilers.py

Modified: lnt/trunk/lnt/testing/util/compilers.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/testing/util/compilers.py?rev=167240&r1=167239&r2=167240&view=diff
==============================================================================
--- lnt/trunk/lnt/testing/util/compilers.py (original)
+++ lnt/trunk/lnt/testing/util/compilers.py Thu Nov  1 13:26:16 2012
@@ -113,11 +113,11 @@
             cc_src_tag, = m.groups()
         else:
             error('unable to determine gcc build version: %r' % cc_build_string)
-    elif (cc_name in ('clang', 'Apple clang') and
+    elif (cc_name in ('clang', 'Apple clang', 'Apple LLVM') and
           (cc_extra == '' or 'based on LLVM' in cc_extra or
            (cc_extra.startswith('(') and cc_extra.endswith(')')))):
         llvm_capable = True
-        if cc_name == 'Apple clang':
+        if cc_name == 'Apple clang' or cc_name == 'Apple LLVM':
             cc_norm_name = 'apple_clang'
         else:
             cc_norm_name = 'clang'





More information about the llvm-commits mailing list