meson: remove version checks for < 0.59

Which is now required, so these are useless

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20752>
This commit is contained in:
Dylan Baker
2023-01-17 09:46:41 -08:00
committed by Marge Bot
parent 8c0531cf91
commit c31629ee78
14 changed files with 161 additions and 196 deletions
+14 -16
View File
@@ -167,20 +167,18 @@ broadcom_icd = custom_target(
install : true,
)
if meson.version().version_compare('>= 0.58')
_dev_icdname = 'broadcom_devenv_icd.@0@.json'.format(host_machine.cpu())
custom_target(
'broadcom_devenv_icd',
input : [vk_icd_gen, vk_api_xml],
output : _dev_icdname,
command : [
prog_python, '@INPUT0@',
'--api-version', '1.3', '--xml', '@INPUT1@',
'--lib-path', meson.current_build_dir() / 'libvulkan_broadcom.so',
'--out', '@OUTPUT@',
],
build_by_default : true,
)
_dev_icdname = 'broadcom_devenv_icd.@0@.json'.format(host_machine.cpu())
custom_target(
'broadcom_devenv_icd',
input : [vk_icd_gen, vk_api_xml],
output : _dev_icdname,
command : [
prog_python, '@INPUT0@',
'--api-version', '1.3', '--xml', '@INPUT1@',
'--lib-path', meson.current_build_dir() / 'libvulkan_broadcom.so',
'--out', '@OUTPUT@',
],
build_by_default : true,
)
devenv.append('VK_ICD_FILENAMES', meson.current_build_dir() / _dev_icdname)
endif
devenv.append('VK_ICD_FILENAMES', meson.current_build_dir() / _dev_icdname)