-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[libc] Stop installing sys/types.h when not requested
#119765
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
Conversation
Summary: This is installed unconditionally because of the dependency in the `hdr/` directory. Remove this so it's only used on the systems that need it.
|
@llvm/pr-subscribers-libc Author: Joseph Huber (jhuber6) ChangesSummary: Full diff: https://github.com/llvm/llvm-project/pull/119765.diff 1 Files Affected:
diff --git a/libc/hdr/types/CMakeLists.txt b/libc/hdr/types/CMakeLists.txt
index 68a0e9603f9752..ce3ecefe364383 100644
--- a/libc/hdr/types/CMakeLists.txt
+++ b/libc/hdr/types/CMakeLists.txt
@@ -137,7 +137,6 @@ add_proxy_header_library(
clockid_t.h
FULL_BUILD_DEPENDS
libc.include.llvm-libc-types.clockid_t
- libc.include.sys_types
)
add_proxy_header_library(
@@ -173,7 +172,6 @@ add_proxy_header_library(
pid_t.h
FULL_BUILD_DEPENDS
libc.include.llvm-libc-types.pid_t
- libc.include.sys_types
)
add_proxy_header_library(
|
|
Right, the headers are only generated for fullbuild. The proxy headers fall back to sys/types.h when in overlay mode. LGTM |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/17427 Here is the relevant piece of the build log for the reference |
Summary:
This is installed unconditionally because of the dependency in the
hdr/directory. Remove this so it's only used on the systems that needit.