Mesa (master): Meson: Add llvm>=9 modules

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Nov 23 16:21:50 UTC 2019


Module: Mesa
Branch: master
Commit: 95fdde5a60fc04376eb49a1d62ead163516759f3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95fdde5a60fc04376eb49a1d62ead163516759f3

Author: Michel Zou <xantares09 at hotmail.com>
Date:   Sun Nov 17 16:40:29 2019 +0100

Meson: Add llvm>=9 modules

Fixes build with MinGW, with shared LLVM and lto
/tmp/opengl32.dll.BxiIYm.ltrans59.ltrans.o:<artificial>:(.text+0x1674): undefined reference to `LLVMAddInstructionCombiningPass'

See also scons/llvm.py

Acked-by: Dylan Baker <dylan at pnwbakers.com>

---

 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']




More information about the mesa-commit mailing list