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 <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17682>
(cherry picked from commit b5b855149c)
This commit is contained in:
pal1000 2022-07-21 13:59:11 +03:00 committed by Dylan Baker
parent 6cf728541b
commit fee07a3937
2 changed files with 2 additions and 1 deletions

View file

@ -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"
},

View file

@ -1659,6 +1659,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'