[Openmp-commits] [PATCH] D123177: [libomptarget] Add device RTL to regression test dependencies.

Brooks Davis via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Apr 11 13:49:48 PDT 2022


brooks added a comment.

This fails to configure in cmake when enabled as a project.

  $ cmake ../llvm -DLLVM_ENABLE_PROJECTS='llvm;clang;lld;openmp'
  ...
  -- Configuring done
  CMake Error at /home/bed22/git/llvm-project/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt:74 (add_dependencies):
    The dependency target "omptarget.devicertl.amdgpu" of target
    "omptarget.rtl.amdgpu" does not exist.
  
  
  -- Generating done
  CMake Generate step failed.  Build files cannot be regenerated correctly.

Reverting this commit allows cmake to succeed. The linkage fix in rG2e0cb61570ec <https://reviews.llvm.org/rG2e0cb61570eceff04a18fbcbeb0014ece2b56438> does not fix this issue.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123177/new/

https://reviews.llvm.org/D123177



More information about the Openmp-commits mailing list