forked from mirrors/gecko-dev
Passing all the directories to mach allows to take more advantage of
parallelism (plus not having to start up mach and the whole export once
for every directory, which itself takes a bit of time)
This takes:
GECKO_PATH=. taskcluster/scripts/misc/source-test-clang-non-unified.sh
from about ten mins to under two minutes on my machine.
Differential Revision: https://phabricator.services.mozilla.com/D101320
5 lines
134 B
Bash
Executable file
5 lines
134 B
Bash
Executable file
#!/bin/bash
|
|
|
|
NON_UNIFIED_CFG=$GECKO_PATH/build/non-unified-compat
|
|
|
|
cat "$NON_UNIFIED_CFG" | xargs ./mach static-analysis check-syntax
|