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 --- .pc/.dpkg-source-unapply | 0 .pc/.quilt_patches | 1 + .pc/.quilt_series | 1 + .pc/.version | 1 + debian/rules | 10 +++++++++- 5 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .pc/.dpkg-source-unapply create mode 100644 .pc/.quilt_patches create mode 100644 .pc/.quilt_series create mode 100644 .pc/.version diff --git a/.pc/.dpkg-source-unapply b/.pc/.dpkg-source-unapply new file mode 100644 index 0000000..e69de29 diff --git a/.pc/.quilt_patches b/.pc/.quilt_patches new file mode 100644 index 0000000..6857a8d --- /dev/null +++ b/.pc/.quilt_patches @@ -0,0 +1 @@ +debian/patches diff --git a/.pc/.quilt_series b/.pc/.quilt_series new file mode 100644 index 0000000..c206706 --- /dev/null +++ b/.pc/.quilt_series @@ -0,0 +1 @@ +series diff --git a/.pc/.version b/.pc/.version new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/.pc/.version @@ -0,0 +1 @@ +2 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