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

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 27 20:00:09 PDT 2022


jhuber6 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}
----------------
Should this be `EXTRACT_TOOL`?


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