Age | Commit message (Collapse) | Author | Files | Lines |
|
Update README.md
|
|
Fixed typos.
Signed-off-by: Rafae <99075784+Rafae1130@users.noreply.github.com>
|
|
- 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>
|
|
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>
|
|
|
|
Adjusts default multilib combinations.
|
|
Add information about `--enable-qemu-system`
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
|
|
|
|
|
|
|
|
|
|
|
|
Update build workflow
|
|
Set `rv64gc` the default for `--with-arch` option.
|
|
Add Arch Linux dependency package for testing
|
|
Fix typo `mintained` -> `maintained`
|
|
Signed-off-by: Osman Karaketir <osmankaraketir@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Switch to xz from gzip, since it has a much better compress ratio.
Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
|
|
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>
|
|
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>
|
|
Since the runner user owns the prefix dir, there is no need to use sudo.
Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
This is usefull for testing / debugging.
Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
|
|
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>
|
|
Signed-off-by: Jordan Carlin <jordanmcarlin@gmail.com>
|
|
Signed-off-by: Scott Beamer <sbeamer@ucsc.edu>
|
|
|
|
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1566
|