[compiler-rt] [compiler-rt] Improve lit test discovery speed on Darwin (PR #195193)

Andrew Haberlandt via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 17:01:39 PDT 2026


================
@@ -334,3 +335,22 @@ def build_invocation(compile_flags, with_lto=False):
 
 if config.target_os == "NetBSD":
     config.substitutions.insert(0, ("%run", config.netbsd_noaslr_prefix))
+
+if config.target_os == "Darwin":
----------------
ndrewh wrote:

_Technically_, this call (and all the sysctl calls) are supposed to run on the target device, which may not be the host. CMake has no idea how to communicate with remote devices.

https://github.com/llvm/llvm-project/pull/195193


More information about the llvm-commits mailing list