dmpots wrote: > You could make the test binary a cmake dependency, see > `lldb/test/CMakeLists.txt`. Perhaps in: > > ``` > if(TARGET lldb-server) > add_lldb_test_dependency(lldb-server) > endif() > ```
Just so it's clear, it is not lldb-server itself that is the slow dependency, but the cpp file in the test directory. I think you mean we could create a new binary from the test file. Pulling out the [cpp file](https://github.com/llvm/llvm-project/blob/main/lldb/test/API/tools/lldb-server/main.cpp) into a separate tool might work. I don't know if there are any issues trying that. It's now building with the just-built clang binaries hooks into the dotest build system which seems to allow more flexibility in building it in different ways at test runtime (although I'm not sure we actually rely on that flexibility). https://github.com/llvm/llvm-project/pull/129614 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits