[yade] 01/03: Enable yade on on mips/mipsel. (Closes: #777065)
Anton Gladky
gladk at moszumanska.debian.org
Tue Feb 17 00:48:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository yade.
commit ac47ddbf557bab3a0555a58520fe58ba79442323
Author: Dejan Latinovic <Dejan.Latinovic at imgtec.com>
Date: Mon Feb 16 20:08:52 2015 +0100
Enable yade on on mips/mipsel. (Closes: #777065)
---
debian/control | 6 +++---
debian/rules | 8 +++++++-
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index c6ca32f..6b6539e 100644
--- a/debian/control
+++ b/debian/control
@@ -56,7 +56,7 @@ Standards-Version: 3.9.6
XS-Testsuite: autopkgtest
Package: yade
-Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 powerpc ppc64el s390x x32
+Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 powerpc ppc64el s390x x32 mips mipsel
Pre-Depends:
${misc:Pre-Depends}
Multi-Arch: foreign
@@ -81,7 +81,7 @@ Description: Platform for discrete element modeling
This package contains speed-optimized build of yade.
Package: libyade
-Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 powerpc ppc64el s390x x32
+Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 powerpc ppc64el s390x x32 mips mipsel
Pre-Depends:
${misc:Pre-Depends}
Multi-Arch: same
@@ -104,7 +104,7 @@ Description: Platform for discrete element modeling. Libraries
This package contains yade`s libraries.
Package: python-yade
-Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 powerpc ppc64el s390x x32
+Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 powerpc ppc64el s390x x32 mips mipsel
Section: python
Pre-Depends:
${misc:Pre-Depends}
diff --git a/debian/rules b/debian/rules
index 57ede16..daf234e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,10 +9,14 @@ tmpDirMatplotLib = $(CURDIR)/debian/matplotlib
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,-no-keep-memory
# Theses flags are neccessry for weak archs. See #733152
-ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf hurd-i386 mips mipsel i386 kfreebsd-i386))
+ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf hurd-i386 i386 kfreebsd-i386))
export DEB_CXXFLAGS_MAINT_APPEND = --param ggc-min-expand=20 --param ggc-min-heapsize=128000
endif
+ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
+ export DEB_CXXFLAGS_MAINT_APPEND = --param ggc-min-expand=10 --param ggc-min-heapsize=128000
+endif
+
# Check, whether Build-Depends-Indep are installed
BUILD_DOC=$(shell dpkg -s python-sphinx | grep -q "^Status:.* installed$$" && echo yes)
@@ -42,7 +46,9 @@ override_dh_auto_install:
help2man $(tmpInstall)/usr/bin/yade > yade.1
help2man $(tmpInstall)/usr/bin/yade-batch > yade-batch.1
$(tmpInstall)/usr/bin/yade --test
+ifeq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
$(tmpInstall)/usr/bin/yade --check
+endif
dh_numpy
ifeq ($(BUILD_DOC), yes)
#Generate docs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yade.git
More information about the debian-science-commits
mailing list