Verified Commit 58280ea8 authored by Michael R. Crusoe's avatar Michael R. Crusoe 🏳️‍🌈
Browse files

more arch optimization reductions

parent 4d3d4b7e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
mypy (0.740-4) UNRELEASED; urgency=medium

  * Poor mipsel, can't handle -O2 either. PowerPC and ia64 both have
    "Error: operand out of  range" errors, so drop each of them another -O level
    to see if that helps at all.

 -- Michael R. Crusoe <michael.crusoe@gmail.com>  Fri, 25 Oct 2019 17:39:41 +0200

mypy (0.740-3) unstable; urgency=medium

  * Further lower package build time optimization for armhf, armel, mips64el,
+4 −2
Original line number Diff line number Diff line
@@ -14,10 +14,12 @@ endif

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
ifneq (,$(filter $(DEB_HOST_ARCH),armhf mips64el mipsel ia64 risc64))
ifneq (,$(filter $(DEB_HOST_ARCH),armhf mips64el risc64))
  export MYPYC_OPT_LEVEL=2
else ifneq (,$(filter $(DEB_HOST_ARCH),armel alpha m68k powerpc sh4))
else ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel alpha ia64 m68k sh4))
  export MYPYC_OPT_LEVEL=1
else ifneq (,$(filter $(DEB_HOST_ARCH),powerpc))
  export MYPYC_OPT_LEVEL=0
endif

%: