Étienne Mollier pushed to branch master at Debian Med / htscodecs
Commits: 3eb64d00 by Étienne Mollier at 2022-10-08T09:38:50+02:00 d/rules: disable simd support only on build breakages. Functions using extensions proceed to checks before making use of them at run time, thus avoiding cpu baseline violation. - - - - - 0f2a27ba by Étienne Mollier at 2022-10-08T09:46:10+02:00 d/libhtscodecs2.symbols: restore simd specific symbols as optional. - - - - - a2274360 by Étienne Mollier at 2022-10-08T09:48:16+02:00 ready to upload to unstable. - - - - - 3 changed files: - debian/changelog - debian/libhtscodecs2.symbols - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +htscodecs (1.3.0-4) unstable; urgency=medium + + * d/rules: disable simd support only on build breakages. + * d/libhtscodecs2.symbols: restore simd specific symbols as optional. + + -- Étienne Mollier <[email protected]> Sat, 08 Oct 2022 09:46:35 +0200 + htscodecs (1.3.0-3) unstable; urgency=medium * Team Upload. ===================================== debian/libhtscodecs2.symbols ===================================== @@ -23,8 +23,14 @@ libhtscodecs.so.2 libhtscodecs2 #MINVER# rans_compress@Base 0.5 rans_compress_4x16@Base 0.5 rans_compress_O0_32x16@Base 1.3.0 + (optional)rans_compress_O0_32x16_avx2@Base 1.3.0 + (optional)rans_compress_O0_32x16_avx512@Base 1.3.0 + (optional)rans_compress_O0_32x16_neon@Base 1.3.0 rans_compress_O0_4x16@Base 1.3.0 rans_compress_O1_32x16@Base 1.3.0 + (optional)rans_compress_O1_32x16_avx2@Base 1.3.0 + (optional)rans_compress_O1_32x16_avx512@Base 1.3.0 + (optional)rans_compress_O1_32x16_neon@Base rans_compress_bound_4x16@Base 0.5 rans_compress_to_4x16@Base 0.5 rans_compute_shift@Base 1.3.0 @@ -32,8 +38,16 @@ libhtscodecs.so.2 libhtscodecs2 #MINVER# rans_uncompress@Base 0.5 rans_uncompress_4x16@Base 0.5 rans_uncompress_O0_32x16@Base 1.3.0 + (optional)rans_uncompress_O0_32x16_avx2@Base 1.3.0 + (optional)rans_uncompress_O0_32x16_avx512@Base 1.3.0 + (optional)rans_uncompress_O0_32x16_sse4@Base 1.3.0 + (optional)rans_uncompress_O0_32x16_neon@Base 1.3.0 rans_uncompress_O0_4x16@Base 1.3.0 rans_uncompress_O1_32x16@Base 1.3.0 + (optional)rans_uncompress_O1_32x16_avx2@Base 1.3.0 + (optional)rans_uncompress_O1_32x16_avx512@Base 1.3.0 + (optional)rans_uncompress_O1_32x16_sse4@Base 1.3.0 + (optional)rans_uncompress_O1_32x16_neon@Base 1.3.0 rans_uncompress_to_4x16@Base 0.5 rle_decode@Base 0.5 rle_encode@Base 0.5 ===================================== debian/rules ===================================== @@ -10,13 +10,24 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ +# Only disable extended cpu flags support when they break the build +# process, or are not properly probed at run time on the platform. +# See mail exchanges on [email protected][1] for the rationale. +# +# [1]: https://lists.debian.org/debian-med/2022/10/msg00010.html execute_after_dh_auto_configure: +ifeq ($(DEB_HOST_ARCH),i386) + @ echo 'I: Disable 64-bit SIMD on i386.' sed -i -e '/HAVE_AVX2/d' \ -e '/HAVE_AVX512/d' \ -e '/HAVE_POPCNT/d' \ -e '/HAVE_SSE4_1/d' \ -e '/HAVE_SSSE3/d' config.h +endif +ifneq (,$(filter armel armhf,$(DEB_HOST_ARCH))) + @ echo 'I: Disable NEON on $(DEB_HOST_ARCH).' echo '#undef __ARM_NEON' >> config.h +endif # dh_missing warned about files not installed override_dh_auto_install: View it on GitLab: https://salsa.debian.org/med-team/htscodecs/-/compare/5ca8fa01cbac0b4166fade6662e936c467f7bd77...a2274360029995136e7ead83c843efef22979591 -- View it on GitLab: https://salsa.debian.org/med-team/htscodecs/-/compare/5ca8fa01cbac0b4166fade6662e936c467f7bd77...a2274360029995136e7ead83c843efef22979591 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
