[all-commits] [llvm/llvm-project] 570950: [offload] Fix finding amdgpu/nvptx-arch to generat...

Joel E. Denny via All-commits all-commits at lists.llvm.org
Wed Apr 9 12:54:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5709506de0e8cdeaf291952302f80b81eb03206a
      https://github.com/llvm/llvm-project/commit/5709506de0e8cdeaf291952302f80b81eb03206a
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2025-04-09 (Wed, 09 Apr 2025)

  Changed paths:
    M offload/cmake/Modules/LibomptargetGetDependencies.cmake

  Log Message:
  -----------
  [offload] Fix finding amdgpu/nvptx-arch to generate tests (#135072)

PR #134713, which landed as 79cb6f05da37, causes this on my test
systems:

```
-- Building AMDGPU plugin for dlopened libhsa
-- Not generating AMDGPU tests, no supported devices detected. Use 'LIBOMPTARGET_FORCE_AMDGPU_TESTS' to override.
-- Building CUDA plugin for dlopened libcuda
-- Not generating NVIDIA tests, no supported devices detected. Use 'LIBOMPTARGET_FORCE_NVIDIA_TESTS' to override.
```

The problem is it cannot locate amdgpu-arch and nvptx-arch. This patch
enables it to.

I suspect there is more cleanup to do here. amdgpu-arch and nvptx-arch
do not appear to exist as cmake targets anymore, but there is still
cmake code here that looks for those targets.



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