diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-08-18 16:00:03 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-08-18 16:00:59 +0100 |
commit | 7be4cf9c63d3dcacce8a6bf47c471a9aab09b1d7 (patch) | |
tree | 90c98ef176cc22ae565ca15dc0a9cb5cce626c60 /scons | |
parent | 4a7667b96b7bd7cdffbe929182c15935b74facd2 (diff) | |
download | external_mesa3d-7be4cf9c63d3dcacce8a6bf47c471a9aab09b1d7.zip external_mesa3d-7be4cf9c63d3dcacce8a6bf47c471a9aab09b1d7.tar.gz external_mesa3d-7be4cf9c63d3dcacce8a6bf47c471a9aab09b1d7.tar.bz2 |
scons: Add support for LLVM-2.9 on Windows.
MinGW & MSVC, although I've only tested the former.
Diffstat (limited to 'scons')
-rw-r--r-- | scons/llvm.py | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/scons/llvm.py b/scons/llvm.py index 66f972d..c8d2d37 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -92,7 +92,21 @@ def generate(env): 'HAVE_STDINT_H', ]) env.Prepend(LIBPATH = [os.path.join(llvm_dir, 'lib')]) - if llvm_version >= distutils.version.LooseVersion('2.7'): + if llvm_version >= distutils.version.LooseVersion('2.9'): + # 2.9 + env.Prepend(LIBS = [ + 'LLVMObject', 'LLVMMCJIT', 'LLVMMCDisassembler', + 'LLVMLinker', 'LLVMipo', 'LLVMInterpreter', + 'LLVMInstrumentation', 'LLVMJIT', 'LLVMExecutionEngine', + 'LLVMBitWriter', 'LLVMX86Disassembler', 'LLVMX86AsmParser', + 'LLVMMCParser', 'LLVMX86AsmPrinter', 'LLVMX86CodeGen', + 'LLVMSelectionDAG', 'LLVMX86Utils', 'LLVMX86Info', 'LLVMAsmPrinter', + 'LLVMCodeGen', 'LLVMScalarOpts', 'LLVMInstCombine', + 'LLVMTransformUtils', 'LLVMipa', 'LLVMAsmParser', + 'LLVMArchive', 'LLVMBitReader', 'LLVMAnalysis', 'LLVMTarget', + 'LLVMCore', 'LLVMMC', 'LLVMSupport', + ]) + elif llvm_version >= distutils.version.LooseVersion('2.7'): # 2.7 env.Prepend(LIBS = [ 'LLVMLinker', 'LLVMipo', 'LLVMInterpreter', |