diff options
author | Dylan Baker <[email protected]> | 2019-10-15 11:16:01 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-10-18 13:02:58 -0700 |
commit | fbb969b98a4aeb8ada493c7e86b70d9fa8f5a9c1 (patch) | |
tree | f215d3c1abb90e9bf8faca63986f9b76c119552e /.appveyor | |
parent | 41b3eb08d9feac97ac1be1802093ad4cc4c6ecaf (diff) |
appveyor: Add support for building llvmpipe with meson
Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to '.appveyor')
-rw-r--r-- | .appveyor/llvm-wrap.meson | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.appveyor/llvm-wrap.meson b/.appveyor/llvm-wrap.meson new file mode 100644 index 00000000000..34b1e3200fd --- /dev/null +++ b/.appveyor/llvm-wrap.meson @@ -0,0 +1,36 @@ +# A meson.build file for binary wrapping the LLVM used in the appvyeor CI +project('llvm', ['cpp']) + +cpp = meson.get_compiler('cpp') + +_deps = [] +_search = join_paths(meson.current_source_dir(), 'lib') +foreach d : ['LLVMAnalysis', 'LLVMAsmParser', 'LLVMAsmPrinter', + 'LLVMBinaryFormat', 'LLVMBitReader', 'LLVMBitWriter', + 'LLVMCodeGen', 'LLVMCore', 'LLVMCoroutines', 'LLVMCoverage', + 'LLVMDebugInfoCodeView', 'LLVMDebugInfoDWARF', + 'LLVMDebugInfoMSF', 'LLVMDebugInfoPDB', 'LLVMDemangle', + 'LLVMDlltoolDriver', 'LLVMExecutionEngine', 'LLVMGlobalISel', + 'LLVMInstCombine', 'LLVMInstrumentation', 'LLVMInterpreter', + 'LLVMipo', 'LLVMIRReader', 'LLVMLibDriver', 'LLVMLineEditor', + 'LLVMLinker', 'LLVMLTO', 'LLVMMCDisassembler', 'LLVMMCJIT', + 'LLVMMC', 'LLVMMCParser', 'LLVMMIRParser', 'LLVMObjCARCOpts', + 'LLVMObject', 'LLVMObjectYAML', 'LLVMOption', 'LLVMOrcJIT', + 'LLVMPasses', 'LLVMProfileData', 'LLVMRuntimeDyld', + 'LLVMScalarOpts', 'LLVMSelectionDAG', 'LLVMSupport', + 'LLVMSymbolize', 'LLVMTableGen', 'LLVMTarget', + 'LLVMTransformUtils', 'LLVMVectorize', 'LLVMX86AsmParser', + 'LLVMX86AsmPrinter', 'LLVMX86CodeGen', 'LLVMX86Desc', + 'LLVMX86Disassembler', 'LLVMX86Info', 'LLVMX86Utils', + 'LLVMXRay'] + _deps += cpp.find_library(d, dirs : _search) +endforeach + +dep_llvm = declare_dependency( + include_directories : include_directories('include'), + dependencies : _deps, + version : '5.0.1', +) + +has_rtti = false +irbuilder_h = files('include/llvm/IR/IRBuilder.h') |