Skip to content

Commit

Permalink
add -f to avoid SupportedDiopiFunctions.txt changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaochaoxing committed Nov 2, 2023
1 parent c0c647b commit dd81534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dipu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit dd81534

Please sign in to comment.