[med-svn] [Git][med-team/hmmer][master] d/rules: use DEB_BUILD_OPTION_PARALLEL instead of nproc to respect Debian Policy 4.9.1.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Wed May 28 13:29:23 BST 2025



Michael R. Crusoe pushed to branch master at Debian Med / hmmer


Commits:
5f54d52f by Michael R. Crusoe at 2025-05-28T12:29:21+00:00
d/rules: use DEB_BUILD_OPTION_PARALLEL instead of nproc to respect Debian Policy 4.9.1. 
- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -39,7 +39,7 @@ override_dh_auto_configure:
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	export V=VERBOSE ; make check -j$(shell nproc) | tee debian/test_log
+	export V=VERBOSE ; make check $(DEB_BUILD_OPTION_PARALLEL:%=-j %) | tee debian/test_log
 	if tail -n 6 debian/test_log | head -n 1 | grep -q FAILED ; then false ; fi
 endif
 



View it on GitLab: https://salsa.debian.org/med-team/hmmer/-/commit/5f54d52ff6a35735209bb9fe9820eb3d39b51077

-- 
View it on GitLab: https://salsa.debian.org/med-team/hmmer/-/commit/5f54d52ff6a35735209bb9fe9820eb3d39b51077
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20250528/967c9130/attachment-0001.htm>


More information about the debian-med-commit mailing list