[libc-commits] [libc] [libc] Implement lit-based test execution for Libc (PR #178746)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Mon Feb 23 07:36:45 PST 2026
jhuber6 wrote:
> Sorry, I got busy in the last half of last week. Is this still causing you troubles? If yes, is there any chance you can suggest how to replicate your environment?
>
> Thanks!
Yes, see https://libc.llvm.org/gpu/building.html. You likely don't need to be able to successfully run the tests, follow the CMake options to set a default test architecture and make sure you have the `llvm-gpu-loader` utility. That should build if you have the LLVM libc enabled.
Just build it targeting AMD (you need lld) and set the test architecture to gfx1030 or something. If you actually have an AMD GPU you should just need ROCm installed.
https://github.com/llvm/llvm-project/pull/178746
More information about the libc-commits
mailing list