* [PR PATCH] flintlib: patch to fix test
@ 2023-02-14 23:21 dkwo
2023-02-15 14:47 ` tornaria
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: dkwo @ 2023-02-14 23:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
There is a new pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages flint
https://github.com/void-linux/void-packages/pull/42271
flintlib: patch to fix test
@tornaria
A patch file from https://github.com/void-linux/void-packages/pull/42271.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flint-42271.patch --]
[-- Type: text/x-diff, Size: 1920 bytes --]
From a6285cf04a6bf3c35c17a5a8862da5d99d009ced Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Tue, 14 Feb 2023 18:19:36 -0500
Subject: [PATCH] flintlib: patch to fix test
---
.../patches/fix-test-t-sdiv_qrnnd.patch | 23 +++++++++++++++++++
srcpkgs/flintlib/template | 2 +-
2 files changed, 24 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch
diff --git a/srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch b/srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch
new file mode 100644
index 000000000000..cfa109792892
--- /dev/null
+++ b/srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch
@@ -0,0 +1,23 @@
+From fb8ddbcc06afa2a8f25637032fbb8211f6c6c122 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Albin=20Ahlb=C3=A4ck?= <albin.ahlback@gmail.com>
+Date: Fri, 20 May 2022 14:16:38 +0200
+Subject: [PATCH] Fix bug in test code for GCC 12
+
+---
+ test/t-sdiv_qrnnd.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/t-sdiv_qrnnd.c b/test/t-sdiv_qrnnd.c
+index 2e9822e848..2676903826 100644
+--- a/test/t-sdiv_qrnnd.c
++++ b/test/t-sdiv_qrnnd.c
+@@ -33,7 +33,7 @@ int main(void)
+ {
+ d = n_randtest_not_zero(state);
+ nh = n_randtest(state);
+- } while ((FLINT_ABS(nh) >= FLINT_ABS(d)/2) || (nh == WORD_MIN));
++ } while ((nh == WORD_MIN) || (FLINT_ABS(nh) >= FLINT_ABS(d)/2));
+
+ nl = n_randtest(state);
+
+
diff --git a/srcpkgs/flintlib/template b/srcpkgs/flintlib/template
index f7442c8052aa..a878d0f731ec 100644
--- a/srcpkgs/flintlib/template
+++ b/srcpkgs/flintlib/template
@@ -1,7 +1,7 @@
# Template file for 'flintlib'
pkgname=flintlib
version=2.9.0
-revision=1
+revision=2
build_style=configure
configure_args="--prefix=/usr $(vopt_with ntl)
$(vopt_if openblas --with-blas=${XBPS_CROSS_BASE}/usr/include/openblas)"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: flintlib: patch to fix test
2023-02-14 23:21 [PR PATCH] flintlib: patch to fix test dkwo
@ 2023-02-15 14:47 ` tornaria
2023-02-15 15:11 ` [PR PATCH] [Updated] " dkwo
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tornaria @ 2023-02-15 14:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/42271#issuecomment-1431486548
Comment:
LGTM. Since this only affects `do_check()` we don't need to revbump, do we?
For the record this is coming from https://github.com/flintlib/flint2/pull/1135 and is already in their trunk, but it is not included in 2.9.0 which is the last release atm.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] flintlib: patch to fix test
2023-02-14 23:21 [PR PATCH] flintlib: patch to fix test dkwo
2023-02-15 14:47 ` tornaria
@ 2023-02-15 15:11 ` dkwo
2023-02-15 15:12 ` dkwo
2023-02-15 19:29 ` [PR PATCH] [Merged]: " leahneukirchen
3 siblings, 0 replies; 5+ messages in thread
From: dkwo @ 2023-02-15 15:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages flint
https://github.com/void-linux/void-packages/pull/42271
flintlib: patch to fix test
@tornaria
A patch file from https://github.com/void-linux/void-packages/pull/42271.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flint-42271.patch --]
[-- Type: text/x-diff, Size: 1427 bytes --]
From 1da544a6f83a084e9079fcfddc9f5139b79f403e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Tue, 14 Feb 2023 18:19:36 -0500
Subject: [PATCH] flintlib: patch to fix test
---
.../patches/fix-test-t-sdiv_qrnnd.patch | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch
diff --git a/srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch b/srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch
new file mode 100644
index 000000000000..cfa109792892
--- /dev/null
+++ b/srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch
@@ -0,0 +1,23 @@
+From fb8ddbcc06afa2a8f25637032fbb8211f6c6c122 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Albin=20Ahlb=C3=A4ck?= <albin.ahlback@gmail.com>
+Date: Fri, 20 May 2022 14:16:38 +0200
+Subject: [PATCH] Fix bug in test code for GCC 12
+
+---
+ test/t-sdiv_qrnnd.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/t-sdiv_qrnnd.c b/test/t-sdiv_qrnnd.c
+index 2e9822e848..2676903826 100644
+--- a/test/t-sdiv_qrnnd.c
++++ b/test/t-sdiv_qrnnd.c
+@@ -33,7 +33,7 @@ int main(void)
+ {
+ d = n_randtest_not_zero(state);
+ nh = n_randtest(state);
+- } while ((FLINT_ABS(nh) >= FLINT_ABS(d)/2) || (nh == WORD_MIN));
++ } while ((nh == WORD_MIN) || (FLINT_ABS(nh) >= FLINT_ABS(d)/2));
+
+ nl = n_randtest(state);
+
+
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: flintlib: patch to fix test
2023-02-14 23:21 [PR PATCH] flintlib: patch to fix test dkwo
2023-02-15 14:47 ` tornaria
2023-02-15 15:11 ` [PR PATCH] [Updated] " dkwo
@ 2023-02-15 15:12 ` dkwo
2023-02-15 19:29 ` [PR PATCH] [Merged]: " leahneukirchen
3 siblings, 0 replies; 5+ messages in thread
From: dkwo @ 2023-02-15 15:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/42271#issuecomment-1431525000
Comment:
@leahneukirchen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: flintlib: patch to fix test
2023-02-14 23:21 [PR PATCH] flintlib: patch to fix test dkwo
` (2 preceding siblings ...)
2023-02-15 15:12 ` dkwo
@ 2023-02-15 19:29 ` leahneukirchen
3 siblings, 0 replies; 5+ messages in thread
From: leahneukirchen @ 2023-02-15 19:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
There's a merged pull request on the void-packages repository
flintlib: patch to fix test
https://github.com/void-linux/void-packages/pull/42271
Description:
@tornaria
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-02-15 19:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14 23:21 [PR PATCH] flintlib: patch to fix test dkwo
2023-02-15 14:47 ` tornaria
2023-02-15 15:11 ` [PR PATCH] [Updated] " dkwo
2023-02-15 15:12 ` dkwo
2023-02-15 19:29 ` [PR PATCH] [Merged]: " leahneukirchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).