ClangBuiltLinux / continuous-integration

Continuous integration of latest Linux kernel with daily build of Clang & LLVM tools
https://travis-ci.com/ClangBuiltLinux/continuous-integration
Apache License 2.0
44 stars 18 forks source link

RISC-V fixes #307

Closed nathanchance closed 3 years ago

nathanchance commented 3 years ago

This pull "fixes" RISC-V builds and should make the build fully green.

Presubmit: https://travis-ci.com/github/nathanchance/continuous-integration/builds/181740252

The first two patches workaround https://github.com/ClangBuiltLinux/linux/issues/1143 and https://github.com/ClangBuiltLinux/linux/issues/1144. BOOT=false is necessary because the QEMU shipped in Ubuntu/Debian appears to be bugged as stock QEMU 4.2.0 and 5.0.0 work fine. We could probably start building QEMU in our Docker image but that is a significant amount of overhead and yet another binary that we have to triage issues with.

An alternative to this is just dropping RISC-V support for the time being until the architecture has matured a bit more. I do not personally care either way but we should really get the whole matrix fully green at this point.