Mesa (master): meson: Error if LLVM is turned off but clover it turned on

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


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

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

meson: Error if LLVM is turned off but clover it turned on

Since clover has a hard requirement on LLVM

v2: - make error message more specific

Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>

---

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

diff --git a/meson.build b/meson.build
index 46541254fb8..917186a4f0b 100644
--- a/meson.build
+++ b/meson.build
@@ -1260,6 +1260,8 @@ if with_llvm
   endif
 elif with_amd_vk or with_gallium_radeonsi or with_gallium_swr
   error('The following drivers require LLVM: Radv, RadeonSI, SWR. One of these is enabled, but LLVM is disabled.')
+elif with_gallium_opencl
+  error('The OpenCL "Clover" state tracker requires LLVM, but LLVM is disabled.')
 endif
 
 if (with_amd_vk or with_gallium_radeonsi or with_gallium_opencl or




More information about the mesa-commit mailing list