[libc-commits] [libc] d515a6e - [libc] Remove redundant file(COPY) for x86_64 types (#201317)
via libc-commits
libc-commits at lists.llvm.org
Wed Jun 3 04:38:07 PDT 2026
Author: Jeff Bailey
Date: 2026-06-03T12:38:02+01:00
New Revision: d515a6e5381d967f81f5d18d1b2a7a3255b48dc6
URL: https://github.com/llvm/llvm-project/commit/d515a6e5381d967f81f5d18d1b2a7a3255b48dc6
DIFF: https://github.com/llvm/llvm-project/commit/d515a6e5381d967f81f5d18d1b2a7a3255b48dc6.diff
LOG: [libc] Remove redundant file(COPY) for x86_64 types (#201317)
Removed the redundant file(COPY) command from the x86_64 architecture
check in libc/include/llvm-libc-types/CMakeLists.txt.
This command eagerly copies the x86_64 directory to the binary
directory, which is redundant because individual headers are already
copied by their respective add_header targets. It also preserved
read-only depot permissions from the source tree, making the build
directory read-only and causing rm -rf to fail.
Assisted-by: Automated tooling, human reviewed.
Added:
Modified:
libc/include/llvm-libc-types/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/include/llvm-libc-types/CMakeLists.txt b/libc/include/llvm-libc-types/CMakeLists.txt
index 5586eff88ef6d..6f01921995afa 100644
--- a/libc/include/llvm-libc-types/CMakeLists.txt
+++ b/libc/include/llvm-libc-types/CMakeLists.txt
@@ -134,7 +134,6 @@ set(mcontext_deps)
set(ucontext_deps .sigset_t .stack_t)
if(LIBC_TARGET_ARCHITECTURE STREQUAL "x86_64")
- file(COPY x86_64 DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
add_header(
mcontext_t_arch
HDR
More information about the libc-commits
mailing list