[Openmp-commits] [PATCH] D107156: [libomptarget][amdcgn] Add build dependency for opt

Khem Raj via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 27 13:30:50 PDT 2021


raj.khem added a comment.

This breaks a case where opt is used from installed locations especially in standalone cross-build environment we pass -DOPT_TOOL=${STAGING_BINDIR_NATIVE}/opt and it worked ok but now its expecting opt to be built along with openmp build and fails like below

NOTE: cmake --build TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/openmp/13.0.0-r0/build --target all --
ninja: error: 'libomptarget/deviceRTLs/amdgcn/opt', needed by 'libomptarget/deviceRTLs/amdgcn/libomptarget-amdgcn-gfx701.bc', missing and no known rule to make it

how can be solve this now ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107156



More information about the Openmp-commits mailing list