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>
This commit is contained in:
pal1000 2022-07-21 13:59:11 +03:00 committed by Marge Bot
parent 1df92ed2a6
commit b5b855149c
1 changed files with 1 additions and 0 deletions

View File

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