[med-svn] [Git][med-team/ncbi-blastplus][master] 5 commits: Start ncbi-blast+ 2.16.0+ds-4 for more arch-specific tuneups.

Aaron M. Ucko (@ucko) gitlab at salsa.debian.org
Sun Jul 28 03:42:50 BST 2024



Aaron M. Ucko pushed to branch master at Debian Med / ncbi-blastplus


Commits:
993f4083 by Aaron M. Ucko at 2024-07-27T22:25:36-04:00
Start ncbi-blast+ 2.16.0+ds-4 for more arch-specific tuneups.

- - - - -
8b91d14e by Aaron M. Ucko at 2024-07-27T22:28:38-04:00
debian/rules: Move architecture.mk inclusion to the very top

... for the sake of hypothetical builds bypassing dpkg-buildpackage.

- - - - -
4c228421 by Aaron M. Ucko at 2024-07-27T22:35:02-04:00
Compile with -ffunction-sections on hppa and -mxgot on mips*

... (mips64el in practice) due to having outgrown default settings.

- - - - -
f38fd07d by Aaron M. Ucko at 2024-07-27T22:37:56-04:00
Disable parallel building on sh4

... in hopes of avoiding buildd virtual memory exhaustion.

- - - - -
52c39a81 by Aaron M. Ucko at 2024-07-27T22:38:53-04:00
Finalize ncbi-blast+ 2.16.0+ds-4 for unstable.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+ncbi-blast+ (2.16.0+ds-4) unstable; urgency=medium
+
+  * debian/rules:
+    - Move architecture.mk inclusion to the very top for the sake of
+      hypothetical builds bypassing dpkg-buildpackage.
+    - Compile with -ffunction-sections on hppa and -mxgot on mips*
+      (mips64el in practice) due to having outgrown default settings.
+    - Disable parallel building on sh4 in hopes of avoiding buildd virtual
+      memory exhaustion.
+
+ -- Aaron M. Ucko <ucko at debian.org>  Sat, 27 Jul 2024 22:38:52 -0400
+
 ncbi-blast+ (2.16.0+ds-3) unstable; urgency=medium
 
   * debian/rules: Fix typo (missing parenthesis).


=====================================
debian/rules
=====================================
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+include /usr/share/dpkg/architecture.mk
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
@@ -8,7 +10,9 @@ export HOME=$(CURDIR)/fakehome
 
 NUMJOBS=1
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  ifneq (sh4,$(DEB_BUILD_ARCH))
     NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  endif
 endif
 
 DEB_CONFIGURE_COMMON_FLAGS=--without-autodep --without-makefile-auto-update \
@@ -34,7 +38,16 @@ ifeq ($(DEB_HOST_ARCH_BITS),32)
   endif
 endif
 
-include /usr/share/dpkg/architecture.mk
+ifeq (hppa,$(DEB_HOST_ARCH))
+  export DEB_CFLAGS_MAINT_APPEND   += -ffunction-sections
+  export DEB_CXXFLAGS_MAINT_APPEND += -ffunction-sections
+endif
+# Down to mips64el in practice, but easy enough to generalize
+ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))
+  export DEB_CFLAGS_MAINT_APPEND   += -mxgot
+  export DEB_CXXFLAGS_MAINT_APPEND += -mxgot
+endif
+
 include /usr/share/dpkg/buildflags.mk
 
 ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))



View it on GitLab: https://salsa.debian.org/med-team/ncbi-blastplus/-/compare/21d06e91516f3e6ff59bd39576cb41f3ae486df5...52c39a81773b4fd6326a51d10183dbb44e296ae1

-- 
View it on GitLab: https://salsa.debian.org/med-team/ncbi-blastplus/-/compare/21d06e91516f3e6ff59bd39576cb41f3ae486df5...52c39a81773b4fd6326a51d10183dbb44e296ae1
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/20240728/0bad3b3c/attachment-0001.htm>


More information about the debian-med-commit mailing list