[med-svn] [Git][python-team/packages/mypy][debian/experimental] 2 commits: d/rules: enable building the python extensions in parallel, respecting DEB_BUILD_OPTIONS.
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Thu Jan 23 17:22:11 GMT 2025
Michael R. Crusoe pushed to branch debian/experimental at Debian Python Team / packages / mypy
Commits:
2ee55f9c by Michael R. Crusoe at 2025-01-23T17:54:08+01:00
d/rules: enable building the python extensions in parallel, respecting DEB_BUILD_OPTIONS.
- - - - -
23f10988 by Michael R. Crusoe at 2025-01-23T17:56:25+01:00
d/salsa-ci.yml: Enable both of the speed-up build profiles to hopefully finish the build within the 3 hour limit.
- - - - -
3 changed files:
- debian/changelog
- debian/rules
- debian/salsa-ci.yml
Changes:
=====================================
debian/changelog
=====================================
@@ -14,6 +14,10 @@ mypy (1.15~rc0.1-1) experimental; urgency=medium
we don't normally do that.
* d/rules: added a build profile extension: pkg.mypy.o1 to speed up
compilation by enabling MYPYC_OPT_LEVEL=1 → -O1 instead of -O3
+ * d/rules: enable building the python extensions in parallel, respecting
+ DEB_BUILD_OPTIONS.
+ * d/salsa-ci.yml: Enable both of the speed-up build profiles to hopefully
+ finish the build within the 3 hour limit.
-- Michael R. Crusoe <crusoe at debian.org> Wed, 22 Jan 2025 19:21:23 +0100
=====================================
debian/rules
=====================================
@@ -51,7 +51,9 @@ debian/sphinx/stubgen_options.rst: docs/source/stubgen.rst
sed -n -e '/stubgen --help/,$$ {/stubgen --help/d; p}' $< > $@
override_dh_auto_build-arch:
- MYPY_USE_MYPYC=1 dh_auto_build
+ echo "[build_ext]\nparallel=$(DEB_BUILD_OPTION_PARALLEL)\n" > $(CURDIR)/debian/extra-setup.cfg
+ DIST_EXTRA_CONFIG=$(CURDIR)/debian/extra-setup.cfg MYPY_USE_MYPYC=1 dh_auto_build
+ rm $(CURDIR)/debian/extra-setup.cfg
override_dh_auto_build-indep: manpages
MYPY_USE_MYPYC=0 dh_auto_build
=====================================
debian/salsa-ci.yml
=====================================
@@ -1,3 +1,6 @@
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
+
+variables:
+ SALSA_CI_DPKG_BUILDPACKAGE_ARGS: --build-profiles=pkg.mypy.multifile,pkg.mypy.o1
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/dc6fcce96341163fba81ed46a3990e28fe27bbe5...23f10988579176259e6ce60392d825eff8e37520
--
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/dc6fcce96341163fba81ed46a3990e28fe27bbe5...23f10988579176259e6ce60392d825eff8e37520
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/20250123/1ea960d2/attachment-0001.htm>
More information about the debian-med-commit
mailing list