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


Commits:
c6579182 by Michael R. Crusoe at 2018-12-18T08:38:50Z
try suggestion from 
https://github.com/samtools/htslib/issues/565#issuecomment-448028771

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/htslib-test.lintian-overrides
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+htslib (1.9-7~1~i386~1) experimental; urgency=medium
+
+  * Turn on SSE for i386, as suggested at
+    https://github.com/samtools/htslib/issues/565#issuecomment-448028771
+
+ -- Michael R. Crusoe <[email protected]>  Tue, 18 Dec 2018 00:27:40 
-0800
+
 htslib (1.9-7~0~i386~gcc7~1) experimental; urgency=medium
 
   * Try dropping to gcc-7 on i386*


=====================================
debian/control
=====================================
@@ -6,7 +6,6 @@ Uploaders: Charles Plessy <[email protected]>,
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 11~),
-               gcc-7 [i386 kfreebsd-i386 hurd-i386],
                dh-exec,
                libbz2-dev,
                libcurl4-gnutls-dev,


=====================================
debian/htslib-test.lintian-overrides
=====================================
@@ -0,0 +1,2 @@
+# As needed for testing
+duplicated-compressed-file usr/share/htslib-test/test/bgziptest.txt.gz


=====================================
debian/rules
=====================================
@@ -8,12 +8,9 @@ export DH_VERBOSE=1
 include /usr/share/dpkg/default.mk
 
 ifneq (,$(filter $(DEB_HOST_ARCH),i386 kfreebsd-i386 hurd-i386))
-  export DEB_CFLAGS_MAINT_APPEND=-fno-strict-aliasing -fno-code-hoisting
-  export CC=gcc-7
-else
-  export CC=gcc
+  DEB_CFLAGS_MAINT_APPEND=-msse -mfpmath=sse
 endif
-DEB_CFLAGS_MAINT_APPEND+=-flto
+export DEB_CFLAGS_MAINT_APPEND+=-flto
 export DEB_LDFLAGS_MAINT_APPEND+=-Wl,-flto
 
 %:
@@ -26,7 +23,7 @@ override_dh_auto_configure:
        dh_auto_configure -- --enable-libcurl
 
 override_dh_auto_build:
-       dh_auto_build -- CC=$(CC)\
+       dh_auto_build -- \
          CFLAGS="$$(dpkg-buildflags --get CFLAGS)" \
          CPPFLAGS="-I. -DSAMTOOLS=1 $$(dpkg-buildflags --get CPPFLAGS)" \
          LDFLAGS="$$(dpkg-buildflags --get LDFLAGS)" \



View it on GitLab: 
https://salsa.debian.org/med-team/htslib/commit/c6579182471e49b2877cd575738661e7ca075743

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/htslib/commit/c6579182471e49b2877cd575738661e7ca075743
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to