[med-svn] [Git][med-team/kalign][master] 3 commits: d/rules: pass the openmp-simd compiler flags.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Mon Mar 25 08:39:04 GMT 2024



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


Commits:
58daf1be by Michael R. Crusoe at 2024-03-25T08:59:20+01:00
d/rules: pass the openmp-simd compiler flags.

- - - - -
69f50409 by Michael R. Crusoe at 2024-03-25T09:08:13+01:00
d/rules: set the "simde:Built-Using" substitution variable used in d/control.

- - - - -
d2158e67 by Michael R. Crusoe at 2024-03-25T09:13:42+01:00
routine-update: Ready to upload to unstable

- - - - -


3 changed files:

- debian/changelog
- debian/patches/pass-proper-flags.patch
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+kalign (1:3.3.5-2) unstable; urgency=medium
+
+  * Team upload.
+  * d/rules: pass the openmp-simd compiler flags.
+  * d/rules: set the "simde:Built-Using" substitution variable used in
+    d/control.
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Mon, 25 Mar 2024 09:13:42 +0100
+
 kalign (1:3.3.5-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/patches/pass-proper-flags.patch
=====================================
@@ -1,6 +1,7 @@
 Description: At the moment flags are only being set for avx2/non-avx2, expand that to other simd
 Author: Nilesh Patra <nilesh at debian.org>
 Last-Update: 2022-11-05
+Forwarded: not-needed
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -87,10 +87,6 @@


=====================================
debian/rules
=====================================
@@ -4,6 +4,8 @@
 
 include /usr/share/dpkg/default.mk
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND+=-DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3
+export DEB_CXXFLAGS_MAINT_APPEND+=-DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3
 OBJ_DIR=obj-$(DEB_HOST_GNU_TYPE)
 prefix=$(CURDIR)/debian/$(DEB_SOURCE)/usr
 libexecdir=$(prefix)/lib/$(DEB_SOURCE)
@@ -22,17 +24,15 @@ ifeq (amd64,$(DEB_HOST_ARCH))
 	dh_auto_configure --builddirectory obj-avx2 -- -DBUILD_SHARED_LIBS=OFF -DINSTALL_PREFIX=/usr -DENABLE_SSE=ON -DENABLE_AVX=ON -DENABLE_AVX2=ON
 endif
 
-override_dh_auto_build:
-	dh_auto_build
 ifeq (amd64,$(DEB_HOST_ARCH))
+execute_after_dh_auto_build:
 	dh_auto_build --builddirectory obj-sse4.1
 	dh_auto_build --builddirectory obj-avx
 	dh_auto_build --builddirectory obj-avx2
 endif
 
-override_dh_auto_test:
+execute_after_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	dh_auto_test
 ifeq (amd64,$(DEB_HOST_ARCH))
 	set -e ; for SIMD in avx2 avx sse4.1 ; do \
 		if lscpu | grep -q $${SIMD} ; then \
@@ -44,8 +44,7 @@ ifeq (amd64,$(DEB_HOST_ARCH))
 endif
 endif
 
-override_dh_install:
-	dh_install
+execute_after_dh_install:
 	rm -rf debian/$(DEB_SOURCE)/usr/lib/$(DEB_HOST_MULTIARCH)/
 	dh_install obj-$(DEB_HOST_GNU_TYPE)/src/kalignfmt usr/bin
 ifeq (amd64,$(DEB_HOST_ARCH))
@@ -64,3 +63,6 @@ ifeq (amd64,$(DEB_HOST_ARCH))
 	cd $(CURDIR)/debian/$(DEB_SOURCE)/usr/bin && \
 		ln -s ../lib/$(DEB_SOURCE)/bin/simd-dispatch kalignfmt
 endif
+
+override_dh_gencontrol:
+	dh_gencontrol -- -Vsimde:Built-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W "libsimde-dev")"



View it on GitLab: https://salsa.debian.org/med-team/kalign/-/compare/b732e619a09bfee1a71f076839cf1f74d6504606...d2158e67f7768960abdbcdc6f4abf9d7e0e33d4f

-- 
View it on GitLab: https://salsa.debian.org/med-team/kalign/-/compare/b732e619a09bfee1a71f076839cf1f74d6504606...d2158e67f7768960abdbcdc6f4abf9d7e0e33d4f
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/20240325/50f9ec1f/attachment-0001.htm>


More information about the debian-med-commit mailing list