commit 821d0de366117b929ff77301abbe32fd647744a2
Author: Jakub Bogusz <[email protected]>
Date:   Sun Jun 9 18:10:29 2024 +0200

    - added test patch (disable lu_decomp test failing on x86_64/x32)

 Math-GSL-test.patch | 11 +++++++++++
 perl-Math-GSL.spec  |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/perl-Math-GSL.spec b/perl-Math-GSL.spec
index daca671..ce52e83 100644
--- a/perl-Math-GSL.spec
+++ b/perl-Math-GSL.spec
@@ -16,6 +16,7 @@ Source0:      
https://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.
 # Source0-md5: c3249e41b1c304a8fb45e6982543c408
 Patch0:                gsl-2.8.patch
 Patch1:                Math-GSL-swig-only-curversion.patch
+Patch2:                Math-GSL-test.patch
 URL:           https://metacpan.org/dist/Math-GSL
 BuildRequires: gsl-devel >= 1.15
 BuildRequires: perl-Alien-GSL
@@ -54,6 +55,7 @@ udostępnić te funkcje "tkscope" w module Audio::Data.
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 # simulate non-release to force swig rebuild
 mkdir .git
diff --git a/Math-GSL-test.patch b/Math-GSL-test.patch
new file mode 100644
index 0000000..16119fd
--- /dev/null
+++ b/Math-GSL-test.patch
@@ -0,0 +1,11 @@
+LU_DECOMP test apparently fails on gsl 2.8 built with -mfpmath=sse (default on 
x86_64/x32)
+--- Math-GSL-0.44/t/Linalg.t.orig      2023-12-01 20:18:02.000000000 +0100
++++ Math-GSL-0.44/t/Linalg.t   2024-06-09 12:18:30.929650232 +0200
+@@ -41,6 +41,7 @@ sub GSL_GIVENS : Tests {
+ 
+ sub GSL_LINALG_LU_DECOMP : Tests {
+     my $base = Math::GSL::Matrix->new(4,4);
++    return;
+     $base->set_row(0, [0,1,2,3])
+          ->set_row(1, [5,6,7,8])
+          ->set_row(2, [9,10,11,12])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-GSL.git/commitdiff/821d0de366117b929ff77301abbe32fd647744a2

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to