[libc-commits] [libc] [libc] fix pthread build issue for full-build mode (PR #100912)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Sat Jul 27 20:48:06 PDT 2024
https://github.com/SchrodingerZhu created https://github.com/llvm/llvm-project/pull/100912
Fix a silly typo that stops pthread from being built
>From c1190488ab73dd3744827819db84d4854b5b414f Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <i at zhuyi.fan>
Date: Sat, 27 Jul 2024 20:46:38 -0700
Subject: [PATCH] [libc] fix pthread build issue for full-build mode
---
libc/src/__support/threads/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libc/src/__support/threads/CMakeLists.txt b/libc/src/__support/threads/CMakeLists.txt
index f1a2f162acfc2..ab474b23bcbfb 100644
--- a/libc/src/__support/threads/CMakeLists.txt
+++ b/libc/src/__support/threads/CMakeLists.txt
@@ -101,7 +101,7 @@ endif()
set(tid_dep)
if (LLVM_LIBC_FULL_BUILD)
- list(APPEND tid_dep libc.src.__support.thread)
+ list(APPEND tid_dep libc.src.__support.threads.thread)
else()
list(APPEND tid_dep libc.src.__support.OSUtil.osutil)
list(APPEND tid_dep libc.include.sys_syscall)
More information about the libc-commits
mailing list