[med-svn] [Git][med-team/ngs-sdk][master] Enable more architectures

Michael R. Crusoe gitlab at salsa.debian.org
Fri Jan 10 10:25:19 GMT 2020



Michael R. Crusoe pushed to branch master at Debian Med / ngs-sdk


Commits:
15ea4a1f by Michael R. Crusoe at 2020-01-10T11:23:17+01:00
Enable more architectures

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/patches/do_not_exclude_certain_architectures_explicitly.patch
- + debian/patches/more_archs
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+ngs-sdk (2.10.0-3) unstable; urgency=medium
+
+  * Team upload.
+
+  [Frédéric Bonnard]
+  * Add support for other architectures based on gcc atomic built-ins
+   (Closes: #813559)
+
+  [Michael R. Crusoe]
+  * debian/patches/more_archs: enable arm64, mips64el, ppc64el, s390x, riscv64
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Fri, 10 Jan 2020 11:20:47 +0100
+
 ngs-sdk (2.10.0-2) unstable; urgency=medium
 
   * Drop Python2 support


=====================================
debian/control
=====================================
@@ -40,8 +40,7 @@ Description: Next Generation Sequencing language Bindings
 Package: libngs-sdk-dev
 Architecture: any
 Section: libdevel
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
+Depends: ${misc:Depends},
          libngs-sdk2 (= ${binary:Version})
 Description: Next Generation Sequencing language Bindings (development)
  NGS is a new, domain-specific API for accessing reads, alignments and


=====================================
debian/patches/do_not_exclude_certain_architectures_explicitly.patch
=====================================
@@ -4,9 +4,9 @@ Bug-Debian: https://bugs.debian.org/813559
 Author: Andreas Tille <tille at debian.org>
 Last-Update: Wed, 03 Feb 2016 07:53:29 +0100
 
---- a/ngs-bam/setup/konfigure.perl
-+++ b/ngs-bam/setup/konfigure.perl
-@@ -218,8 +218,7 @@ if ($OS eq 'linux') {
+--- ngs-sdk.orig/ngs-bam/setup/konfigure.perl
++++ ngs-sdk/ngs-bam/setup/konfigure.perl
+@@ -224,8 +224,7 @@
  print "checking machine architecture... " unless ($AUTORUN);
  println $MARCH unless ($AUTORUN);
  unless ($MARCH =~ /x86_64/i || $MARCH =~ /i?86/i) {
@@ -16,9 +16,9 @@ Last-Update: Wed, 03 Feb 2016 07:53:29 +0100
  }
  
  {
---- a/ngs-java/setup/konfigure.perl
-+++ b/ngs-java/setup/konfigure.perl
-@@ -218,8 +218,7 @@ if ($OS eq 'linux') {
+--- ngs-sdk.orig/ngs-java/setup/konfigure.perl
++++ ngs-sdk/ngs-java/setup/konfigure.perl
+@@ -224,8 +224,7 @@
  print "checking machine architecture... " unless ($AUTORUN);
  println $MARCH unless ($AUTORUN);
  unless ($MARCH =~ /x86_64/i || $MARCH =~ /i?86/i) {
@@ -28,9 +28,9 @@ Last-Update: Wed, 03 Feb 2016 07:53:29 +0100
  }
  
  {
---- a/ngs-python/setup/konfigure.perl
-+++ b/ngs-python/setup/konfigure.perl
-@@ -218,8 +218,7 @@ if ($OS eq 'linux') {
+--- ngs-sdk.orig/ngs-python/setup/konfigure.perl
++++ ngs-sdk/ngs-python/setup/konfigure.perl
+@@ -224,8 +224,7 @@
  print "checking machine architecture... " unless ($AUTORUN);
  println $MARCH unless ($AUTORUN);
  unless ($MARCH =~ /x86_64/i || $MARCH =~ /i?86/i) {
@@ -40,9 +40,9 @@ Last-Update: Wed, 03 Feb 2016 07:53:29 +0100
  }
  
  {
---- a/ngs-sdk/setup/konfigure.perl
-+++ b/ngs-sdk/setup/konfigure.perl
-@@ -218,8 +218,7 @@ if ($OS eq 'linux') {
+--- ngs-sdk.orig/ngs-sdk/setup/konfigure.perl
++++ ngs-sdk/ngs-sdk/setup/konfigure.perl
+@@ -224,8 +224,7 @@
  print "checking machine architecture... " unless ($AUTORUN);
  println $MARCH unless ($AUTORUN);
  unless ($MARCH =~ /x86_64/i || $MARCH =~ /i?86/i) {


=====================================
debian/patches/more_archs
=====================================
@@ -0,0 +1,61 @@
+From: Michael R. Crusoe <michael.crusoe at gmail.com>
+Subject: Enable building on more architectures
+--- ngs-sdk.orig/ngs-java/setup/konfigure.perl
++++ ngs-sdk/ngs-java/setup/konfigure.perl
+@@ -315,6 +315,16 @@
+     $BITS = 32;
+ } elsif ($MARCH =~ /ppc64/i) {
+     $BITS = 64;
++} elsif ($MARCH eq 'aarch64') {
++    $BITS = 64;
++} elsif ($MARCH eq 'mips64') {
++    $BITS = 64;
++} elsif ($MARCH eq 'ppc64le') {
++    $BITS = 64;
++} elsif ($MARCH eq 's390x') {
++    $BITS = 64;
++} elsif ($MARCH eq 'riscv64') {
++    $BITS = 64;
+ } else {
+     die "unrecognized Architecture '$ARCH'";
+ }
+--- ngs-sdk.orig/ngs-sdk/setup/konfigure.perl
++++ ngs-sdk/ngs-sdk/setup/konfigure.perl
+@@ -315,6 +315,16 @@
+     $BITS = 32;
+ } elsif ($MARCH =~ /ppc64/i) {
+     $BITS = 64;
++} elsif ($MARCH eq 'aarch64') {
++    $BITS = 64;
++} elsif ($MARCH eq 'mips64') {
++    $BITS = 64;
++} elsif ($MARCH eq 'ppc64le') {
++    $BITS = 64;
++} elsif ($MARCH eq 's390x') {
++    $BITS = 64;
++} elsif ($MARCH eq 'riscv64') {
++    $BITS = 64;
+ } else {
+     die "unrecognized Architecture '$ARCH'";
+ }
+--- ngs-sdk.orig/ngs-python/setup/konfigure.perl
++++ ngs-sdk/ngs-python/setup/konfigure.perl
+@@ -313,6 +313,18 @@
+     $BITS = '32_64';
+ } elsif ($MARCH =~ /i?86/i) {
+     $BITS = 32;
++} elsif ($MARCH =~ /ppc64/i) {
++    $BITS = 64;
++} elsif ($MARCH eq 'aarch64') {
++    $BITS = 64;
++} elsif ($MARCH eq 'mips64') {
++    $BITS = 64;
++} elsif ($MARCH eq 'ppc64le') {
++    $BITS = 64;
++} elsif ($MARCH eq 's390x') {
++    $BITS = 64;
++} elsif ($MARCH eq 'riscv64') {
++    $BITS = 64;
+ } else {
+     die "unrecognized Architecture '$ARCH'";
+ }


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ fix_jni.patch
 do_not_exclude_certain_architectures_explicitly.patch
 fallback-on-generic-atomic32.patch
 enable-ppc64el.patch
+more_archs



View it on GitLab: https://salsa.debian.org/med-team/ngs-sdk/commit/15ea4a1f4f7c3b47ab41843247b52c2b7ae8ba68

-- 
View it on GitLab: https://salsa.debian.org/med-team/ngs-sdk/commit/15ea4a1f4f7c3b47ab41843247b52c2b7ae8ba68
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/20200110/5d971640/attachment-0001.html>


More information about the debian-med-commit mailing list