[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:16:05 PDT 2025
    
    
  
https://github.com/amykhuang updated https://github.com/llvm/llvm-project/pull/145984
>From e2d96129ecfb6cfab2030393dc7c09c42dd3c0e3 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..d3a2b02c253fc 100644
--- a/libc/cmake/modules/LLVMLibCArchitectures.cmake
+++ b/libc/cmake/modules/LLVMLibCArchitectures.cmake
@@ -35,6 +35,7 @@ function(get_arch_and_system_from_triple triple arch_var sys_var)
     set(target_arch "mips")
   elseif(target_arch MATCHES "^aarch64|^arm64")
     set(target_arch "aarch64")
+    message(FATAL_ERROR "hello world")
   elseif(target_arch MATCHES "^arm")
     set(target_arch "arm")
   elseif(target_arch MATCHES "(x86_64)|(AMD64|amd64)")
    
    
More information about the libc-commits
mailing list