[all-commits] [llvm/llvm-project] 6a6f3c: [libc] Remove hard dependencies on linux from macr...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Aug 29 09:38:51 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a6f3c99a29cfb57ad2011f1601b249871053da6
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M libc/include/llvm-libc-macros/CMakeLists.txt

  Log Message:
  [libc] Remove hard dependencies on linux from macros headers

Currently all of this logic expects to include and link with the headers
in the `linux/` directory. This patch adds a wrapper macro to optionally
add the appropriate dependency if it exists. This is preliminary to
adding some GPU specific versions of these files.

Reviewed By: lntue

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

More information about the All-commits mailing list