Skip to content

[libc] Fix building the RPC server with LIBC_NAMESPACE #65642

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

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

jhuber6
Copy link
Contributor

@jhuber6 jhuber6 commented Sep 7, 2023

A recent patch required the implementation to define LIBC_NAMESPACE.
For GPU offloading we provide a static library whose internal
implementation relies on the libc headers. This is a separate library
that is constructed during the "bootstrap" phase. This patch moves the
definition of the LIBC_NAMESPACE CMake variable up so its available
during bootstrapping and adds it to the definition of the RPC server.

Summary:
A recent patch required the implementation to define `LIBC_NAMESPACE`.
For GPU offloading we provide a static library whose internal
implementation relies on the `libc` headers. This is a separate library
that is constructed during the "bootstrap" phase. This patch moves the
definition of the `LIBC_NAMESPACE` CMake variable up so its available
during bootstrapping and adds it to the definition of the RPC server.
@jhuber6 jhuber6 requested a review from a team as a code owner September 7, 2023 17:14
@github-actions github-actions bot added the libc label Sep 7, 2023
@jhuber6 jhuber6 merged commit 4792ae5 into llvm:main Sep 7, 2023
@jhuber6 jhuber6 deleted the FixNamespace branch September 8, 2023 12:20
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.

3 participants