tags 1138199 patch
thanks

Hi.

Is this package really maintained by Debian Science, as suggested by
the Vcs fields?

I was planning to make a team upload to fix this bug using the
attached trivial patch, as that's what will happen in the next
upstream release according to the github issue, but in the last minute
I noticed that the package does not have an Uploader field pointing to
debian-science-maintainers.

For your next upload, please either move it to your personal namespace
or add the missing Uploader field, whatever is appropriate.

Note: There is a new upstream version available. Upgrading the package
is probably a much better option.

Thanks.
>From b7ee89691117f239b396369c0c4a4564fc58c1cc Mon Sep 17 00:00:00 2001
From: Santiago Vila <[email protected]>
Date: Tue, 16 Jun 2026 23:31:00 +0200
Subject: [PATCH 1/5] Drop -march=native from compiler flags. Closes: #1138199.

---
 debian/patches/drop-march-native.patch | 16 ++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 debian/patches/drop-march-native.patch

diff --git a/debian/patches/drop-march-native.patch b/debian/patches/drop-march-native.patch
new file mode 100644
index 0000000..a198f60
--- /dev/null
+++ b/debian/patches/drop-march-native.patch
@@ -0,0 +1,16 @@
+From: Santiago Vila <[email protected]>
+Subject: Drop -march=native from compiler flags
+Bug: https://github.com/scientificcomputing/scifem/issues/221
+Bug-Debian: https://bugs.debian.org/1138199
+
+--- a/src/scifem/eval.py
++++ b/src/scifem/eval.py
+@@ -336,7 +336,7 @@
+         jit_options.copy()
+         if jit_options is not None
+         else {
+-            "cffi_extra_compile_args": ["-march=native", "-O3"],
++            "cffi_extra_compile_args": ["-O3"],
+             "cffi_libraries": ["m"],
+         }
+     )
diff --git a/debian/patches/series b/debian/patches/series
index e6010a6..d5dde71 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 no_rpath.patch
 python_depends_nanobind.patch
+drop-march-native.patch
-- 
2.47.3

Reply via email to