mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
meson: add i915 to 'all' build for gallium-drivers
Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34046>
This commit is contained in:
parent
08450138c2
commit
773f84ccc9
1 changed files with 1 additions and 7 deletions
|
|
@ -168,10 +168,8 @@ if gallium_drivers.contains('auto')
|
||||||
host_machine.system()))
|
host_machine.system()))
|
||||||
endif
|
endif
|
||||||
elif gallium_drivers.contains('all')
|
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 = [
|
gallium_drivers = [
|
||||||
'r300', 'r600', 'radeonsi', 'crocus', 'v3d', 'vc4', 'freedreno', 'etnaviv',
|
'r300', 'r600', 'radeonsi', 'crocus', 'v3d', 'vc4', 'freedreno', 'etnaviv', 'i915',
|
||||||
'nouveau', 'svga', 'tegra', 'virgl', 'lima', 'panfrost', 'llvmpipe', 'softpipe', 'iris',
|
'nouveau', 'svga', 'tegra', 'virgl', 'lima', 'panfrost', 'llvmpipe', 'softpipe', 'iris',
|
||||||
'zink', 'd3d12', 'asahi'
|
'zink', 'd3d12', 'asahi'
|
||||||
]
|
]
|
||||||
|
|
@ -1562,10 +1560,6 @@ if with_any_intel and ['x86', 'x86_64'].contains(host_machine.cpu_family())
|
||||||
pre_args += '-DSUPPORT_INTEL_INTEGRATED_GPUS'
|
pre_args += '-DSUPPORT_INTEL_INTEGRATED_GPUS'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if with_gallium_i915 and host_machine.cpu_family().startswith('x86') == false
|
|
||||||
error('Intel "i915" Gallium driver requires x86 or x86_64 CPU family')
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Determine whether or not the rt library is needed for time functions
|
# Determine whether or not the rt library is needed for time functions
|
||||||
if host_machine.system() == 'windows' or cc.has_function('clock_gettime')
|
if host_machine.system() == 'windows' or cc.has_function('clock_gettime')
|
||||||
dep_clock = null_dep
|
dep_clock = null_dep
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue