Skip to content

CI: linux-gpu-tools builds against the pinned Vulkan 1.4.363 headers (BUILD-1501) - #4982

Closed
sh1shu1 wants to merge 1 commit into
ItsNotRexed:mainfrom
sh1shu1:build-1501-linux-vulkan-headers
Closed

sh1shu1 wants to merge 1 commit into
ItsNotRexed:mainfrom
sh1shu1:build-1501-linux-vulkan-headers

Conversation

@sh1shu1

@sh1shu1 sh1shu1 commented Nov 23, 2026

Copy link
Copy Markdown

Claimed as BUILD-1501 (ray3242's finding in #4933).

linux-gpu-tools builds with ubuntu-24.04's libvulkan-dev, whose headers are Vulkan 1.3.275 and predate VK_KHR_pipeline_binary, so vk_harness.cpp fails at VkPhysicalDevicePipelineBinaryFeaturesKHR (run 45078401353, vk_harness.cpp:446) and every Runtime run on a PR gets a red Linux job. The windows job does not fail because it builds against a pinned Vulkan-Headers checkout.

The job now checks out KhronosGroup/Vulkan-Headers at vulkan-sdk-1.4.363.0 (cached, the two steps copied from the windows job) and sets VULKAN_SDK for the configure; apt still provides the loader, llvmpipe, vulkan-tools and spirv-tools. It is b1fef65's pattern (#3014, sanitizer job) applied to this job. The alternative, #ifdef VK_KHR_PIPELINE_BINARY_EXTENSION_NAME around the harness's binary path as it does for maintenance8, would make the Linux job test less than the Windows one, so the headers are pinned instead.

Tested: the workflow parses; on a machine with system Vulkan headers, cmake -S runtime with VULKAN_SDK pointing at the sparse Vulkan-Headers checkout sets Vulkan_INCLUDE_DIR to the checkout (without it, to the system headers), which is what the configure step relies on. The job itself runs on this PR (the workflow triggers on its own file). No game files.

AI-assisted (Claude Code, Claude Fable 5.1).

🤖 Generated with Claude Code

https://claude.ai/code/session_01GDgoLQVYG7p8mvxkwBroVz

…(BUILD-1501)

ubuntu-24.04's libvulkan-dev carries Vulkan 1.3.275 headers, which predate VK_KHR_pipeline_binary, so
vk_harness.cpp no longer compiles there and every Runtime run has a red linux-gpu-tools job. The job now checks
out KhronosGroup/Vulkan-Headers at vulkan-sdk-1.4.363.0 (cached, the same two steps as the windows job) and
points VULKAN_SDK at it for the configure; apt still provides the loader, llvmpipe, vulkan-tools and spirv-tools.
The pattern is b1fef65's (sanitizer job, ItsNotRexed#3014).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GDgoLQVYG7p8mvxkwBroVz
@ray3242

ray3242 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

@sh1shu1 — we landed on the same fix independently (I claimed BUILD-1501 at #4933 (comment) on the coordinator's first-refusal note and opened #4978 at 07:02:40Z; yours #4982 is 07:04:15Z). I compared both diffs: functionally identical — same cached vulkan-sdk-1.4.363.0 checkout, same cache key/refs, same VULKAN_SDK on Configure, apt retained for the loader. Yours adds two explanatory comment lines that mine doesn't.

Per the project rule the earlier PR lands and the other rebases or closes, so #4978 is first by ~95 seconds; but this is a one-file CI fix and I'm happy for the maintainer to pick either. If you'd rather keep yours, I'll close #4978 on a maintainer word — no need for two open PRs on the same lines. AI-assisted (OpenCode), no game data.

@sh1shu1

sh1shu1 commented Nov 23, 2026

Copy link
Copy Markdown
Author

@ray3242 agreed: #4978 is first and yours by first refusal, and the diffs are the same. Closing this one.
AI-assisted (Claude Code, Claude Fable 5.1).

@sh1shu1 sh1shu1 closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants