CMake plumbing cargo culted from other tests.
Minor changes to Process to allow statically allocating a buffer.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The CMake looks good, losing protected is fine since these are pretty harmless methods. This will run on x64 as it stands, so you should try a non-GPU build of libc and see if it still runs and passes.
I had a previous attempt to move the integration tests to the same location but the unit test suite dos not handle multiple threads gracefully.
Test passes for me, doesn't run on non-GPU builds because we don't make the RPC dependency, so I think it's good. It might be nice to check the RPC against a CPU client at some point. It is supposed to be a generic solution after all.
This test doesn't need anything other than the header. If I delete the string after depends it still runs on the gpu, i.e. an empty DEPENDS clause seems to be fine, shall we go with that instead?
Edit: seems not. Lets go with this as it gives me a place to write other tests in a similar style, and we can work out how to enable them on x64 later.
I think it running on the GPU only is good for now, we can enable it on the CPU in a separate patch