[Openmp-commits] [PATCH] D101509: An attempt to abandon omptarget out-of-tree builds.

Vyacheslav Zakharin via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 10 19:17:27 PDT 2021


vzakhari added a comment.

I have a guess that `clang-resource-headers` are not built at the point, where we invoke `clang`.  Can you please check this workaround in `openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt`?

  add_custom_command(
    OUTPUT ${bc1_filename}
    COMMAND ${cu_cmd} ${file} -o ${bc1_filename}
    DEPENDS ${file} ${h_files} clang-resource-headers)

I added `clang-resource-headers` dependency after `${h_files}`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101509



More information about the Openmp-commits mailing list