[libc-commits] [libc] 6335de4 - [libc] Disable '_exit' on the GPU build
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Tue Apr 2 13:24:16 PDT 2024
Author: Joseph Huber
Date: 2024-04-02T15:24:06-05:00
New Revision: 6335de4a23e4b71020861b872f51bafb79fbe419
URL: https://github.com/llvm/llvm-project/commit/6335de4a23e4b71020861b872f51bafb79fbe419
DIFF: https://github.com/llvm/llvm-project/commit/6335de4a23e4b71020861b872f51bafb79fbe419.diff
LOG: [libc] Disable '_exit' on the GPU build
Summary:
There are other dependencies to enable `unistd.h` on the GPU which
prevented the header from being generated. This is a POSIX extension and
isn't part of the core `libc`, so we can just disable this for now to
get the bots gree.
Added:
Modified:
libc/config/gpu/entrypoints.txt
libc/config/gpu/headers.txt
Removed:
################################################################################
diff --git a/libc/config/gpu/entrypoints.txt b/libc/config/gpu/entrypoints.txt
index 827b5937e63602..4fb87cb9f5a33e 100644
--- a/libc/config/gpu/entrypoints.txt
+++ b/libc/config/gpu/entrypoints.txt
@@ -211,9 +211,6 @@ set(TARGET_LIBC_ENTRYPOINTS
# gpu/rpc.h entrypoints
libc.src.gpu.rpc_host_call
-
- # unistd.h entrypoints
- libc.src.unistd._exit
)
set(TARGET_LIBM_ENTRYPOINTS
diff --git a/libc/config/gpu/headers.txt b/libc/config/gpu/headers.txt
index 37c063a7ef6f7e..dd16938da8a447 100644
--- a/libc/config/gpu/headers.txt
+++ b/libc/config/gpu/headers.txt
@@ -12,7 +12,6 @@ set(TARGET_PUBLIC_HEADERS
libc.include.errno
libc.include.stdlib
libc.include.stdio
- libc.include.unistd
# Header for RPC extensions
libc.include.gpu_rpc
More information about the libc-commits
mailing list