Module: Mesa
Branch: main
Commit: 9342635903cd27ea38e823ba0673376ed8773f97
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9342635903cd27ea38e823ba0673376ed8773f97

Author: Echo J <aidas...@gmail.com>
Date:   Mon Dec 11 09:46:59 2023 +0200

vulkan: Remove nonexistent output in vk_synchronization_helpers target

I noticed that my NVK build was always LTOing the library twice
(I managed to trace it to the vk_synchronization_helpers change)

This change fixes the double compilation/LTO issue (which should
definitely cut packaging times a bit) 🐸

Fixes: fe12c1c29e5 ("vulkan: Add some auto-generated synchronization helpers")
Reviewed-by: Tatsuyuki Ishi <ishitatsuy...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26630>

---

 src/vulkan/runtime/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vulkan/runtime/meson.build b/src/vulkan/runtime/meson.build
index 9f4e5730db5..91a61b77594 100644
--- a/src/vulkan/runtime/meson.build
+++ b/src/vulkan/runtime/meson.build
@@ -222,7 +222,7 @@ vk_physical_device_properties = custom_target(
 vk_synchronization_helpers = custom_target(
   'vk_synchronization_helpers',
   input : [vk_synchronization_helpers_gen, vk_api_xml],
-  output : ['vk_synchronization_helpers.c', 'vk_synchronization_helpers.h'],
+  output : 'vk_synchronization_helpers.c',
   command : [
     prog_python, '@INPUT0@', '--xml', '@INPUT1@',
     '--out-c', '@OUTPUT0@',

Reply via email to