summaryrefslogtreecommitdiffstats
path: root/scons/llvm.py
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-03-10 18:04:28 +0000
committerJosé Fonseca <[email protected]>2010-03-10 18:09:33 +0000
commitddb081e3edaadfefe8fdbefe6f572e1632e55942 (patch)
tree6c7f9785732506c126b3c90cf2a65599b2d2f643 /scons/llvm.py
parentdaad54f6ced3e5ec33fba0c213d5ce7eef96c2d1 (diff)
Revert "scons: Refuse to use LLVM 2.7 for now."
This reverts commit 44703217f73095c4946e06057e399e447b252576. http://www.llvm.org/bugs/show_bug.cgi?id=6429 has been fixed now. Things appear to be working reasonably so far.
Diffstat (limited to 'scons/llvm.py')
-rw-r--r--scons/llvm.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/scons/llvm.py b/scons/llvm.py
index c8e50c5916d..01eae2403a7 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -82,11 +82,6 @@ def generate(env):
print 'scons: could not determine the LLVM version from %s' % llvm_config
return
- if llvm_version >= distutils.version.LooseVersion('2.7'):
- print 'scons: Ignoring unsupported LLVM version %s' % llvm_version
- print 'scons: See http://www.llvm.org/bugs/show_bug.cgi?id=6429'
- return
-
env.Prepend(CPPPATH = [os.path.join(llvm_dir, 'include')])
env.AppendUnique(CPPDEFINES = [
'__STDC_LIMIT_MACROS',
@@ -138,11 +133,6 @@ def generate(env):
llvm_version = env.backtick('llvm-config --version').rstrip()
llvm_version = distutils.version.LooseVersion(llvm_version)
- if llvm_version >= distutils.version.LooseVersion('2.7'):
- print 'scons: Ignoring unsupported LLVM version %s' % llvm_version
- print 'scons: See http://www.llvm.org/bugs/show_bug.cgi?id=6429'
- return
-
try:
env.ParseConfig('llvm-config --cppflags')
env.ParseConfig('llvm-config --libs jit interpreter nativecodegen bitwriter')