This is an archive of the discontinued LLVM Phabricator instance.

[libc] Make the RPC server target always available
ClosedPublic

Authored by jhuber6 on Jun 29 2023, 9:25 AM.

Details

Summary

This patch makes sure that we always build the RPC server. The proposed
used for this is to begin integrating this server implementation into
libomptarget. That requires that we build this server ahead of time
when using a LLVM_ENABLE_PROJECTS build. Make a few tweaks to ensure
that the GCC compiler which may be used for this build doesn't complain.

Diff Detail

Event Timeline

jhuber6 created this revision.Jun 29 2023, 9:25 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 29 2023, 9:25 AM
jhuber6 requested review of this revision.Jun 29 2023, 9:25 AM
JonChesterfield accepted this revision.Jun 30 2023, 9:24 AM
JonChesterfield retitled this revision from [libc] Make the RPC server target always availible to [libc] Make the RPC server target always available.
JonChesterfield added inline comments.
libc/utils/gpu/server/CMakeLists.txt
10

This may grow complexity over time :(

This revision is now accepted and ready to land.Jun 30 2023, 9:24 AM
This revision was automatically updated to reflect the committed changes.