[libc-commits] [PATCH] D148797: [libc] Start to refactor riscv platform abstraction to support both 32 and 64 bits versions

Mikhail Ramalho via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Aug 16 06:06:03 PDT 2023


mikhail.ramalho added a comment.

@sivachandra @michaelrj I'm working with @asb to bring a rv32 buildbot up this week.

I created a script that will copy all the test cases + test data to an rv32 image running on qemu, and then use CMake's `-DCROSSCOMPILING` flag to run the tests.

On my machine, it takes around 20 min to run `ninja check-libc`, but since the bots only do `ninja libc-integration-tests`, `ninja libc-api-test`, and `ninja libc-unit-tests`, each run should be faster than that.

May I ask if this addresses your comments? We'll need this patch + D158033 <https://reviews.llvm.org/D158033> + D150211 <https://reviews.llvm.org/D150211> to get rv32 compilation working.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148797/new/

https://reviews.llvm.org/D148797



More information about the libc-commits mailing list