From c1e1612fae0f18bf3a5538dddf3de385b32b087b Mon Sep 17 00:00:00 2001 From: Kirill Isakov Date: Sun, 15 Aug 2021 01:08:53 +0600 Subject: [PATCH] FreeBSD CI: unbreak clang-tidy. compiledb does not like the BSD make when running the -j flag. -n (for some weird reason) also produces an empty file list. --- .ci/tidy/run.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.ci/tidy/run.sh b/.ci/tidy/run.sh index 8af4767a..c5951a20 100755 --- a/.ci/tidy/run.sh +++ b/.ci/tidy/run.sh @@ -27,9 +27,7 @@ for path in $paths; do done if ! [ -f compile_commands.json ]; then - # Running compiledb directly on this doesn't work on FreeBSD for some reason. - make -j2 all extra - compiledb -n make check + compiledb make all extra fi echo >&2 "Running clang-tidy without $paths" -- 2.20.1