diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2015-08-25 16:01:51 +0000 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2015-11-16 18:25:08 +0100 |
commit | e267e167db3056f5c26facfaa3a8b6a310138623 (patch) | |
tree | 64f68b9c43f5930fa07ad4ea7991f437df75dfa8 | |
parent | 2855682bd37b72a22a4a7e5de3469c615fb15bbe (diff) | |
download | gst-vaapi-e267e167db3056f5c26facfaa3a8b6a310138623.tar.gz |
debian: remove custom parallel compilation
In order to build a debian package with upstream source, the user should
do
./autogen.sh
cp -a debian.upstream debian
debuild -eDEB_BUILD_OPTIONS="parallel=8" -us -uc -b
The environment variable DEB_BUILD_OPTIONS="parallel=8" is the canonical
way to make a parallel build (-j8 in this case).
This commit removes the script in debian/rules that detects the number of
cpus, requested by the environment variable DEBIAN_BUILD_NCPUS, which is not
official in debian.
Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=754087
-rwxr-xr-x | debian.upstream/rules | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/debian.upstream/rules b/debian.upstream/rules index 4a73db61..fe7eae2c 100755 --- a/debian.upstream/rules +++ b/debian.upstream/rules @@ -5,15 +5,6 @@ include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk include /usr/share/cdbs/1/rules/utils.mk -# Allow SMP build -ifeq ($(DEBIAN_BUILD_NCPUS),) - DEBIAN_BUILD_NCPUS = $(shell /usr/bin/getconf _NPROCESSORS_ONLN) -endif -ifneq ($(DEBIAN_BUILD_NCPUS),) - EXTRA_MAKE_FLAGS += -j$(DEBIAN_BUILD_NCPUS) -endif -MAKE += $(EXTRA_MAKE_FLAGS) - # Allow HTML documentation build indep_conf_flags = \ --with-html-dir=\$${prefix}/share/doc/$(DEB_SOURCE_PACKAGE) |