[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:11:25 PDT 2025
https://github.com/amykhuang updated https://github.com/llvm/llvm-project/pull/145984
>From 2c1bfe339d8faf065a5ccd8ae565ccd55afe3a92 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 | 4 ++++
2 files changed, 6 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..289ec35699f81 100644
--- a/libc/cmake/modules/LLVMLibCArchitectures.cmake
+++ b/libc/cmake/modules/LLVMLibCArchitectures.cmake
@@ -57,6 +57,10 @@ function(get_arch_and_system_from_triple triple arch_var sys_var)
return()
endif()
+ if(target_arch == "aarch64")
+ message(FATAL_ERROR "fail if arm for testing")
+ endif()
+
set(${arch_var} ${target_arch} PARENT_SCOPE)
list(GET triple_comps ${system_index} target_sys)
More information about the libc-commits
mailing list