[med-svn] [Git][python-team/packages/mypy][debian/experimental] d/rules: compile with less debugging on i386/x32 to avoid running out of virtual memory.
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Fri Aug 16 23:49:55 BST 2024
Michael R. Crusoe pushed to branch debian/experimental at Debian Python Team / packages / mypy
Commits:
8c841ce7 by Michael R. Crusoe at 2024-08-17T00:39:39+02:00
d/rules: compile with less debugging on i386/x32 to avoid running out of virtual memory.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mypy (1.11.1-2~0exp1) experimental; urgency=medium
+
+ * d/rules: compile with less debugging on i386 to avoid running out of
+ virtual memory.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Fri, 16 Aug 2024 12:46:40 +0200
+
mypy (1.11.1-2~0exp0) experimental; urgency=medium
* d/patches: cherry-pick 3 patches from upstream to fix a regression
=====================================
debian/rules
=====================================
@@ -9,7 +9,7 @@ include /usr/share/dpkg/pkg-info.mk
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
-ifneq (,$(filter $(DEB_BUILD_ARCH),armel armhf hppa riscv64 mipsel alpha ia64 m68k powerpc sh4 sparc64))
+ifneq (,$(filter $(DEB_HOST_ARCH),armel armhf hppa riscv64 mipsel alpha ia64 m68k powerpc sh4 sparc64))
export MYPYC_MULTI_FILE=1
endif
ifneq (,$(filter $(DEB_HOST_ARCH),mips64el))
@@ -17,7 +17,12 @@ ifneq (,$(filter $(DEB_HOST_ARCH),mips64el))
endif
export DEB_CFLAGS_MAINT_APPEND += -Wno-misleading-indentation
-export MYPYC_DEBUG_LEVEL=2
+
+ifneq (,$(filter $(DEB_HOST_ARCH),i386 x32))
+ export MYPYC_DEBUG_LEVEL=1
+else
+ export MYPYC_DEBUG_LEVEL=2
+endif
%:
dh $@ --buildsystem=pybuild
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/8c841ce770765c17435793831661268935ac837c
--
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/8c841ce770765c17435793831661268935ac837c
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/20240816/2a139021/attachment-0001.htm>
More information about the debian-med-commit
mailing list