Skip to content

Commit ef34a3f

Browse files
cielavenirfeisuzhu
andauthored
[build] Update Vulkan SDK version (#8749)
Issue: # ### Brief Summary - Vulkan 1.3.236.0 has been removed. 1.3.296.0 (The final 1.3.x) should be used instead. - Allow clang 16. - CMake 3.x should be specified as CMake 4 is not compatible. ### Walkthrough --------- Co-authored-by: Proton <feisuzhu@163.com>
1 parent 628a8f9 commit ef34a3f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/scripts/ti_build/dep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def download_dep(url, outdir, *, strip=0, force=False, args=None, plain=False, e
153153
elif name.endswith(".tar.gz") or name.endswith(".tgz"):
154154
outdir.mkdir(parents=True, exist_ok=True)
155155
tar("-xzf", local_cached, "-C", outdir, f"--strip-components={strip}")
156-
elif name.endswith(".tar.xz"):
156+
elif name.endswith(".tar.xz") or name.endswith(".txz"):
157157
outdir.mkdir(parents=True, exist_ok=True)
158158
tar("-xJf", local_cached, "-C", outdir, f"--strip-components={strip}")
159159
elif name.endswith(".sh"):

.github/workflows/scripts/ti_build/vulkan.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212

1313

1414
# -- code --
15-
@banner("Setup Vulkan 1.3.236.0")
15+
@banner("Setup Vulkan 1.3.296.0")
1616
def setup_vulkan():
1717
u = platform.uname()
1818
if u.system == "Linux":
19-
url = "https://sdk.lunarg.com/sdk/download/1.3.236.0/linux/vulkansdk-linux-x86_64-1.3.236.0.tar.gz"
20-
prefix = get_cache_home() / "vulkan-1.3.236.0"
19+
url = "https://sdk.lunarg.com/sdk/download/1.3.296.0/linux/vulkansdk-linux-x86_64-1.3.296.0.tar.xz"
20+
prefix = get_cache_home() / "vulkan-1.3.296.0"
2121
download_dep(url, prefix, strip=1)
2222
sdk = prefix / "x86_64"
2323
os.environ["VULKAN_SDK"] = str(sdk)
@@ -27,8 +27,8 @@ def setup_vulkan():
2727
# elif (u.system, u.machine) == ("Darwin", "arm64"):
2828
# elif (u.system, u.machine) == ("Darwin", "x86_64"):
2929
elif (u.system, u.machine) == ("Windows", "AMD64"):
30-
url = "https://sdk.lunarg.com/sdk/download/1.3.236.0/windows/VulkanSDK-1.3.236.0-Installer.exe"
31-
prefix = get_cache_home() / "vulkan-1.3.236.0"
30+
url = "https://sdk.lunarg.com/sdk/download/1.3.296.0/windows/VulkanSDK-1.3.296.0-Installer.exe"
31+
prefix = get_cache_home() / "vulkan-1.3.296.0"
3232
download_dep(
3333
url,
3434
prefix,

0 commit comments

Comments
 (0)