Skip to content

Commit

Permalink
add soft link for the compile_commands.json
Browse files Browse the repository at this point in the history
  • Loading branch information
xiedeyantu committed Jul 22, 2023
1 parent 0b2b1cb commit 329b807
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -703,4 +703,8 @@ if [[ -n "${DORIS_POST_BUILD_HOOK}" ]]; then
eval "${DORIS_POST_BUILD_HOOK}"
fi

if [[ -f "${CMAKE_BUILD_DIR}/compile_commands.json" ]]; then
ln -s ${CMAKE_BUILD_DIR}/compile_commands.json ${DORIS_HOME}/compile_commands.json
fi

exit 0

0 comments on commit 329b807

Please sign in to comment.