Hello,
I’m not sure this is quite the correct channel, but I couldn’t locate a dedicated one for llvm-test-suite.
I’ve recently been using the suite, with an x86-64 host and cross-compiling for a different target. The runtime for the target does not have the required headers to build tool/fcmp-target and tools/timeit-target. I configured CMake to use the host tools for timing and comparison, running the cross-compiled code in a simulator when llvm-lit is later executed (TEST_SUITE_USER_MODE_EMULATION).
However, some of the benchmarks have timeit-target and fcmp-target as dependencies, even if these tools are not going to be used when running llvm-lit on the suite. I had to manually edit tools/CMakeLists.txt, so that these targets are created without cross-compilation, enabling the benchmarks to build.
Have I missed something in the documents about disabling fcmp-target and timeit-target builds for a cross-compiled target?
Thanks,
Chris