[med-svn] [Git][med-team/infernal][master] * d/bin/cmalign: adjust SSE2 check to only run on i386 systems

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Sat Sep 16 15:00:40 BST 2023



Michael R. Crusoe pushed to branch master at Debian Med / infernal


Commits:
ad8e9c75 by Michael R. Crusoe at 2023-09-16T15:58:40+02:00
* d/bin/cmalign: adjust SSE2 check to only run on i386 systems

this allows the /usr/lib/infernal/cm* apps to run on arm64 systems.

- - - - -


2 changed files:

- debian/bin/cmalign
- debian/changelog


Changes:

=====================================
debian/bin/cmalign
=====================================
@@ -1,7 +1,7 @@
 #!/bin/sh
 BINNAME=`basename $0`
 
-if grep -q '^flags[[:space:]]*:.* sse2 ' /proc/cpuinfo ; then
+if ! dpkg-architecture --is i386 || grep -q '^flags[[:space:]]*:.* sse2 ' /proc/cpuinfo ; then
     /usr/lib/infernal/$BINNAME $@
 else
 cat <<EOT


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+infernal (1.1.5-2) unstable; urgency=medium
+
+  * Team upload.
+  * d/bin/cmalign: adjust SSE2 check to only run on i386 systems, allowing
+                   the /usr/lib/infernal/cm* apps to run on arm64 systems.
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Sat, 16 Sep 2023 15:58:22 +0200
+
 infernal (1.1.5-1) unstable; urgency=medium
 
   * Team upload.



View it on GitLab: https://salsa.debian.org/med-team/infernal/-/commit/ad8e9c7511ac953057b98504cbb24a3c76a87c2d

-- 
View it on GitLab: https://salsa.debian.org/med-team/infernal/-/commit/ad8e9c7511ac953057b98504cbb24a3c76a87c2d
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/20230916/751c8bd2/attachment-0001.htm>


More information about the debian-med-commit mailing list