[all-commits] [llvm/llvm-project] 4792ae: [libc] Fix building the RPC server with LIBC_NAMES...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Sep 7 10:47:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4792ae5cd549763b35ddf3aa4ce19c59bb9691b9
      https://github.com/llvm/llvm-project/commit/4792ae5cd549763b35ddf3aa4ce19c59bb9691b9
  Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M libc/CMakeLists.txt
    M libc/utils/gpu/server/CMakeLists.txt

  Log Message:
  -----------
  [libc] Fix building the RPC server with LIBC_NAMESPACE (#65642)

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.




More information about the All-commits mailing list