[med-svn] [Git][med-team/sight][master] 3 commits: d/rules: ventilate dh_auto_configure command.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Tue Nov 1 12:06:45 GMT 2022



Étienne Mollier pushed to branch master at Debian Med / sight


Commits:
8ead3128 by Etienne Mollier at 2022-11-01T12:23:11+01:00
d/rules: ventilate dh_auto_configure command.

- - - - -
411f276b by Etienne Mollier at 2022-11-01T13:02:46+01:00
d/rules: set SIGHT_ARCH to force CPU baseline.

The default provided by cmake files is to build with x86-64-v3 which
would include avx and avx2 support and leading to baseline violations
otherwise.

Closes: #1023260

- - - - -
9d2afe40 by Etienne Mollier at 2022-11-01T13:06:14+01:00
ready to upload to unstable.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+sight (21.1.1-3) unstable; urgency=medium
+
+  * d/rules: ventilate dh_auto_configure command.
+  * d/rules: set SIGHT_ARCH to force CPU baseline.
+    The default provided by cmake files is to build with x86-64-v3 which
+    would include avx and avx2 support and leading to baseline violations
+    otherwise. (Closes: #1023260)
+
+ -- Étienne Mollier <emollier at debian.org>  Tue, 01 Nov 2022 13:04:26 +0100
+
 sight (21.1.1-2) unstable; urgency=medium
 
   * d/p/: Remove patches applied upstream


=====================================
debian/rules
=====================================
@@ -17,7 +17,15 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE -DCMAKE_INSTALL_RPATH="/usr/lib/$(DEB_HOST_MULTIARCH)/sight" -Wno-dev -DSIGHT_BUILD_EXAMPLES=OFF -DSIGHT_BUILD_TESTS=OFF -DGIT_TAG=$(DEB_VERSION_UPSTREAM) -DCMAKE_BUILD_TYPE=Release
+	dh_auto_configure -- \
+		-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \
+		-DCMAKE_INSTALL_RPATH="/usr/lib/$(DEB_HOST_MULTIARCH)/sight" \
+		-Wno-dev \
+		-DSIGHT_BUILD_EXAMPLES=OFF \
+		-DSIGHT_BUILD_TESTS=OFF \
+		-DGIT_TAG=$(DEB_VERSION_UPSTREAM) \
+		-DSIGHT_ARCH=x86-64 \
+		-DCMAKE_BUILD_TYPE=Release
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))



View it on GitLab: https://salsa.debian.org/med-team/sight/-/compare/e9bb4ad4871da13089dbe03aafbacb5e916ee8eb...9d2afe407b819fd2a9df2891706106776bb3391a

-- 
View it on GitLab: https://salsa.debian.org/med-team/sight/-/compare/e9bb4ad4871da13089dbe03aafbacb5e916ee8eb...9d2afe407b819fd2a9df2891706106776bb3391a
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/20221101/2b2f9a89/attachment-0001.htm>


More information about the debian-med-commit mailing list