Verified Commit 75fe8867 authored by Michael R. Crusoe's avatar Michael R. Crusoe 🏳️‍🌈
Browse files

i386 works!

parent 29088e10
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
htslib (1.9-12) unstable; urgency=medium

  * Fix for the autopkgtest on i386 means we can re-enable it! (Closes: #942580)

 -- Michael R. Crusoe <michael.crusoe@gmail.com>  Mon, 09 Dec 2019 19:06:02 +0100

htslib (1.9-11) unstable; urgency=medium

  * Install README at request of upstream
+3 −3
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ Vcs-Git: https://salsa.debian.org/med-team/htslib.git
Homepage: https://github.com/samtools/htslib

Package: libhts2
Architecture: any-amd64 arm64 armel armhf mips mips64el mipsel ppc64el s390x alpha hppa ia64 m68k powerpc powerpcspe ppc64 riscv64 sh4 sparc64 x32
Architecture: any
Multi-Arch: same
Section: libs
Depends: ${misc:Depends},
@@ -39,7 +39,7 @@ Description: C library for high-throughput sequencing data formats
 new index and then for the old if the new index is absent.

Package: libhts-dev
Architecture: any-amd64 arm64 armel armhf mips mips64el mipsel ppc64el s390x alpha hppa ia64 m68k powerpc powerpcspe ppc64 riscv64 sh4 sparc64 x32
Architecture: any
Multi-Arch: same
Section: libdevel
Depends: libhts2 (= ${binary:Version}),
@@ -99,7 +99,7 @@ Description: Test data for HTSlib
 This package contains test files and scripts for the HTSlib.

Package: tabix
Architecture: any-amd64 arm64 armel armhf mips mips64el mipsel ppc64el s390x alpha hppa ia64 m68k powerpc powerpcspe ppc64 riscv64 sh4 sparc64 x32
Architecture: any
Depends: ${misc:Depends},
         ${shlibs:Depends}
Description: generic indexer for TAB-delimited genome position files
+11 −4
Original line number Diff line number Diff line
@@ -4,16 +4,23 @@ set -e
pkg="htslib"

if [ "$AUTOPKGTEST_TMP" = "" ] ; then
  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
	AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
fi

cp -aL /usr/share/${pkg}-test/* $AUTOPKGTEST_TMP
cp -aL /usr/share/${pkg}-test/* "$AUTOPKGTEST_TMP"

cd $AUTOPKGTEST_TMP
cd "$AUTOPKGTEST_TMP"

sed -i 's#\$(HTSPREFIX)#/usr/include/#g' htslib_vars.mk
sed -i 's#\$(HTSLIB)#/usr/include/#g' htslib.mk

CFLAGS="-O2 -fno-strict-aliasing -fno-code-hoisting" make -e check
CFLAGS="-O2 -fno-strict-aliasing -fno-code-hoisting"

if grep sse /proc/cpuinfo > /dev/null; then
	CFLAGS+=" -msse -mfpmath=sse"
fi
export CFLAGS

make -e check

echo "PASS"