diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-04-15 01:14:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 01:14:50 (GMT) |
commit | afc2281bbfcebebf974b89de77e9990443cbf2dc (patch) | |
tree | 1e887d251bb01877ebd0edd6be205ca5817ccc7d /bin | |
parent | f9c16de8a7f50afd6f5ef14df68074552388dae6 (diff) | |
download | hdf5-afc2281bbfcebebf974b89de77e9990443cbf2dc.zip hdf5-afc2281bbfcebebf974b89de77e9990443cbf2dc.tar.gz hdf5-afc2281bbfcebebf974b89de77e9990443cbf2dc.tar.bz2 |
Run parallel clang-format tasks (#2740)
Adds xargs arguments to enable running clang-format in parallel
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/format_source | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/format_source b/bin/format_source index 227d22a..1d9e88a 100755 --- a/bin/format_source +++ b/bin/format_source @@ -21,6 +21,6 @@ find . \( -type d -path ./config -prune -and -not -path ./config \) \ -or -name H5overflow.h \ \) \) \ -and \( -iname *.h -or -iname *.c -or -iname *.cpp -or -iname *.hpp -or -iname *.java \) \) \ - | xargs clang-format -style=file -i -fallback-style=none + | xargs -P0 -n1 clang-format -style=file -i -fallback-style=none exit 0 |