Attempting to build a deb package with 8 parallel jobs but can only spawn one single job.
I've got the following debian/rules file:
Code:
#!/usr/bin/make -f
export DH_OPTIONS
%:
dh $@ --with autotools-dev
I tried running:
- dpkg-buildpackage -j8
- setting (and exporting)
DEB_BUILD_OPTIONS=parallel=8
- and even setting (and exporting)
MAKEFLAGS=-j8
Nothing worked and the build makes use of only one core. What's the correct procedure to spawn a parallel build?
NOTE: source builds using all 8 logical cores if
make -j8 is used instead.