Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 10 additions & 19 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,11 @@ on:
env:
submodule_paths: |
binutils
dejagnu
gcc
gdb
glibc
llvm
musl
newlib
pk
qemu
spike
uclibc-ng
.git/modules

jobs:
Expand All @@ -34,9 +28,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
Expand Down Expand Up @@ -64,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: [tt-ubuntu-2204-xlarge-stable]
mode: [linux]
target: [rv64gc-lp64d]
compiler: [gcc, llvm]
exclude:
- mode: musl
Expand All @@ -76,9 +67,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

Expand Down Expand Up @@ -129,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:
Expand All @@ -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

Expand Down
10 changes: 5 additions & 5 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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"]
Expand Down
Loading