[libcxx-commits] [libcxx] [libc++] Address missing cmake in libcxx.test.googlebenchmark (PR #225590)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 22 23:05:19 PDT 2026


================
@@ -180,7 +180,11 @@ def prepare(config, litConfig):
     installDir = os.path.join(prefix, "install")
     os.makedirs(root, exist_ok=True)
 
-    cmake = os.environ.get("CMAKE", "cmake")
+    cmake = (
+        litConfig.params.get("cmake")
----------------
zeroomega wrote:

This is added just in case if user override cmake through `--param cmake=/path/to/cmake` when running llvm-lit

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


More information about the libcxx-commits mailing list