From aef72c2cb0ba224e4639d23aeb579e23fbc48b43 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 17 Sep 2025 13:45:53 +0930 Subject: [PATCH 1/4] TT: Update git remotes Point to the Tenstorrent forks for projects where downstream development will be staged. Signed-off-by: Joel Stanley --- .gitmodules | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitmodules b/.gitmodules index 65f0232bb8e..b088d91f814 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,7 +3,7 @@ # #1654). [submodule "binutils"] path = binutils - url = https://github.com/bminor/binutils-gdb.git + url = https://github.com/tenstorrent/binutils-gdb-tt.git branch = binutils-2_45-branch shallow = true [submodule "gcc"] @@ -13,7 +13,7 @@ shallow = true [submodule "glibc"] path = glibc - url = https://github.com/bminor/glibc.git + url = https://github.com/tenstorrent/glibc-tt.git shallow = true [submodule "dejagnu"] path = dejagnu @@ -27,12 +27,12 @@ shallow = true [submodule "gdb"] path = gdb - url = https://github.com/bminor/binutils-gdb.git + url = https://github.com/tenstorrent/binutils-gdb-tt.git branch = gdb-16-branch shallow = true [submodule "qemu"] path = qemu - url = https://gitlab.com/qemu-project/qemu.git + url = https://github.com/tenstorrent/qemu-tt.git shallow = true [submodule "musl"] path = musl @@ -51,7 +51,7 @@ shallow = true [submodule "llvm"] path = llvm - url = https://github.com/llvm/llvm-project.git + url = https://github.com/tenstorrent/llvm-project-tt.git branch = release/20.x shallow = true [submodule "uclibc-ng"] From 3641b68414b170b5f6843862d8e83403105d7371 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 17 Sep 2025 13:51:25 +0930 Subject: [PATCH 2/4] TT: Remove disk space script The TT runners have more disk space, so this step is not required. Signed-off-by: Joel Stanley --- .github/workflows/build.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7c06fb7b23e..a2e9c8bcef1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,9 +34,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Remove unneeded frameworks to recover disk space - run: sudo ./.github/cleanup-rootfs.sh - - name: Generate submodule cache key id: keygen run: echo "smcache_key=smcache-$(printf $(git submodule | sha1sum))" >> $GITHUB_OUTPUT @@ -76,9 +73,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Remove unneeded frameworks to recover disk space - run: sudo ./.github/cleanup-rootfs.sh - - name: install dependencies run: sudo ./.github/setup-apt.sh @@ -150,9 +144,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Remove unneeded frameworks to recover disk space - run: sudo ./.github/cleanup-rootfs.sh - - name: install dependencies run: sudo ./.github/setup-apt.sh From 8b78699b39a0da0cc09c6ee5aee9c49f39a1b0cb Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 17 Sep 2025 13:52:05 +0930 Subject: [PATCH 3/4] TT: Shrink build matrix To start with, build a glibc toolchain on 24.04 only. Signed-off-by: Joel Stanley --- .github/workflows/build.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a2e9c8bcef1..6f2fa5fd4d3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,17 +12,11 @@ on: env: submodule_paths: | binutils - dejagnu gcc gdb glibc llvm - musl - newlib - pk qemu - spike - uclibc-ng .git/modules jobs: @@ -61,9 +55,9 @@ jobs: smcache_key: ${{ needs.submodule_cache.outputs.key }} strategy: matrix: - os: [ubuntu-22.04, ubuntu-24.04] - mode: [newlib, linux, musl, uclibc] - target: [rv32gc-ilp32d, rv64gc-lp64d] + os: [ubuntu-24.04] + mode: [linux] + target: [rv64gc-lp64d] compiler: [gcc, llvm] exclude: - mode: musl From 4e9794e267a8473c3714ff4d4079017f33fd163b Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 17 Sep 2025 13:56:15 +0930 Subject: [PATCH 4/4] TT: Use Tenstorrent runner 22.04 only for now. Signed-off-by: Joel Stanley --- .github/workflows/build.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6f2fa5fd4d3..e3cb60f5e5b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -55,7 +55,7 @@ jobs: smcache_key: ${{ needs.submodule_cache.outputs.key }} strategy: matrix: - os: [ubuntu-24.04] + os: [tt-ubuntu-2204-xlarge-stable] mode: [linux] target: [rv64gc-lp64d] compiler: [gcc, llvm] @@ -117,7 +117,13 @@ jobs: *) MODE="elf";; esac - echo "TOOLCHAIN_NAME=riscv$BITS-$MODE-${{ matrix.os }}-${{ matrix.compiler }}-nightly" >> $GITHUB_OUTPUT + case ${{ matrix.os }}" in + "tt-ubuntu-2204-xlarge-stable") + OS="ubuntu-22.04";; + *) + OS="$matrix.os";; + easc + echo "TOOLCHAIN_NAME=riscv$BITS-$MODE-$OS-${{ matrix.compiler }}-nightly" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v4 with: