mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
meson: do not reconstruct ICD paths
This is a follow up of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20907/diffs?commit_id=b6a344f4baa1ee2c784ca74499dc9fe3b4519013 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Gurchetan Singh <gurchetansingh@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38637>
This commit is contained in:
parent
be4ad5c819
commit
095c2acf01
2 changed files with 4 additions and 4 deletions
|
|
@ -122,7 +122,7 @@ asahi_icd = custom_target(
|
|||
)
|
||||
|
||||
_dev_icdname = 'asahi_devenv_icd.@0@.json'.format(host_machine.cpu())
|
||||
custom_target(
|
||||
_dev_icd = custom_target(
|
||||
input : [vk_icd_gen, vk_api_xml],
|
||||
output : _dev_icdname,
|
||||
command : [
|
||||
|
|
@ -136,4 +136,4 @@ custom_target(
|
|||
build_by_default : true,
|
||||
)
|
||||
|
||||
devenv.append('VK_DRIVER_FILES', meson.current_build_dir() / _dev_icdname)
|
||||
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ nouveau_icd = custom_target(
|
|||
)
|
||||
|
||||
_dev_icdname = 'nouveau_devenv_icd.@0@.json'.format(host_machine.cpu())
|
||||
custom_target(
|
||||
_dev_icd = custom_target(
|
||||
'nouveau_devenv_icd',
|
||||
input : [vk_icd_gen, vk_api_xml],
|
||||
output : _dev_icdname,
|
||||
|
|
@ -195,7 +195,7 @@ custom_target(
|
|||
build_by_default : true,
|
||||
)
|
||||
|
||||
devenv.append('VK_DRIVER_FILES', meson.current_build_dir() / _dev_icdname)
|
||||
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
|
||||
|
||||
if with_tests and not with_platform_android
|
||||
test(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue