[Openmp-commits] [PATCH] D153628: OpenMP/cmake: Use TARGET_FILE instead of looking for amdgpu-arch

Matt Arsenault via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jun 23 12:59:17 PDT 2023


arsenm added a comment.

In D153628#4445094 <https://reviews.llvm.org/D153628#4445094>, @tianshilei1992 wrote:

> `$<TARGET_FILE:amdgpu-arch>` should work. We have similar code in `openmp/libomptarget/DeviceRTL/CMakeLists.txt`.

But those are to add_custom_command with an output that targets depend on, which is at build time. It seems to not work with execute_process which is configure time?


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

https://reviews.llvm.org/D153628



More information about the Openmp-commits mailing list