[libc-commits] [libc] [libc][NFC] Fix typo in GPU test warning message (PR #193762)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Thu Apr 23 07:24:47 PDT 2026
https://github.com/kaladron created https://github.com/llvm/llvm-project/pull/193762
The warning referred to CMAKE_CROSS_COMPILING_EMULATOR (with an extra underscore) instead of CMAKE_CROSSCOMPILING_EMULATOR.
>From 1c550c23f067b2fce8c2440d2011140f34875a9c Mon Sep 17 00:00:00 2001
From: Jeff Bailey <jbailey at raspberryginger.com>
Date: Thu, 23 Apr 2026 14:23:24 +0000
Subject: [PATCH] [libc][NFC] Fix typo in GPU test warning message
The warning referred to CMAKE_CROSS_COMPILING_EMULATOR (with
an extra underscore) instead of CMAKE_CROSSCOMPILING_EMULATOR.
---
libc/test/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libc/test/CMakeLists.txt b/libc/test/CMakeLists.txt
index dcfae50790c2e..95c97cf170cf9 100644
--- a/libc/test/CMakeLists.txt
+++ b/libc/test/CMakeLists.txt
@@ -49,7 +49,7 @@ add_subdirectory(UnitTest)
if(LIBC_TARGET_OS_IS_GPU)
if(NOT CMAKE_CROSSCOMPILING_EMULATOR)
- message(WARNING "Cannot build libc GPU tests, set CMAKE_CROSS_COMPILING_EMULATOR.")
+ message(WARNING "Cannot build libc GPU tests, set CMAKE_CROSSCOMPILING_EMULATOR.")
return()
elseif(LIBC_GPU_TESTS_DISABLED)
message(WARNING "Cannot build libc GPU tests, missing target architecture.")
More information about the libc-commits
mailing list