diff --git a/ci/check-syntax.sh b/ci/check-syntax.sh index 069862f0e41..c5043ff512c 100755 --- a/ci/check-syntax.sh +++ b/ci/check-syntax.sh @@ -12,7 +12,7 @@ pushd "${WORKSPACE}/build" cmake -D CMAKE_BUILD_TYPE=Debug $CMAKE_FLAGS ../sources -make re2_st # Generated headers +make -j $THREADS re2_st # Generated headers jq --raw-output '.[] | .command' compile_commands.json | grep -v -P -- '-c .+/contrib/' | sed -r -e 's/-o\s+\S+/-fsyntax-only/' > syntax-commands xargs --arg-file=syntax-commands --max-procs=$THREADS --replace /bin/sh -c "{}"