Skip to content

Commit 80abfa0

Browse files
committed
Don't force to use all processors in autobake-deb.sh
The dpkg-buildpackage has by default sensible values for --jobs and --try-jobs, and it also inherits whatever 'parallel' is set in DEB_BUILD_OPTIONS. Overriding it here should not be needed and removing it is better, since it allows build systems to control the level or parallel builds via DEB_BUILD_OPTIONS if they want, which they often do (e.g. to avoid CPU congestion or overheating laptops).
1 parent 1589cf1 commit 80abfa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/autobake-deb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ fi
126126
# Build the package
127127
# Pass -I so that .git and other unnecessary temporary and source control files
128128
# will be ignored by dpkg-source when creating the tar.gz source package.
129-
fakeroot dpkg-buildpackage -us -uc -I $BUILDPACKAGE_FLAGS -j$(nproc)
129+
fakeroot dpkg-buildpackage -us -uc -I $BUILDPACKAGE_FLAGS
130130

131131
# If the step above fails due to missing dependencies, you can manually run
132132
# sudo mk-build-deps debian/control -r -i

0 commit comments

Comments
 (0)