[med-svn] [Git][python-team/packages/mypy][master] 4 commits: d/rules: drop armhf down to -O1 due to persistant out of memory errors on the buildbots.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Mon Nov 13 19:05:19 GMT 2023



Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy


Commits:
b826f295 by Michael R. Crusoe at 2023-11-13T13:56:53+01:00
d/rules: drop armhf down to -O1 due to persistant out of memory errors on the buildbots.

- - - - -
2aa81566 by Michael R. Crusoe at 2023-11-13T13:57:41+01:00
reduce build-time gcc debugging level for all 32-bit archs

- - - - -
51ccc5d9 by Michael R. Crusoe at 2023-11-13T13:58:24+01:00
d/rules: try again to compile using mypyc on riscv64 and mips64el.

- - - - -
983b3502 by Michael R. Crusoe at 2023-11-13T19:37:52+01:00
release 1.7.0-2

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+mypy (1.7.0-2) unstable; urgency=medium
+
+  * d/rules: drop armhf down to -O1 due to persistant out of memory
+    errors on the buildbots.
+  * d/rules: reduce build-time gcc debugging level (to "-g1") for all 32-bit
+    archs.
+  * d/rules: try again to compile using mypyc on riscv64 and mips64el.
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Mon, 13 Nov 2023 19:37:41 +0100
+
 mypy (1.7.0-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/rules
=====================================
@@ -12,14 +12,16 @@ endif
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 include /usr/share/dpkg/default.mk
 
-ifneq (,$(filter $(DEB_BUILD_ARCH),hppa armel armhf))
+ifneq (,$(filter $(DEB_BUILD_ARCH),hppa armel))
   export MYPYC_OPT_LEVEL=2
-else ifeq ($(DEB_HOST_ARCH_BITS), 32)
+else ifneq (,$(filter $(DEB_BUILD_ARCH),armhf))
+  export MYPYC_OPT_LEVEL=1
+endif
+ifeq ($(DEB_HOST_ARCH_BITS), 32)
   export DEB_CFLAGS_MAINT_APPEND += -g1
   export DEB_CXXFLAGS_MAINT_APPEND += -g1
 endif
 
-
 %:
 	dh $@ $(WITH) --buildsystem=pybuild
 
@@ -43,7 +45,7 @@ debian/sphinx/stubgen_options.rst: docs/source/stubgen.rst
 	sed -n -e '/stubgen --help/,$$ {/stubgen --help/d; p}' $< > $@
 
 override_dh_auto_build-arch:
-ifneq (,$(filter $(DEB_BUILD_ARCH), mips64el mipsel alpha ia64 m68k powerpc riscv64 sh4 sparc64))
+ifneq (,$(filter $(DEB_BUILD_ARCH), mipsel alpha ia64 m68k powerpc sh4 sparc64))
 	MYPY_USE_MYPYC=0 dh_auto_build
 else
 	MYPY_USE_MYPYC=1 dh_auto_build



View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/bc1cca9ea7c8b8a7f0f2689a8438ecf661850790...983b3502b508bcae24467d72c7d34904dbfbeae8

-- 
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/bc1cca9ea7c8b8a7f0f2689a8438ecf661850790...983b3502b508bcae24467d72c7d34904dbfbeae8
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/20231113/16c86430/attachment-0001.htm>


More information about the debian-med-commit mailing list