Mesa (master): meson: Treat LLVM headers as a system dependency

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 17 21:22:25 UTC 2020


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

Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Mon Nov 16 11:07:09 2020 +0100

meson: Treat LLVM headers as a system dependency

This will suppress warnings from LLVM includes.

Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Dylan Baker <dylan at pnbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7632>

---

 meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meson.build b/meson.build
index 807efa06cad..614c9877072 100644
--- a/meson.build
+++ b/meson.build
@@ -1526,6 +1526,7 @@ if _llvm != 'disabled'
     static : not _shared_llvm,
     method : _llvm_method,
     fallback : ['llvm', 'dep_llvm'],
+    include_type : 'system',
   )
   with_llvm = dep_llvm.found()
 endif



More information about the mesa-commit mailing list