[libc-commits] [libc] f99880e - [libc][NFC] Fix typo in GPU test warning message (#193762)

via libc-commits libc-commits at lists.llvm.org
Thu Apr 23 07:57:41 PDT 2026


Author: Jeff Bailey
Date: 2026-04-23T15:57:37+01:00
New Revision: f99880ef8cc6e5cd410e2f903e71dde98f15cc5c

URL: https://github.com/llvm/llvm-project/commit/f99880ef8cc6e5cd410e2f903e71dde98f15cc5c
DIFF: https://github.com/llvm/llvm-project/commit/f99880ef8cc6e5cd410e2f903e71dde98f15cc5c.diff

LOG: [libc][NFC] Fix typo in GPU test warning message (#193762)

The warning referred to CMAKE_CROSS_COMPILING_EMULATOR (with an extra
underscore) instead of CMAKE_CROSSCOMPILING_EMULATOR.

Added: 
    

Modified: 
    libc/test/CMakeLists.txt

Removed: 
    


################################################################################
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