Skip to content

Commit

Permalink
build.sh: use per-project compilation database location
Browse files Browse the repository at this point in the history
Fix problems with host-tools building and phoenix-builder calling.

JIRA: CI-504
  • Loading branch information
nalajcie committed Oct 10, 2024
1 parent 68a2af8 commit c79d67d
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 @@ -214,6 +214,10 @@ for tool in "${HOSTUTILS[@]}"; do
[ -e "$toolfile" ] && cp -a "$toolfile" "$PREFIX_BOOT"
done

# use per-project compile_commands.json compilation database
COMPILE_DB_FNAME="compile_commands.json"
ln -sf "$PREFIX_BUILD/$COMPILE_DB_FNAME" "$COMPILE_DB_FNAME"

#
# Build core part
#
Expand Down

0 comments on commit c79d67d

Please sign in to comment.