Skip to content

Commit

Permalink
[libc] Disable '_exit' on the GPU build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jhuber6 committed Apr 2, 2024
1 parent c403a47 commit 6335de4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions libc/config/gpu/entrypoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion libc/config/gpu/headers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6335de4

Please sign in to comment.