From 8ab4327724de37386bb9fcfab57ab75425faa57a Mon Sep 17 00:00:00 2001 From: johnnynunez Date: Thu, 8 May 2025 11:15:15 +0200 Subject: [PATCH] [fix] Update sccache download URLs to version 0.10.0 for various platforms --- .github/workflows/scripts/ti_build/sccache.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/scripts/ti_build/sccache.py b/.github/workflows/scripts/ti_build/sccache.py index a49e57c5834fe..5b895aea10a5c 100644 --- a/.github/workflows/scripts/ti_build/sccache.py +++ b/.github/workflows/scripts/ti_build/sccache.py @@ -31,18 +31,16 @@ def setup_sccache() -> Command: raise RuntimeError(f"Unsupported platform: {u.system} {u.machine}") if not exe.exists(): - if u.system == "Linux": - url = "https://github.com/mozilla/sccache/releases/download/v0.4.1/sccache-v0.4.1-x86_64-unknown-linux-musl.tar.gz" + if (u.system, u.machine) == ("Linux", "x86_64"): + url = "https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz" + elif (u.system, u.machine) in (("Linux", "arm64"), ("Linux", "aarch64")): + url = "https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-aarch64-unknown-linux-musl.tar.gz" elif (u.system, u.machine) == ("Darwin", "arm64"): - url = ( - "https://github.com/mozilla/sccache/releases/download/v0.4.1/sccache-v0.4.1-aarch64-apple-darwin.tar.gz" - ) + url = "https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-aarch64-apple-darwin.tar.gz" elif (u.system, u.machine) == ("Darwin", "x86_64"): - url = ( - "https://github.com/mozilla/sccache/releases/download/v0.4.1/sccache-v0.4.1-x86_64-apple-darwin.tar.gz" - ) + url = "https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-apple-darwin.tar.gz" elif u.system == "Windows": - url = "https://github.com/mozilla/sccache/releases/download/v0.4.1/sccache-v0.4.1-x86_64-pc-windows-msvc.tar.gz" + url = "https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-pc-windows-msvc.tar.gz" else: raise RuntimeError(f"Unsupported platform: {u.system} {u.machine}")