Skip to content

Commit

Permalink
meson: Add cygwin to list of platforms requiring explicit driver sele…
Browse files Browse the repository at this point in the history
…ction

The default values for --dri-drivers, --gallium-drivers and --vulkan-drivers
aren't specified for cygwin, either.

XXX: maybe we should do this right??
  • Loading branch information
jon-turney committed Nov 13, 2017
1 parent cb6f9c0 commit 92e3b81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ with_dri_swrast = false
_drivers = get_option('dri-drivers')
if _drivers == 'auto'
# TODO: PPC, Sparc
if not ['darwin', 'windows'].contains(host_machine.system())
if not ['darwin', 'windows', 'cygwin'].contains(host_machine.system())
if ['x86', 'x86_64'].contains(host_machine.cpu_family())
_drivers = 'i915,i965,r100,r200,nouveau'
else
Expand Down Expand Up @@ -127,7 +127,7 @@ with_gallium_etnaviv = false
with_gallium_imx = false
_drivers = get_option('gallium-drivers')
if _drivers == 'auto'
if not ['darwin', 'windows'].contains(host_machine.system())
if not ['darwin', 'windows', 'cygwin'].contains(host_machine.system())
# TODO: PPC, Sparc
if ['x86', 'x86_64'].contains(host_machine.cpu_family())
_drivers = 'radeonsi,nouveau,swrast'
Expand Down Expand Up @@ -290,7 +290,7 @@ with_amd_vk = false
with_any_vk = false
_vulkan_drivers = get_option('vulkan-drivers')
if _vulkan_drivers == 'auto'
if not ['darwin', 'windows'].contains(host_machine.system())
if not ['darwin', 'windows', 'cygwin'].contains(host_machine.system())
if host_machine.cpu_family().startswith('x86')
_vulkan_drivers = 'amd,intel'
else
Expand Down

0 comments on commit 92e3b81

Please sign in to comment.