meson: Add gallium-drivers=all option
Again, useful to lint common code changes and for our macbook-wielding rel
manager <3
Omits i915g due to dependency hell, everything else builds on fedora asahi.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Cc: mesa-stable
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882>
(cherry picked from commit ef4aa24a15
)
This commit is contained in:

committed by
Eric Engestrom

parent
048a358bf5
commit
a5bcd8b84f
@@ -155,7 +155,16 @@ if gallium_drivers.contains('auto')
|
||||
error('Unknown OS @0@. Please pass -Dgallium-drivers to set driver options. Patches gladly accepted to fix this.'.format(
|
||||
host_machine.system()))
|
||||
endif
|
||||
elif gallium_drivers.contains('all')
|
||||
# Build-test everything except for i915, which depends on libdrm-intel which
|
||||
# is not available on non-Intel distros.
|
||||
gallium_drivers = [
|
||||
'r300', 'r600', 'radeonsi', 'crocus', 'v3d', 'vc4', 'freedreno', 'etnaviv',
|
||||
'nouveau', 'svga', 'tegra', 'virgl', 'lima', 'panfrost', 'swrast', 'iris',
|
||||
'zink', 'd3d12', 'asahi'
|
||||
]
|
||||
endif
|
||||
|
||||
with_gallium_radeonsi = gallium_drivers.contains('radeonsi')
|
||||
with_gallium_r300 = gallium_drivers.contains('r300')
|
||||
with_gallium_r600 = gallium_drivers.contains('r600')
|
||||
|
Reference in New Issue
Block a user