Skip to content

fix: support Vulkan SDK 1.4.313.0+ on Windows using silent installer#25

Open
hollykbuck wants to merge 2 commits into
humbletim:mainfrom
hollykbuck:main
Open

fix: support Vulkan SDK 1.4.313.0+ on Windows using silent installer#25
hollykbuck wants to merge 2 commits into
humbletim:mainfrom
hollykbuck:main

Conversation

@hollykbuck

Copy link
Copy Markdown

Summary

This PR fixes the Windows installation failure for Vulkan SDK versions 1.4.313.0 and later.

The Problem

Starting from version 1.4.313.0, LunarG changed the internal structure of the Vulkan SDK Windows installer. As a result, the previous method of simply extracting the .exe via 7z no longer produces the expected directory structure (Headers, Libs, etc. are missing or misplaced).

The Solution

I have updated the install_windows function to:

  1. Check the SDK version: It uses a version comparison to determine the installation method.
  2. Use Silent Installation: For version 1.4.313.0 and above, it executes the installer with CLI flags (--root, --accept-licenses, --default-answer, --confirm-command install) to perform a proper installation.
  3. Maintain Backward Compatibility: Versions older than 1.4.313.0 still use the 7z extraction method to ensure no regression.

Verification

I have verified this fix in my own project's CI pipeline. You can see the successful installation here:
hollykbuck/qwen3-asr.cpp/actions/runs

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.

1 participant