[Openmp-commits] [PATCH] D135630: [DeviceRTL] CMake fix using target-level dependency

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 10 15:59:30 PDT 2022


ye-luo created this revision.
Herald added a project: All.
ye-luo requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

File-level dependency should not be used on files generated during the build. The next command may execute before the generating command finishes writing the file. Use add_custom_target and use target-level dependency.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135630

Files:
  openmp/libomptarget/DeviceRTL/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135630.466658.patch
Type: text/x-patch
Size: 6888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221010/22aad81d/attachment.bin>


More information about the Openmp-commits mailing list