[Libreoffice-commits] online.git: Makefile.am

Miklos Vajna vmiklos at collabora.co.uk
Wed Aug 16 15:02:42 UTC 2017


 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3f248729716eaff7e609d9e9d30284782069e565
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Jul 11 12:34:57 2017 +0200

    clang-tidy: invoke this in parallel
    
    The moreutils-parallel package provides this command (at least on
    openSUSE).
    
    Change-Id: I53ec59c2e886f651676f6e64a16215793a917b73

diff --git a/Makefile.am b/Makefile.am
index 1ec26be0..f83fb463 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -281,7 +281,7 @@ clean-cache cache-clean:
 	test -n "@LOOLWSD_CACHEDIR@" && rm -rf "@LOOLWSD_CACHEDIR@"/[0-9a-f]
 
 clang-tidy:
-	for i in $(shell git ls-files|grep /.*cpp$$|grep -v test); do echo $$i; clang-tidy -header-filter=^$(PWD).* $$i || break; done
+	parallel clang-tidy -header-filter=^$(PWD).* -- $(shell git ls-files|grep /.*cpp$$|grep -v test)
 
 # After building loolforkit, set its capabilities as required. Do it
 # already after a plain 'make' to allow for testing without


More information about the Libreoffice-commits mailing list