Mesa (master): meson: Error if LLVM doesn't have rtti when building clover

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 3 16:44:19 UTC 2019


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

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Apr  1 10:12:03 2019 -0700

meson: Error if LLVM doesn't have rtti when building clover

We already do this for nouveau, but it's required for clover too.

---

 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index 715c966c679..46541254fb8 100644
--- a/meson.build
+++ b/meson.build
@@ -1253,6 +1253,8 @@ if with_llvm
   if dep_llvm.get_configtool_variable('has-rtti') == 'NO'
     if with_gallium_nouveau
       error('The Nouveau driver requires rtti. You either need to turn off nouveau or use an LLVM built with LLVM_ENABLE_RTTI.')
+    elif with_gallium_opencl
+      error('The Clover OpenCL state tracker requires rtti, you need to turn off clover or use an LLVM built with LLVM_ENABLE_RTTI.')
     endif
     cpp_args += '-fno-rtti'
   endif




More information about the mesa-commit mailing list