summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2012-02-23 11:50:42 +0000
committerJosé Fonseca <jfonseca@vmware.com>2012-02-23 12:29:29 +0000
commita1482b21cb438c271cf20e7d52cb9e4e0537344c (patch)
tree3b764bfb502c2d251fcd071869e0d25657a063cf /scons
parent1702d8bdd88dd58b5b7c85911423886986845436 (diff)
scons: Update windows llvm libraries for version 3.0.
Diffstat (limited to 'scons')
-rw-r--r--scons/llvm.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/scons/llvm.py b/scons/llvm.py
index 916b040b0f4..8222c5b45b1 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -92,7 +92,19 @@ def generate(env):
'HAVE_STDINT_H',
])
env.Prepend(LIBPATH = [os.path.join(llvm_dir, 'lib')])
- if llvm_version >= distutils.version.LooseVersion('2.9'):
+ if llvm_version >= distutils.version.LooseVersion('3.0'):
+ # 3.0
+ env.Prepend(LIBS = [
+ 'LLVMBitWriter', 'LLVMX86Disassembler', 'LLVMX86AsmParser',
+ 'LLVMX86CodeGen', 'LLVMX86Desc', 'LLVMSelectionDAG',
+ 'LLVMAsmPrinter', 'LLVMMCParser', 'LLVMX86AsmPrinter',
+ 'LLVMX86Utils', 'LLVMX86Info', 'LLVMJIT',
+ 'LLVMExecutionEngine', 'LLVMCodeGen', 'LLVMScalarOpts',
+ 'LLVMInstCombine', 'LLVMTransformUtils', 'LLVMipa',
+ 'LLVMAnalysis', 'LLVMTarget', 'LLVMMC', 'LLVMCore',
+ 'LLVMSupport'
+ ])
+ elif llvm_version >= distutils.version.LooseVersion('2.9'):
# 2.9
env.Prepend(LIBS = [
'LLVMObject', 'LLVMMCJIT', 'LLVMMCDisassembler',