[Openmp-commits] [openmp] deba92d - [DeviceRTL] Fix a CMake multi-step compilation dependency issue.
Ye Luo via Openmp-commits
openmp-commits at lists.llvm.org
Thu Oct 6 17:09:38 PDT 2022
Author: Ye Luo
Date: 2022-10-06T19:07:39-05:00
New Revision: deba92d6c28d4433d66292e531efd34f4153836e
URL: https://github.com/llvm/llvm-project/commit/deba92d6c28d4433d66292e531efd34f4153836e
DIFF: https://github.com/llvm/llvm-project/commit/deba92d6c28d4433d66292e531efd34f4153836e.diff
LOG: [DeviceRTL] Fix a CMake multi-step compilation dependency issue.
caused by 92233159035d1b50face95d886901cf99035bd99
Added:
Modified:
openmp/libomptarget/DeviceRTL/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/DeviceRTL/CMakeLists.txt b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
index ab7eaa9d9979..c6ba287a7ecf 100644
--- a/openmp/libomptarget/DeviceRTL/CMakeLists.txt
+++ b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
@@ -244,7 +244,7 @@ function(compileDeviceRTLLibrary target_cpu target_name target_triple)
endif()
if("${EXTRACT_TOOL}" STREQUAL "$<TARGET_FILE:llvm-extract>")
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/extracted_${bclib_name}
- DEPENDS opt
+ DEPENDS llvm-extract
APPEND)
endif()
if("${PACKAGER_TOOL}" STREQUAL "$<TARGET_FILE:clang-offload-packager>")
More information about the Openmp-commits
mailing list