projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a5a82d
)
scons: don't set default_llvm on windows unles LLVM is defined
author
Keith Whitwell
<keithw@vmware.com>
Wed, 19 May 2010 12:27:31 +0000
(13:27 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Wed, 19 May 2010 12:36:05 +0000
(13:36 +0100)
Otherwise we'll raise an error later in llvm.py
common.py
patch
|
blob
|
history
diff --git
a/common.py
b/common.py
index 742dabf4c45d38d269b5935375297c314436f14d..300e91a3766a282f526ae0a44c34833060ac41f3 100644
(file)
--- a/
common.py
+++ b/
common.py
@@
-39,7
+39,7
@@
if 'LLVM' in os.environ:
else:
default_llvm = 'no'
try:
- if subprocess.call(['llvm-config', '--version'], stdout=subprocess.PIPE) == 0:
+ if
env['platform'] != 'windows' and
subprocess.call(['llvm-config', '--version'], stdout=subprocess.PIPE) == 0:
default_llvm = 'yes'
except:
pass