Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] fix build failures due to SIGCHLD #94093

Merged
merged 1 commit into from
Jun 1, 2024

Conversation

SchrodingerZhu
Copy link
Contributor

No description provided.

@SchrodingerZhu SchrodingerZhu requested a review from lntue June 1, 2024 04:20
@llvmbot llvmbot added the libc label Jun 1, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Jun 1, 2024

@llvm/pr-subscribers-libc

Author: Schrodinger ZHU Yifan (SchrodingerZhu)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/94093.diff

2 Files Affected:

  • (modified) libc/test/src/__support/threads/linux/CMakeLists.txt (+1)
  • (modified) libc/test/src/__support/threads/linux/raw_mutex_test.cpp (+1)
diff --git a/libc/test/src/__support/threads/linux/CMakeLists.txt b/libc/test/src/__support/threads/linux/CMakeLists.txt
index ce9becb923c3a..4299a5617b8ff 100644
--- a/libc/test/src/__support/threads/linux/CMakeLists.txt
+++ b/libc/test/src/__support/threads/linux/CMakeLists.txt
@@ -9,4 +9,5 @@ add_libc_test(
     libc.src.sys.mman.mmap
     libc.src.sys.mman.munmap
     libc.src.stdlib.exit
+    libc.hdr.signal_macros
 )
diff --git a/libc/test/src/__support/threads/linux/raw_mutex_test.cpp b/libc/test/src/__support/threads/linux/raw_mutex_test.cpp
index aff6c8be0cb1b..918f5d35c94f4 100644
--- a/libc/test/src/__support/threads/linux/raw_mutex_test.cpp
+++ b/libc/test/src/__support/threads/linux/raw_mutex_test.cpp
@@ -6,6 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "hdr/signal_macros.h"
 #include "include/llvm-libc-macros/linux/time-macros.h"
 #include "src/__support/CPP/atomic.h"
 #include "src/__support/OSUtil/syscall.h"

@SchrodingerZhu SchrodingerZhu merged commit 63fc26c into llvm:main Jun 1, 2024
8 checks passed
@SchrodingerZhu SchrodingerZhu deleted the origin/main-3 branch June 1, 2024 06:34
HendrikHuebner pushed a commit to HendrikHuebner/llvm-project that referenced this pull request Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants