From deba92d6c28d4433d66292e531efd34f4153836e Mon Sep 17 00:00:00 2001 From: Ye Luo Date: Thu, 6 Oct 2022 19:05:14 -0500 Subject: [PATCH] [DeviceRTL] Fix a CMake multi-step compilation dependency issue. caused by 92233159035d1b50face95d886901cf99035bd99 --- openmp/libomptarget/DeviceRTL/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "$") add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/extracted_${bclib_name} - DEPENDS opt + DEPENDS llvm-extract APPEND) endif() if("${PACKAGER_TOOL}" STREQUAL "$")