From e0b8f3f660f840d201d966a69e418e807aab8b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 19 Aug 2015 10:38:20 +0200 Subject: some work to reduce buildtime --- debian/rules | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 2828376..b735031 100755 --- a/debian/rules +++ b/debian/rules @@ -23,8 +23,16 @@ include /usr/share/dpkg/buildflags.mk #export CC=gcc-5 #export CXX=g++-5 +NO_CPUS=$(shell cat /proc/cpuinfo | grep processor | wc -l) + %: - dh $@ --with autotools-dev + dh $@ --with autotools-dev --parallel + +override_dh_auto_build: + make -j$(NO_CPUS) + +override_dh_auto_test: + make -j$(NO_CPUS) test override_dh_clean: rm -f $(CURDIR)/libcult/build/system/configuration-dynamic.make -- cgit v1.2.3