[all-commits] [llvm/llvm-project] 300e5b: [Offload] Fix enabling plugins on unsupported plat...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu May 23 06:07:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 300e5b91144249a5b142b02d6331fcb33e13cf1d
      https://github.com/llvm/llvm-project/commit/300e5b91144249a5b142b02d6331fcb33e13cf1d
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M offload/CMakeLists.txt
    M offload/plugins-nextgen/amdgpu/CMakeLists.txt
    M offload/plugins-nextgen/cuda/CMakeLists.txt
    M offload/plugins-nextgen/host/CMakeLists.txt

  Log Message:
  -----------
  [Offload] Fix enabling plugins on unsupported platforms (#93186)

Summary:
Certain plugins can only be built on specific platforms. Previously this
didn't cause issues becaues each one was handled independently. However,
now that we link these all directly they need to be in a CMake list.
Furthermore we use this list to generate a config file. For this reason
these checks are moved to where we normalize the support.

Fixes: https://github.com/llvm/llvm-project/issues/93183



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