[med-svn] [Git][med-team/seqan2][debian/experimental] Skip building razers & razers3 on all architectures.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Wed Aug 7 12:24:18 BST 2024



Michael R. Crusoe pushed to branch debian/experimental at Debian Med / seqan2


Commits:
f661ae49 by Michael R. Crusoe at 2024-08-07T13:23:34+02:00
Skip building razers & razers3 on all architectures.

- - - - -


4 changed files:

- debian/changelog
- debian/patches/skip-some-apps-on-some-archs
- debian/rules
- debian/salsa-ci.yml


Changes:

=====================================
debian/changelog
=====================================
@@ -6,6 +6,7 @@ seqan2 (2.5.0~rc1+dfsg-1) UNRELEASED; urgency=medium
   * d/patches: many patches upstreamed and removed.
   * d/rules: remove max build limit for amd64 from 2018.
   * Stop building in parallel
+  * Skip building razers & razers3 on all architectures.
 
  -- Michael R. Crusoe <crusoe at debian.org>  Sat, 03 Aug 2024 13:24:50 +0200
 


=====================================
debian/patches/skip-some-apps-on-some-archs
=====================================
@@ -9,43 +9,23 @@ then update debian/README.Debian
 
 --- seqan2.orig/apps/razers/CMakeLists.txt
 +++ seqan2/apps/razers/CMakeLists.txt
-@@ -17,6 +17,16 @@
+@@ -17,6 +17,9 @@
      return ()
  endif (SEQAN_GH_ACTIONS_BUILD)
  
-+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mips")
-+    message (STATUS "  Not building razers on mips due to memory requirements.")
-+    return ()
-+endif ()
-+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mipsel")
-+    message (STATUS "  Not building razers on mipsel due to memory requirements.")
-+    return ()
-+endif ()
-+
++message (STATUS "  Not building razers on mips due to memory requirements.")
++return ()
 +
  # ----------------------------------------------------------------------------
  # Dependencies
  # ----------------------------------------------------------------------------
 --- seqan2.orig/apps/razers3/CMakeLists.txt
 +++ seqan2/apps/razers3/CMakeLists.txt
-@@ -12,6 +12,21 @@
+@@ -12,6 +12,8 @@
  
  set (SEQAN_APP_VERSION "3.5.9")
  
-+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mips")
-+    message (STATUS "  Not building razers3 on mips due to memory requirements.")
-+    return ()
-+endif ()
-+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "mipsel")
-+    message (STATUS "  Not building razers3 on mipsel due to memory requirements.")
-+    return ()
-+endif ()
-+if ("$ENV{DEB_BUILD_ARCH}" STREQUAL "sh4")
-+    message (STATUS "  Not building razers3 on sh4 due to memory requirements.")
-+    return ()
-+endif ()
-+
-+
++message (STATUS "  Not building razers3 on mips due to memory requirements.")
 +
  # ----------------------------------------------------------------------------
  # Dependencies


=====================================
debian/rules
=====================================
@@ -10,9 +10,7 @@ include /usr/share/dpkg/pkg-info.mk
 export HOME=$(CURDIR)/fakehome
 
 # Droping -fstack-protector flag helps **drastically** reducing memory consumption when building the package!!!!
-# export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-fstack-protector *//')  ## don't do this, it simply triggers #759978
 # export DEB_BUILD_MAINT_OPTIONS = hardening=-stackprotector
-# alternatively: export DEB_CXXFLAGS_STRIP='-fstack-protector'
 
 include /usr/share/dpkg/architecture.mk
 


=====================================
debian/salsa-ci.yml
=====================================
@@ -2,3 +2,6 @@
 include:
   - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
   - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+
+variables:
+  SALSA_CI_BUILD_TIMEOUT_ARGS: "2.75h"



View it on GitLab: https://salsa.debian.org/med-team/seqan2/-/commit/f661ae495bafea9bea22ab0f5133bb3aa9788982

-- 
View it on GitLab: https://salsa.debian.org/med-team/seqan2/-/commit/f661ae495bafea9bea22ab0f5133bb3aa9788982
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/20240807/422f4bd4/attachment-0001.htm>


More information about the debian-med-commit mailing list