[all-commits] [llvm/llvm-project] 465f4a: [libc] Install GPU headers to `gpu-none-llvm/` sub...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Mar 28 12:27:53 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 465f4ac9d7c4167a11c2c5a159c4b4c09f49a35a
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M libc/include/CMakeLists.txt

  Log Message:
  [libc] Install GPU headers to `gpu-none-llvm/` subfolder

The GPU support for the `libc` generates all its own headers. Since
these headers use the same names as the system headers we need to make
sure that they are separate. Currently, we either use the system headers
on the GPU or the GPU headers on the system. This patch makes them
explicitly separate. A follow-up patch will then make `clang` look in
this folder by default.

Reviewed By: sivachandra, lntue

Differential Revision: https://reviews.llvm.org/D146970

More information about the All-commits mailing list