We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11e32c6 commit 6a77930Copy full SHA for 6a77930
build-support/run_clang_tidy.sh
@@ -33,9 +33,11 @@ done
33
SCRIPT=$(which run-clang-tidy)
34
set +e
35
nproc
36
-if [[ $? == 0 ]]; then
37
- python3 $SCRIPT -p build -j$(nproc) $(cat files.txt)
+if [[ $? == 0]]; then
+ NUM_THREADS=$(nproc)
38
else
39
- python3 $SCRIPT -p build -j8 $(cat files.txt)
+ NUM_THREADS=8
40
fi
41
+set -e
42
+python3 $SCRIPT -p build -j$(nproc) $(cat files.txt)
43
rm -f files.txt
0 commit comments