Add RISCV64 testing support and default to clean compiler output #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch adds two mostly unrelated patches.
The first one sets the compilation to produce output similar to the one generated with automake/libtools when enabling silent rules, namely something like:
This makes any warning or error much easier to locate as it'll instantly pop out. But of course, this is done at the expense of verbosity. Just as with the silent rules of automake however, the old verbose behaviour can be restored by adding
V=1
when invokingmake
.The second patch adds RISCV64 testing, using the unmodified
RISCV_VIRT_CODE.fd
firmware image from http://ftp.ie.debian.org/debian/pool/main/e/edk2/qemu-efi-riscv64_2024.02-2_all.deb (which again I am repackaging at https://efi.akeo.ie as the package link can and will be changed with new Debian releases).Note that this requires running on Ubuntu 24.04 (rather than Ubuntu 22.04, which is what
ubuntu-latest
from GitHub Actions currently still maps to), as this will only work with QEMU 8.2 or later.I also had a patch that added
dr0.efi
testing to our tests, but unfortunately, as long as #27 is not resolved, this cannot be added as the test will fail on RISCV64...