fune/taskcluster/scripts/misc/source-test-clang-non-unified.sh
Emilio Cobos Álvarez c60fdae7a4 Bug 1685957 - Use xargs to test non-unified builds. r=andi
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
2021-01-11 04:25:29 +00:00

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