[31871c7] master: OSX/scons: forgot Intel CC ( ‘icc’ ) in detection Todo: perhaps unify this for all OS, but keep in mind: Apple compiler versions may have other capabilities than std gcc, llvm, clang ( other versioning also )

Jens Verwiebe noreply at git.blender.org
Sat Dec 7 18:05:44 CET 2013


Commit: 31871c763f155af05a12b049a236a19a78d6b500
Author: Jens Verwiebe
Date:   Sat Dec 7 18:05:27 2013 +0100
http://developer.blender.org/rB31871c763f155af05a12b049a236a19a78d6b500

OSX/scons: forgot Intel CC ( ‘icc’ ) in detection
Todo: perhaps unify this for all OS, but keep in mind:
Apple compiler versions may have other capabilities
than std gcc, llvm, clang ( other versioning also )

===================================================================

M	SConstruct

===================================================================

diff --git a/SConstruct b/SConstruct
index 98bb61a3..2cb215c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -304,7 +304,7 @@ if env['OURPLATFORM']=='darwin':
     ver = re.search(r'[0-9]+(\.[0-9]+)+', line)
     if ver:
         env['CCVERSION'] = ver.group(0)
-    frontend = re.search(r'gcc', line) or re.search(r'clang', line) or re.search(r'llvm-gcc', line)
+    frontend = re.search(r'gcc', line) or re.search(r'clang', line) or re.search(r'llvm-gcc', line)  or re.search(r'icc', line)
     if frontend:
         env['MACOSX_COMPILER'] = frontend.group(0)




More information about the Bf-blender-cvs mailing list