Module: Mesa
Branch: staging/22.2
Commit: ecc41f91adfa5d9ad245180f958636832fcd72a7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecc41f91adfa5d9ad245180f958636832fcd72a7

Author: pal1000 <[email protected]>
Date:   Thu Jul 21 13:59:11 2022 +0300

meson: Microsoft / maybe Intel CLC need the all-targets workaround
just like clover

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5666
Fixes: 1506ea2ecb ("Move a bunch of the CLC stuff from src/microsoft to common 
code")

Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17682>
(cherry picked from commit b5b855149caad60042ad0bc2d4c131c7063ff088)

---

 .pick_status.json | 2 +-
 meson.build       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.pick_status.json b/.pick_status.json
index e3a490b3594..8661c826a81 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -1039,7 +1039,7 @@
         "description": "meson: Microsoft / maybe Intel CLC need the 
all-targets workaround just like clover",
         "nominated": true,
         "nomination_type": 1,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": "1506ea2ecb8d017dbe1bbe7bec03294619683e13"
     },
diff --git a/meson.build b/meson.build
index 1d281dadbc9..58307ea17a1 100644
--- a/meson.build
+++ b/meson.build
@@ -1718,6 +1718,7 @@ if with_gallium_opencl
 endif
 if with_clc
   llvm_modules += ['coverage', 'target', 'linker', 'irreader', 'option', 
'libdriver', 'lto']
+  llvm_optional_modules += ['all-targets']
 endif
 if with_tests or with_gallium_softpipe
   llvm_modules += 'native'

Reply via email to