From 0c33804f89e0408652ccd7cefe328adec908d877 Mon Sep 17 00:00:00 2001 From: Johnny Date: Wed, 15 Jan 2025 09:39:34 +0100 Subject: [PATCH 1/4] Update vulkan.py --- .github/workflows/scripts/ti_build/vulkan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/ti_build/vulkan.py b/.github/workflows/scripts/ti_build/vulkan.py index 5678180862c46..f09306307c907 100644 --- a/.github/workflows/scripts/ti_build/vulkan.py +++ b/.github/workflows/scripts/ti_build/vulkan.py @@ -16,7 +16,7 @@ def setup_vulkan(): u = platform.uname() if u.system == "Linux": - url = "https://sdk.lunarg.com/sdk/download/1.3.236.0/linux/vulkansdk-linux-x86_64-1.3.236.0.tar.gz" + url = "https://sdk.lunarg.com/sdk/download/1.3.296.0/linux/vulkansdk-linux-x86_64-1.3.296.0.tar.xz" prefix = get_cache_home() / "vulkan-1.3.236.0" download_dep(url, prefix, strip=1) sdk = prefix / "x86_64" From 06b86ebd4907365a16becebb6a4d4178da6db7e5 Mon Sep 17 00:00:00 2001 From: Johnny Date: Wed, 15 Jan 2025 09:41:06 +0100 Subject: [PATCH 2/4] Update vulkan.py --- .github/workflows/scripts/ti_build/vulkan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/ti_build/vulkan.py b/.github/workflows/scripts/ti_build/vulkan.py index f09306307c907..7e8ee00fb66a2 100644 --- a/.github/workflows/scripts/ti_build/vulkan.py +++ b/.github/workflows/scripts/ti_build/vulkan.py @@ -12,12 +12,12 @@ # -- code -- -@banner("Setup Vulkan 1.3.236.0") +@banner("Setup Vulkan 1.3.296.0") def setup_vulkan(): u = platform.uname() if u.system == "Linux": url = "https://sdk.lunarg.com/sdk/download/1.3.296.0/linux/vulkansdk-linux-x86_64-1.3.296.0.tar.xz" - prefix = get_cache_home() / "vulkan-1.3.236.0" + prefix = get_cache_home() / "vulkan-1.3.296.0" download_dep(url, prefix, strip=1) sdk = prefix / "x86_64" os.environ["VULKAN_SDK"] = str(sdk) From 6db116ded4985cbab31473bbdd0d9ad1e24ebc01 Mon Sep 17 00:00:00 2001 From: Johnny Date: Wed, 15 Jan 2025 09:42:00 +0100 Subject: [PATCH 3/4] Update vulkan.py --- .github/workflows/scripts/ti_build/vulkan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/ti_build/vulkan.py b/.github/workflows/scripts/ti_build/vulkan.py index 7e8ee00fb66a2..7fd175e1c4024 100644 --- a/.github/workflows/scripts/ti_build/vulkan.py +++ b/.github/workflows/scripts/ti_build/vulkan.py @@ -27,8 +27,8 @@ def setup_vulkan(): # elif (u.system, u.machine) == ("Darwin", "arm64"): # elif (u.system, u.machine) == ("Darwin", "x86_64"): elif (u.system, u.machine) == ("Windows", "AMD64"): - url = "https://sdk.lunarg.com/sdk/download/1.3.236.0/windows/VulkanSDK-1.3.236.0-Installer.exe" - prefix = get_cache_home() / "vulkan-1.3.236.0" + url = "https://sdk.lunarg.com/sdk/download/1.3.296.0/windows/VulkanSDK-1.3.296.0-Installer.exe" + prefix = get_cache_home() / "vulkan-1.3.296.0" download_dep( url, prefix, From b37813a3174024fcbc0089fca68a9b52b7906a52 Mon Sep 17 00:00:00 2001 From: Johnny Date: Sat, 18 Jan 2025 10:07:23 +0100 Subject: [PATCH 4/4] .tar.xz --- .github/workflows/scripts/ti_build/dep.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/scripts/ti_build/dep.py b/.github/workflows/scripts/ti_build/dep.py index 4e0a5a36abf8e..784698a90d929 100644 --- a/.github/workflows/scripts/ti_build/dep.py +++ b/.github/workflows/scripts/ti_build/dep.py @@ -153,6 +153,9 @@ def download_dep(url, outdir, *, strip=0, force=False, args=None, plain=False, e elif name.endswith(".tar.gz") or name.endswith(".tgz"): outdir.mkdir(parents=True, exist_ok=True) tar("-xzf", local_cached, "-C", outdir, f"--strip-components={strip}") + elif name.endswith(".tar.xz"): + outdir.mkdir(parents=True, exist_ok=True) + tar("-xJf", local_cached, "-C", outdir, f"--strip-components={strip}") elif name.endswith(".sh"): bash(local_cached, *args) elif "." not in name and args is not None: