[Openmp-commits] [PATCH] D136911: [DeviceRTL] Fix incremental build

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 27 20:18:22 PDT 2022


ye-luo added inline comments.


================
Comment at: openmp/libomptarget/DeviceRTL/CMakeLists.txt:230
   )
-  add_dependencies(extracted_${bclib_name} ${bclib_name})
+  if("${OPT_TOOL}" STREQUAL "$<TARGET_FILE:llvm-extract>")
+    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/extracted_${bclib_name}
----------------
jhuber6 wrote:
> Should this be `EXTRACT_TOOL`?
Good catch. Will fix it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136911



More information about the Openmp-commits mailing list