aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2025-03-07Merge pull request #1686 from Rafae1130/patch-1Kito Cheng1-2/+2
Update README.md
2025-03-07Update README.mdRafae1-2/+2
Fixed typos. Signed-off-by: Rafae <99075784+Rafae1130@users.noreply.github.com>
2025-03-04Clean up the guide of dependency installation on ArchLinuxYao Zi1-1/+1
- Avoid -yy flag as it forces synchronization with the package source, causing unnecessary extra traffic. - Remove dependencies covered by base-devel. Fixes: 6327954 ("Update README.md") Signed-off-by: Yao Zi <ziyao@disroot.org>
2025-02-20Bump glibc from 2.40 to 2.41Christoph Müllner1-0/+0
Test results (with --enable-multilib): ``` ========= Summary of gcc testsuite ========= | # of unexpected case / # of unique unexpected case | gcc | g++ | gfortran | rv32imac/ ilp32/ medlow | 0 / 0 | 0 / 0 | 0 / 0 | rv32imafdc/ ilp32d/ medlow | 0 / 0 | 0 / 0 | 0 / 0 | rv64imac/ lp64/ medlow | 0 / 0 | 0 / 0 | 0 / 0 | rv64imafdc/ lp64d/ medlow | 0 / 0 | 0 / 0 | 0 / 0 | ``` Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2025-02-20Bump Binutils into 2.44.Jiawei2-1/+1
2025-01-19Merge pull request #1657 from pz9115/master2025.01.20Kito Cheng2-6/+6
Adjusts default multilib combinations.
2025-01-19Merge pull request #1625 from karaketir16/patch-5Kito Cheng1-0/+23
Add information about `--enable-qemu-system`
2025-01-17Using 'gc' replace 'imafdc' in multilib.Jiawei2-6/+6
2025-01-17Adjusts default multilib combinations.Jiawei2-6/+6
2025-01-16Remove redundant information in configure.ac.2025.01.17Jiawei2-3/+3
2025-01-16Update configure.ac and sync configure.Jiawei2-10/+7
2025-01-16Bump LLVM to 19.1.7 (#1653)Shao-Ce SUN2-1/+1
2025-01-15dejagnu: Bump version from ca371cf9c48 to 935a51f3c66e2025.01.16Christoph Müllner1-0/+0
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2024-12-15add `python3-tomli` to `setup-apt.sh`2024.12.16Osman Karaketir1-1/+1
2024-12-15python3-tomli required for `build-sim SIM=qemu` in UbuntuOsman Karaketir1-1/+1
2024-12-11Bump QEMU to 9.2Jordan Carlin1-0/+0
2024-12-11Update QEMU to v9.1.2Jordan Carlin1-0/+0
2024-11-25Add information about `--enable-qemu-system`Osman Karaketir1-0/+23
2024-11-22Merge pull request #1608 from CARV-ICS-FORTH/ci-updates2024.11.22Kito Cheng6-77/+234
Update build workflow
2024-11-21Merge pull request #1595 from pz9115/patch-1Kito Cheng2-5/+5
Set `rv64gc` the default for `--with-arch` option.
2024-11-21Merge pull request #1599 from XYenChi/fix-readmeKito Cheng1-1/+1
Add Arch Linux dependency package for testing
2024-11-21Merge pull request #1617 from karaketir16/patch-3Kito Cheng1-1/+1
Fix typo `mintained` -> `maintained`
2024-11-16Fix typo `mintained` -> `maintained`Osman Karaketir1-1/+1
Signed-off-by: Osman Karaketir <osmankaraketir@gmail.com>
2024-11-10No need for the recover space step after toolchain buildNick Kossifidis1-6/+0
This doesn't make sense anymore, it's not that we'll use any more space at that point, it may take up to a minute to complete, clean it up. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-10Allow submodule cache to persist across runsNick Kossifidis1-9/+24
Although it only takes a few minutes to do the shallow clones, and we don't trigger runs that frequently, let's keep the submodule cache around, and invalidate it based on the hash of the 'git submodules' command, instead on each run. This will save us space on the repo's cache storage (10GB) and speed up the process a bit. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09Revert "Use ubuntu-latest"Nick Kossifidis1-4/+5
This reverts commit 5ac342c5e3f83b5a26f3a42c5e3046048fd43153. It seems they haven't switched to 24.04 yet: https://github.com/actions/runner-images/issues/10636 Leave it as-is for now and we can revisit this if needed. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09Switch to xz compressionNick Kossifidis2-7/+7
Switch to xz from gzip, since it has a much better compress ratio. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09Reduce output size using file deduplicationNick Kossifidis3-3/+39
There are files in the output that are the same with e.g. different names on different paths etc (and are not symlinks). Switch them to hardlinks so that tar doesn't archive them multiple times. This could be usefull to users too, since they may chose to preserve hardlinks when unpacking the tarball. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09Only include toolchain in the tarballNick Kossifidis2-17/+6
Currently we create the tarball after make report which results having qemu (both for 32 and 64bit), dejagnu, qemu etc in there too. Qemu ends up in the nightly releases too, with its roms etc, so clean that up too. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09No need for sudo when building toolchainNick Kossifidis2-6/+6
Since the runner user owns the prefix dir, there is no need to use sudo. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09Use /mnt/riscv instead of /opt/riscvNick Kossifidis2-9/+18
We have 14GB on /mnt available (more in practice) that we don't use at all. Instead of installing the toolchain / downloading artifacts in /opt thats in root partition, use /mnt instead. This patch also assigns ownership of that folder to the runner user, so that we drop use of sudo for make later on. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09Cache fetched submodules across jobsNick Kossifidis1-0/+59
Saves time by cloning the submodules only once per workflow run. This is also safer since some repos may block us if we attempt to clone multiple times (also in parallel) during the workflow. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09Move cleanup of base image to a script and improve itNick Kossifidis3-36/+78
There are lots of things we can remove from the base image but the list becomes long and it polutes the workflow file, so it makes more sense to do this on a script instead. This gives us up to 50GB of free space, and we don't have to wait for it to finish, we can let those rm commands run in the background and move forward with the rest of the build process. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09Perform shallow clones of submodulesNick Kossifidis2-2/+14
Greatly reduces the time it takes to checkout the various submodules, and also reduces required storage. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-09Merge branch 'riscv-collab:master' into ci-updatesNick Kossifidis1-1/+1
2024-11-07Update .gitmodules to reflect LLVM bump to 18.1Johannes Rust1-1/+1
The LLVM submodule was updated to 18.1 in commit 97fce6f and now points to https://github.com/llvm/llvm-project/tree/3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff, the latest commit of branch release/18.x. However .gitmodules still referred to branch 17.x. Signed-off-by: Johannes Rust <rust.johannes@web.de>
2024-11-02Allow to manually trigger build workflowNick Kossifidis1-0/+1
This is usefull for testing / debugging. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-02Use ubuntu-latestNick Kossifidis1-5/+4
It's better to use ubuntu-latest to track current LTS provided by github, instead of having to manually update it. It also makes more sense to stick to the current LTS than trying to support the older one. Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
2024-11-01Free up space in GitHub Actions Runners for remaining jobsJordan Carlin1-1/+17
Signed-off-by: Jordan Carlin <jordanmcarlin@gmail.com>
2024-10-31README, clarify need for gmake on macOSScott Beamer1-4/+5
Signed-off-by: Scott Beamer <sbeamer@ucsc.edu>
2024-10-28Add Arch Linux dependency package for testingXYenChi1-1/+1
2024-10-27Bump Spike and pk to latest commits2024.10.28Tommy Murphy2-0/+0
2024-10-25Bump GDB into 15.2 version.2024.10.272024.10.26Jiawei1-0/+0
2024-10-25Set rv64gc as default --with-arch option.Jiawei2-5/+5
2024-10-25CI/CD: Bump upload-artifact to v4Christoph Müllner2-3/+3
We recently updated the download-artifact action to v4, because earlier versions were deprecated and stopped working. Now we ran into the situation, that the release pipeline broke, because no toolchains are found by the download-artifact action ("Found 0 artifact(s)" although all toolchain builds succeeded and the resulting toolchain was successfully archived and uploaded). Looking into the documention of download-artifact@v4 shows the issue: One of the breaking changes of download-artifact@v4 is "Downloading artifacts that were created from action/upload-artifact@v3 and below are not supported." ([1]). Our pipeline uses upload-artifact@v3, which is why they are not found later on. Let's bump the upload-artifact action to v4 so that download-artifact@v4 will find the built artifacts again. [1] https://github.com/actions/download-artifact?tab=readme-ov-file#v4---whats-new Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2024-10-25CI: Use merge time for activity checkChristoph Müllner1-1/+1
The activity check of the nightly release pipeline extracts the field 'commit.author.date' from the top commit to decide if commit was added in the last 24 hours. However, unless PRs are reviewed and merged within 24 hours this activity check will fail. Using the date of the merge instead leads to a more robust activity check. To give a concrete example, here are the top lines of today's commit log: ``` { "sha": "a14abe3265ae8bd3ce463aefa4645bd376d08e5a", "node_id": "C_kwDOAWrbKtoAKGExNGFiZTMyNjVhZThiZDNjZTQ2M2FlZmE0NjQ1YmQzNzZkMDhlNWE", "commit": { "author": { "name": "Christoph Müllner", "email": "christoph.muellner@vrull.eu", "date": "2024-10-12T22:54:57Z" }, "committer": { "name": "Christoph Müllner", "email": "christophm30@gmail.com", "date": "2024-10-16T08:08:11Z" }, [...] ``` The existing code extracts the following time: ``` $ jq -r '.commit.author.date' commit.json 2024-10-12T22:54:57Z ``` The code change in this PR changes this to the following: ``` $ jq -r '.commit.committer.date' commit.json 2024-10-16T08:08:11Z ``` Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2024-10-22fix NEWLIB_MULTILIB_NAMES in Makefile2024.10.23Bin XIE1-1/+1
see https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1513 The NEWLIB_MULTILIB_NAMES generated in makefile for MULTILIB_GEN may contain space at the end, which cause the generate_target_board script to crash Signed-off-by: Bin XIE <xiebin@zju.edu.cn>
2024-10-16CI/CD: Bump download-artifact to v4Christoph Müllner1-2/+2
The create-release CI/CD step is currently failing with the error: This request has been automatically failed because it uses a deprecated version of `actions/download-artifact: v2` Github deprecated download-artifact v2 and asks users to use v4 instead: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ Let's do what's recommended to unbreak the release action. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2024-10-11Fixed typo (missing comma between 'musl' and 'uclibc')Tommy Murphy1-1/+1
2024-10-11Enable Linux/uClibc-ng toolchain build in CI - see ↵Tommy Murphy2-4/+15
https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1566