From dd8153439f16a9b2c5835f754b43e2043ce9fa70 Mon Sep 17 00:00:00 2001 From: zhaochaoxing Date: Wed, 1 Nov 2023 07:55:43 +0000 Subject: [PATCH] add -f to avoid SupportedDiopiFunctions.txt changes --- dipu/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dipu/CMakeLists.txt b/dipu/CMakeLists.txt index 778d35e8c..ab8d6a51a 100644 --- a/dipu/CMakeLists.txt +++ b/dipu/CMakeLists.txt @@ -34,7 +34,7 @@ add_compile_options(-DDIPU_GIT_HASH="${DIPU_GIT_HASH}") execute_process( COMMAND sh -x -c - "grep -Po 'diopi[a-zA-Z0-9]+(?=\\()' ${CMAKE_CURRENT_SOURCE_DIR}/scripts/autogen_diopi_wrapper/diopi_functions.yaml | sort -u > ${CMAKE_CURRENT_SOURCE_DIR}/SupportedDiopiFunctions.txt" + "grep -Po 'diopi[a-zA-Z0-9]+(?=\\()' ${CMAKE_CURRENT_SOURCE_DIR}/scripts/autogen_diopi_wrapper/diopi_functions.yaml | sort -uf > ${CMAKE_CURRENT_SOURCE_DIR}/SupportedDiopiFunctions.txt" ) execute_process(