From c79d67dbb102e26b299b18a89e89f9267ee48dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Bia=C5=82ow=C4=85s?= Date: Thu, 10 Oct 2024 15:47:02 +0200 Subject: [PATCH] build.sh: use per-project compilation database location Fix problems with host-tools building and phoenix-builder calling. JIRA: CI-504 --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 579c9300..a3b77b4f 100755 --- a/build.sh +++ b/build.sh @@ -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 #