meson/llvm: add native for gallium swrast
authorDave Airlie <airlied@redhat.com>
Mon, 22 Feb 2021 01:08:45 +0000 (11:08 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 23 Feb 2021 07:17:28 +0000 (17:17 +1000)
If we are building llvmpipe and lavapipe we want native in this
list.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9208>

meson.build

index 18f96bc..9d59158 100644 (file)
@@ -1515,7 +1515,7 @@ endif
 if with_microsoft_clc
   llvm_modules += ['target', 'linker', 'irreader', 'option', 'libdriver']
 endif
-if with_tests
+if with_tests or with_gallium_softpipe
   llvm_modules += 'native'
 endif