From: Michel Zou Date: Sun, 17 Nov 2019 15:40:29 +0000 (+0100) Subject: Meson: Add llvm>=9 modules X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95fdde5a60fc04376eb49a1d62ead163516759f3;p=mesa.git Meson: Add llvm>=9 modules Fixes build with MinGW, with shared LLVM and lto /tmp/opengl32.dll.BxiIYm.ltrans59.ltrans.o::(.text+0x1674): undefined reference to `LLVMAddInstructionCombiningPass' See also scons/llvm.py Acked-by: Dylan Baker --- diff --git a/meson.build b/meson.build index 69d15649060..9585807fbee 100644 --- a/meson.build +++ b/meson.build @@ -1356,7 +1356,7 @@ if dep_libdrm.found() endif endif -llvm_modules = ['bitwriter', 'engine', 'mcdisassembler', 'mcjit'] +llvm_modules = ['bitwriter', 'engine', 'mcdisassembler', 'mcjit', 'core', 'executionengine', 'scalaropts', 'transformutils', 'instcombine'] llvm_optional_modules = ['coroutines'] if with_amd_vk or with_gallium_radeonsi or with_gallium_r600 llvm_modules += ['amdgpu', 'native', 'bitreader', 'ipo']