Stefan Dirsch
8969889762
- Move osmesa build back to Mesa, which we can now do after choosing another dummy driver there. - Use LLVM-versioned libclc runtime dependency to ensure bitcode compatibility. We have that in Tumbleweed and soon Leap. - U_clover-Fix-build-with-llvm-12.patch * Fixes build with LLVM 12. - U_clover-Add-missing-include-for-llvm-12-build-fix.patch * Fixes a missing header in the previous patch. - Move osmesa build back to Mesa, which we can now do after choosing another dummy driver there. - Use LLVM-versioned libclc runtime dependency to ensure bitcode compatibility. We have that in Tumbleweed and soon Leap. - U_clover-Fix-build-with-llvm-12.patch * Fixes build with LLVM 12. - U_clover-Add-missing-include-for-llvm-12-build-fix.patch * Fixes a missing header in the previous patch. OBS-URL: https://build.opensuse.org/request/show/886349 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1032
29 lines
1007 B
Diff
29 lines
1007 B
Diff
From f0dccd957879ff642cfd921dda6e8b04dd35fec4 Mon Sep 17 00:00:00 2001
|
|
From: Karol Herbst <kherbst@redhat.com>
|
|
Date: Tue, 2 Mar 2021 20:09:39 +0100
|
|
Subject: [PATCH] clover: Add missing include for llvm-12 build fix
|
|
|
|
Fixes: d1eab2b1eb1 ("clover: Fix build with llvm-12.")
|
|
Signed-off-by: Karol Herbst <kherbst@redhat.com>
|
|
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
|
|
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9372>
|
|
---
|
|
src/gallium/frontends/clover/llvm/compat.hpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/gallium/frontends/clover/llvm/compat.hpp b/src/gallium/frontends/clover/llvm/compat.hpp
|
|
index d537819f292..380d16a8346 100644
|
|
--- a/src/gallium/frontends/clover/llvm/compat.hpp
|
|
+++ b/src/gallium/frontends/clover/llvm/compat.hpp
|
|
@@ -49,6 +49,7 @@
|
|
|
|
#include <clang/Basic/TargetInfo.h>
|
|
#include <clang/Frontend/CompilerInstance.h>
|
|
+#include <clang/Lex/PreprocessorOptions.h>
|
|
|
|
#if LLVM_VERSION_MAJOR >= 10
|
|
#include <llvm/Support/CodeGen.h>
|
|
--
|
|
2.31.1
|
|
|