[all-commits] [llvm/llvm-project] 56bf0e: [OpenMP] Remove dependency on LLVM include directo...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Apr 21 13:22:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56bf0e720288ae6ba6e8635c7ec12f1e7d6f783b
      https://github.com/llvm/llvm-project/commit/56bf0e720288ae6ba6e8635c7ec12f1e7d6f783b
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-04-21 (Mon, 21 Apr 2025)

  Changed paths:
    M offload/DeviceRTL/CMakeLists.txt
    M offload/DeviceRTL/src/Kernel.cpp
    M offload/DeviceRTL/src/Mapping.cpp
    M offload/include/Shared/Environment.h

  Log Message:
  -----------
  [OpenMP] Remove dependency on LLVM include directory from DeviceRTL (#136359)

Summary:
Currently we depend on a single LLVM include directory. This is actually
only required to define one enum, which is highly unlikely to change.
THis patch makes the `Environment.h` include directory more hermetic so
we no long depend on other libraries. In exchange, we get a simpler
dependency list for the price of hard-coding `1` somewhere. I think it's
a valid trade considering that this flag is highly unlikely to change at
this point.

@ronlieb AMD version
https://gist.github.com/jhuber6/3313e6f957be14dc79fe85e5126d2cb3



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