On Sun, Sep 29, 2024 at 11:10:31AM +0200, Bill Allombert wrote:
> On Sat, Sep 28, 2024 at 10:38:24AM +0200, Bill Allombert wrote:
> > Package: mlucas
> > Version: 20.1.1-1.1
> > Severity: normal
> > 
> > Hello Alex, this is the patch for the NMU.
> 
> ... and now for the second one.

And the third one...

Cheers,
Bill.
diff -Nru mlucas-20.1.1/debian/changelog mlucas-20.1.1/debian/changelog
--- mlucas-20.1.1/debian/changelog      2024-09-28 17:19:40.000000000 +0200
+++ mlucas-20.1.1/debian/changelog      2024-10-05 12:54:33.000000000 +0200
@@ -1,9 +1,18 @@
+mlucas (20.1.1-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: 
+    - disable avx512 on x86_64. (Closes: #1084045)
+    - disable simd on arm64. (Closes: #1027776)
+
+ -- Bill Allombert <ballo...@debian.org>  Sat, 05 Oct 2024 12:54:33 +0200
+
 mlucas (20.1.1-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
-  *  debian/control:
-     - Set Architecture to any.
-  *  debian/rules: disable sse2 on i386
+  * debian/control:
+    - Set Architecture to any.
+  * debian/rules: disable sse2 on i386
 
  -- Bill Allombert <ballo...@debian.org>  Sat, 28 Sep 2024 17:19:40 +0200
 
diff -Nru mlucas-20.1.1/debian/rules mlucas-20.1.1/debian/rules
--- mlucas-20.1.1/debian/rules  2024-09-28 17:19:40.000000000 +0200
+++ mlucas-20.1.1/debian/rules  2024-10-05 12:54:33.000000000 +0200
@@ -26,15 +26,15 @@
        dh_autoreconf ./bootstrap
 
 override_dh_auto_configure:
-ifeq ($(DEB_TARGET_ARCH), i386)
+ifeq ($(DEB_TARGET_ARCH),amd64)
+       dh_auto_configure -- --enable-mlucas-default-path 
--enable-builds=generic-c,sse2,avx,avx2
+else ifeq ($(DEB_TARGET_ARCH), i386)
+       dh_auto_configure -- --enable-mlucas-default-path 
--enable-builds=generic-c
+else ifeq ($(DEB_TARGET_ARCH), arm64)
        dh_auto_configure -- --enable-mlucas-default-path 
--enable-builds=generic-c
 else
        dh_auto_configure -- --enable-mlucas-default-path 
 endif
 
 override_dh_auto_test:
-ifeq ($(DEB_HOST_ARCH), arm64)
-       dh_auto_test || true
-else
        dh_auto_test
-endif

Reply via email to