File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ if(NOT DEFINED GPUCA_HIP_HIPIFY_FROM_CUDA OR "${GPUCA_HIP_HIPIFY_FROM_CUDA}")
5252 list (APPEND HIP_SOURCES "${GPUCA_HIP_SOURCE_DIR} /${HIP_SOURCE} " )
5353 endforeach ()
5454
55- add_custom_target (${MODULE} _HIPIFIED_CHK COMMAND diff -u ${GPUCA_HIP_SOURCE_DIR} /GPUReconstructionHIPkernel.template.hip ${CMAKE_CURRENT_SOURCE_DIR} /GPUReconstructionHIPkernel.template.hip DEPENDS ${GPUCA_HIP_SOURCE_DIR} /GPUReconstructionHIPkernel.template.hip ${CMAKE_CURRENT_SOURCE_DIR} /GPUReconstructionHIPkernel.template.hip)
55+ add_custom_command (OUTPUT ${CMAKE_CURRENT_BINARY_DIR} /${MODULE} _HIPIFIED_CHK.done COMMAND diff -u ${GPUCA_HIP_SOURCE_DIR} /GPUReconstructionHIPkernel.template.hip ${CMAKE_CURRENT_SOURCE_DIR} /GPUReconstructionHIPkernel.template.hip && touch ${CMAKE_CURRENT_BINARY_DIR} /${MODULE} _HIPIFIED_CHK.done DEPENDS ${GPUCA_HIP_SOURCE_DIR} /GPUReconstructionHIPkernel.template.hip ${CMAKE_CURRENT_SOURCE_DIR} /GPUReconstructionHIPkernel.template.hip)
56+ add_custom_target (${MODULE} _HIPIFIED_CHK DEPENDS ${CMAKE_CURRENT_BINARY_DIR} /${MODULE} _HIPIFIED_CHK.done)
5657else ()
5758 get_filename_component (GPUCA_HIP_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} ABSOLUTE )
5859endif ()
You can’t perform that action at this time.
0 commit comments