[libc-commits] [libc] [do not submit] testing purposes only (PR #145984)
Amy Huang via libc-commits
libc-commits at lists.llvm.org
Fri Jun 27 10:22:43 PDT 2025
https://github.com/amykhuang updated https://github.com/llvm/llvm-project/pull/145984
>From 64c8e256abe811a5915d59f810f5006f51efd839 Mon Sep 17 00:00:00 2001
From: Amy Huang <akhuang at google.com>
Date: Thu, 26 Jun 2025 15:41:32 -0700
Subject: [PATCH] [do not submit] testing purposes only
---
libc/CMakeLists.txt | 2 ++
libc/cmake/modules/LLVMLibCArchitectures.cmake | 1 +
2 files changed, 3 insertions(+)
diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt
index 507b3aa88babf..9197281e73099 100644
--- a/libc/CMakeLists.txt
+++ b/libc/CMakeLists.txt
@@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 3.20.0)
set(LLVM_SUBPROJECT_TITLE "libc")
+# nothing change
+
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
message(FATAL_ERROR "Builds rooted in the libc directory are not supported. "
"Builds should be rooted in the runtimes directory instead. "
diff --git a/libc/cmake/modules/LLVMLibCArchitectures.cmake b/libc/cmake/modules/LLVMLibCArchitectures.cmake
index c94a407d974df..74186f156a44b 100644
--- a/libc/cmake/modules/LLVMLibCArchitectures.cmake
+++ b/libc/cmake/modules/LLVMLibCArchitectures.cmake
@@ -187,6 +187,7 @@ elseif(LIBC_TARGET_OS STREQUAL "darwin")
set(LIBC_TARGET_OS_IS_DARWIN TRUE)
elseif(LIBC_TARGET_OS STREQUAL "windows")
set(LIBC_TARGET_OS_IS_WINDOWS TRUE)
+ message(FATAL_ERROR "hello world")
elseif(LIBC_TARGET_OS STREQUAL "gpu")
set(LIBC_TARGET_OS_IS_GPU TRUE)
elseif(LIBC_TARGET_OS STREQUAL "uefi")
More information about the libc-commits
mailing list