[med-svn] [Git][med-team/cmaple][master] 2 commits: d/t/dev-link: condition passing machine flags to the architecture.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Fri Sep 18 06:43:11 BST 2026



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


Commits:
6b07ff57 by Étienne Mollier at 2026-09-18T07:35:50+02:00
d/t/dev-link: condition passing machine flags to the architecture.

Closes: #1148138

- - - - -
6b6f7c25 by Étienne Mollier at 2026-09-18T07:42:20+02:00
d/changelog: ready for team upload.

- - - - -


2 changed files:

- debian/changelog
- debian/tests/dev-link


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+cmaple (2.0.0+dfsg-3) unstable; urgency=medium
+
+  * Team upload.
+  * d/t/dev-link: condition passing machine flags to the architecture.
+    (Closes: #1148138)
+
+ -- Étienne Mollier <emollier at debian.org>  Fri, 18 Sep 2026 07:41:38 +0200
+
 cmaple (2.0.0+dfsg-2) unstable; urgency=medium
 
   * Use d-shlibs


=====================================
debian/tests/dev-link
=====================================
@@ -29,8 +29,16 @@ EOF
 #   header, evaluated at the *consumer's* compile time, so the same
 #   -m... ISA flags used to build libcmaple are needed here too, or
 #   GCC warns about (and risks) an ABI mismatch.
-CMAPLE_CXXFLAGS="-I/usr/include/cmaple -DNUM_STATES=4 \
--msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -mavx"
+CMAPLE_CXXFLAGS="-I/usr/include/cmaple -DNUM_STATES=4"
+case "$(dpkg --print-architecture)" in
+amd64)
+	CMAPLE_CXXFLAGS="$CMAPLE_CXXFLAGS \
+		-msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -mavx"
+;;
+arm64)
+	CMAPLE_CXXFLAGS="$CMAPLE_CXXFLAGS -march=armv8-a"
+;;
+esac
 
 echo "== compiling and linking against the shared library =="
 g++ -std=gnu++20 $CMAPLE_CXXFLAGS "$WORKDIR/test.cpp" -o "$WORKDIR/test_shared" -lcmaple



View it on GitLab: https://salsa.debian.org/med-team/cmaple/-/compare/529c78d92bdea11252a07d0633fe29d8c236b981...6b6f7c252c599da9068e7fdfdb76f833da2e765d

-- 
View it on GitLab: https://salsa.debian.org/med-team/cmaple/-/compare/529c78d92bdea11252a07d0633fe29d8c236b981...6b6f7c252c599da9068e7fdfdb76f833da2e765d
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260918/4f9f3c28/attachment-0001.htm>


More information about the debian-med-commit mailing list