public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/FP16/, sci-ml/FP16/files/
@ 2025-03-24  9:01 Alfredo Tupone
  0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2025-03-24  9:01 UTC (permalink / raw
  To: gentoo-commits

commit:     fde06c1d6af19902fa40fd1bcd18abe3e2995b66
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 09:00:30 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 09:01:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde06c1d

sci-ml/FP16: enable py3.13

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 ...2024.05.27.ebuild => FP16-2024.05.27-r1.ebuild} |  3 +-
 sci-ml/FP16/files/FP16-2024.05.27-gcc14.patch      | 70 ++++++++++++++++++++++
 2 files changed, 72 insertions(+), 1 deletion(-)

diff --git a/sci-ml/FP16/FP16-2024.05.27.ebuild b/sci-ml/FP16/FP16-2024.05.27-r1.ebuild
similarity index 94%
rename from sci-ml/FP16/FP16-2024.05.27.ebuild
rename to sci-ml/FP16/FP16-2024.05.27-r1.ebuild
index 083edbf6e0d1..4a2d8a79169e 100644
--- a/sci-ml/FP16/FP16-2024.05.27.ebuild
+++ b/sci-ml/FP16/FP16-2024.05.27-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 inherit python-r1 cmake
 
 CommitId=95163a75c51bc8dc29f72d0d7419ec50132984ff
@@ -31,6 +31,7 @@ RESTRICT="!test? ( test )"
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-2021.03.20-gentoo.patch
+	"${FILESDIR}"/${P}-gcc14.patch
 )
 
 src_prepare() {

diff --git a/sci-ml/FP16/files/FP16-2024.05.27-gcc14.patch b/sci-ml/FP16/files/FP16-2024.05.27-gcc14.patch
new file mode 100644
index 000000000000..14c76aed7871
--- /dev/null
+++ b/sci-ml/FP16/files/FP16-2024.05.27-gcc14.patch
@@ -0,0 +1,70 @@
+--- a/test/ieee-from-fp32-value.cc	2025-03-24 09:45:52.653257251 +0100
++++ b/test/ieee-from-fp32-value.cc	2025-03-24 09:46:09.945044617 +0100
+@@ -3,6 +3,7 @@
+ #include <cstdint>
+ 
+ #include <fp16.h>
++#include <iomanip>
+ #include <tables.h>
+ 
+ #if (defined(__i386__) || defined(__x86_64__)) && defined(__F16C__)
+--- a/test/bitcasts.cc	2025-03-24 09:50:29.522852488 +0100
++++ b/test/bitcasts.cc	2025-03-24 09:50:44.722665548 +0100
+@@ -1,6 +1,7 @@
+ #include <gtest/gtest.h>
+ 
+ #include <cstdint>
++#include <iomanip>
+ 
+ #include <fp16.h>
+ 
+--- a/test/ieee-to-fp32-value.cc	2025-03-24 09:51:25.784160595 +0100
++++ b/test/ieee-to-fp32-value.cc	2025-03-24 09:51:40.397980890 +0100
+@@ -2,6 +2,7 @@
+ 
+ #include <cstdint>
+ #include <cmath>
++#include <iomanip>
+ 
+ #include <fp16.h>
+ #include <tables.h>
+--- a/test/ieee-to-fp32-bits.cc	2025-03-24 09:47:04.427374626 +0100
++++ b/test/ieee-to-fp32-bits.cc	2025-03-24 09:47:36.596979037 +0100
+@@ -1,6 +1,7 @@
+ #include <gtest/gtest.h>
+ 
+ #include <cstdint>
++#include <iomanip>
+ 
+ #include <fp16.h>
+ #include <tables.h>
+--- a/test/alt-to-fp32-value.cc	2025-03-24 09:52:11.425599313 +0100
++++ b/test/alt-to-fp32-value.cc	2025-03-24 09:52:28.007395391 +0100
+@@ -2,6 +2,7 @@
+ 
+ #include <cstdint>
+ #include <cmath>
++#include <iomanip>
+ 
+ #include <fp16.h>
+ #include <tables.h>
+--- a/test/alt-to-fp32-bits.cc	2025-03-24 09:48:02.413661553 +0100
++++ b/test/alt-to-fp32-bits.cc	2025-03-24 09:48:20.896434255 +0100
+@@ -1,6 +1,7 @@
+ #include <gtest/gtest.h>
+ 
+ #include <cstdint>
++#include <iomanip>
+ 
+ #include <fp16.h>
+ #include <tables.h>
+--- a/test/alt-from-fp32-value.cc	2025-03-24 09:49:31.964560292 +0100
++++ b/test/alt-from-fp32-value.cc	2025-03-24 09:49:48.541356436 +0100
+@@ -1,6 +1,7 @@
+ #include <gtest/gtest.h>
+ 
+ #include <cstdint>
++#include <iomanip>
+ 
+ #include <fp16.h>
+ #include <tables.h>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-24  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24  9:01 [gentoo-commits] repo/gentoo:master commit in: sci-ml/FP16/, sci-ml/FP16/files/ Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox