Fix up CMakeLists.txt and add multiple .test files for MicroBenchmarks/XRay/
Follow-up work as suggested by https://reviews.llvm.org/D32272#794759
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM when you switch to llvm_test_executable(), thanks.
MicroBenchmarks/XRay/CMakeLists.txt | ||
---|---|---|
5–7 ↗ | (On Diff #107473) | You should use llvm_test_executable() instead of add_executable. That way you can keep using list(APPEND CPPFLAGS) and will automatically get some dependencies right (everything in the test-suite has to depend on the time-it tool, as we use that to measure the compile time). |
Comment Actions
LGTM
MicroBenchmarks/XRay/CMakeLists.txt | ||
---|---|---|
7 ↗ | (On Diff #109531) | I'm surprised you had to put llvm_test_run here. I assume you were getting errors otherwise, so it's fine to move forward with the patch as is. I'll investigate why this couldn't be left out separately. |
Comment Actions
Thanks @MatzeB -- I ran out of time today. If you don't get to landing this, I'll go land this next week.
Cheers