[all-commits] [llvm/llvm-project] c1c6ed: [libc] Remove 'packaged' GPU build support (#100208)

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Jul 24 05:23:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1c6ed83e9ac13c511961e5f5791034a63168e7e
      https://github.com/llvm/llvm-project/commit/c1c6ed83e9ac13c511961e5f5791034a63168e7e
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCLibraryRules.cmake
    M libc/docs/gpu/building.rst
    M libc/docs/gpu/using.rst
    M libc/lib/CMakeLists.txt

  Log Message:
  -----------
  [libc] Remove 'packaged' GPU build support (#100208)

Summary:
Previously, the GPU built the `libc` in a fat binary version that was
used to pass this to the link job in offloading languages like CUDA or
OpenMP. This was mostly required because NVIDIA couldn't consume the
standard static library version. Recent patches have now created the
`clang-nvlink-wrapper` which lets us do that. Now, the C library is just
included implicitly by the toolchain (or passed with -Xoffload-linker
-lc).

This code can be fully removed, which will heavily simplify the build
(and removed some bugs and garbage files I've encoutnered).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list