]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ci : update spacemit toolchain url and enhance curl command (#23642)
authoralex-spacemit <redacted>
Mon, 25 May 2026 08:43:24 +0000 (16:43 +0800)
committerGitHub <redacted>
Mon, 25 May 2026 08:43:24 +0000 (10:43 +0200)
* fix(action): update SpacemiT toolchain URL and version

Change-Id: If4cc1c738a855274103f8c3ad52daa33528acd0c

* fix(action): add -L flag to curl command for URL redirection

Change-Id: I9b6c37390f0c7a733a36308c8fb53d22d234ab06

.github/actions/linux-setup-spacemit/action.yml
.github/actions/unarchive-tar/action.yml
.github/workflows/build-cross.yml
docs/build-riscv64-spacemit.md

index e2193e8931d0970d1765c02c3fb5efdab54e0920..39e405b6779c33f03cc2c80a2b6fe06ba3cd965c 100644 (file)
@@ -15,6 +15,6 @@ runs:
       id: setup
       uses: ./.github/actions/unarchive-tar
       with:
-        url: https://archive.spacemit.com/toolchain/spacemit-toolchain-linux-glibc-x86_64-v${{ inputs.version }}.tar.xz
+        url: https://github.com/spacemit-com/toolchain/releases/download/v${{ inputs.version }}/spacemit-toolchain-linux-glibc-x86_64-v${{ inputs.version }}.tar.xz
         path: ${{ inputs.path }}
         strip: 1
index b97e402f46a8a721f3556aa5d69e32a4dcd702f6..3d2f9be7bdd3b42fec5c8400d90174f5765c6fc7 100644 (file)
@@ -24,4 +24,4 @@ runs:
       run: |
         mkdir -p ${{ inputs.path }}
         cd ${{ inputs.path }}
-        curl --no-progress-meter ${{ inputs.url }} | tar -${{ inputs.type }}x --strip-components=${{ inputs.strip }}
+        curl --no-progress-meter -L ${{ inputs.url }} | tar -${{ inputs.type }}x --strip-components=${{ inputs.strip }}
index 97c7368387e8e7c06d2ac10c6f76f2c07684ca22..845e88fe43bdf166266f8a7343926bf37f4251d0 100644 (file)
@@ -277,7 +277,7 @@ jobs:
 
     env:
       # Make sure this is in sync with build-cache.yml
-      SPACEMIT_IME_TOOLCHAIN_VERSION: "1.1.2"
+      SPACEMIT_IME_TOOLCHAIN_VERSION: "1.2.4"
 
     steps:
       - uses: actions/checkout@v6
index 08301d51caebe2ecf19b721be38de73706de94e5..7a9a1f3ad4edcf04d484fe9ead87a916179a341c 100644 (file)
@@ -5,7 +5,7 @@
 
 1. Prepare Toolchain For RISCV
 ~~~
-wget https://archive.spacemit.com/toolchain/spacemit-toolchain-linux-glibc-x86_64-v1.1.2.tar.xz
+wget https://github.com/spacemit-com/toolchain/releases/download/v1.2.4/spacemit-toolchain-linux-glibc-x86_64-v1.2.4.tar.xz
 ~~~
 
 2. Build