From 95fdde5a60fc04376eb49a1d62ead163516759f3 Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Sun, 17 Nov 2019 16:40:29 +0100 Subject: [PATCH] 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 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- 2.30.2