* [gentoo-commits] repo/gentoo:master commit in: sci-ml/NNPACK/
@ 2025-03-17 9:12 Alfredo Tupone
0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-03-17 9:12 UTC (permalink / raw
To: gentoo-commits
commit: e15f9a275b4ffe5d5d19c0a5075cf54ba19f9852
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 09:12:03 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 09:12:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e15f9a27
sci-ml/NNPACK: require c++14 on test
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild b/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
index 5fdfbe2bc311..cca1ab6a42b5 100644
--- a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
+++ b/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
@@ -43,7 +43,10 @@ BDEPEND="
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_prepare() {
- sed -i -e "/-O/d" CMakeLists.txt || die
+ sed -i \
+ -e "/-O/d" \
+ -e "s:CXX_STANDARD 11:CXX_STANDARD 14:" \
+ CMakeLists.txt || die
cmake_src_prepare
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/NNPACK/
@ 2025-03-17 18:34 Alfredo Tupone
0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-03-17 18:34 UTC (permalink / raw
To: gentoo-commits
commit: 9eaa8463db4cd08e087bd879e425fa1f93df7d82
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 18:33:20 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 18:33:48 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eaa8463
sci-ml/NNPACK: enable test
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild | 15 +++++++++++++--
sci-ml/NNPACK/metadata.xml | 3 +++
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild b/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
index cca1ab6a42b5..c3abc30b8af8 100644
--- a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
+++ b/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
@@ -18,8 +18,8 @@ S="${WORKDIR}"/${PN}-${CommitId}
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=test
-RESTRICT="test" # consuming too much CPU
+IUSE="test test-full"
+RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
@@ -56,3 +56,14 @@ src_configure() {
)
cmake_src_configure
}
+
+src_test() {
+ use test-full || local CMAKE_SKIP_TESTS=(
+ convolution-output-overfeat
+ convolution-kernel-gradient-vgg
+ convolution-input-gradient-overfeat
+ convolution-input-gradient-vgg
+ convolution-output-vgg
+ )
+ cmake_src_test
+}
diff --git a/sci-ml/NNPACK/metadata.xml b/sci-ml/NNPACK/metadata.xml
index 654ce634d4a8..98253690776e 100644
--- a/sci-ml/NNPACK/metadata.xml
+++ b/sci-ml/NNPACK/metadata.xml
@@ -5,6 +5,9 @@
<email>tupone@gentoo.org</email>
<name>Tupone Alfredo</name>
</maintainer>
+ <use>
+ <flag name="test-full">Run additional, quite slow tests</flag>
+ </use>
<upstream>
<remote-id type="github">Maratyszcza/NNPACK</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/NNPACK/
@ 2025-03-24 9:46 Alfredo Tupone
0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-03-24 9:46 UTC (permalink / raw
To: gentoo-commits
commit: da2806bce5220d6869a37b8a6c7ddaaab70e8f48
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 09:46:03 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 09:46:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da2806bc
sci-ml/NNPACK: fix FP16 deps
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild b/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
index c3abc30b8af8..12e55984493b 100644
--- a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
+++ b/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
@@ -27,7 +27,7 @@ RDEPEND="
dev-libs/pthreadpool
dev-libs/cpuinfo
$(python_gen_cond_dep '
- <=sci-ml/FP16-2024.05.27[${PYTHON_USEDEP}]
+ ~sci-ml/FP16-2024.05.27[${PYTHON_USEDEP}]
dev-python/peachpy[${PYTHON_USEDEP}]
')
"
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/NNPACK/
@ 2025-03-24 13:18 Alfredo Tupone
0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-03-24 13:18 UTC (permalink / raw
To: gentoo-commits
commit: 0a4646ef522a0656ad03eea7a9c53bd50dfd5944
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 13:17:46 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 13:18:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a4646ef
sci-ml/NNPACK: enable py3.13
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../NNPACK/{NNPACK-2020.12.22-r3.ebuild => NNPACK-2020.12.22-r4.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild b/sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild
similarity index 97%
rename from sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
rename to sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild
index 12e55984493b..b059fd74d7a3 100644
--- a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
+++ b/sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit cmake python-single-r1
CommitId=c07e3a0400713d546e0dea2d5466dd22ea389c73
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/NNPACK/
@ 2025-08-16 15:45 Alfredo Tupone
0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-08-16 15:45 UTC (permalink / raw
To: gentoo-commits
commit: 09b5acb5874f7aa6b2985e54fc8d6183ea8524fb
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 16 15:43:55 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Aug 16 15:44:24 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09b5acb5
sci-ml/NNPACK: keyword 2020.12.22-r4 for ~x86
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild b/sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild
index 2867626cc08e..99199c03181b 100644
--- a/sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild
+++ b/sci-ml/NNPACK/NNPACK-2020.12.22-r4.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"/${PN}-${CommitId}
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE="test test-full"
RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -61,7 +61,12 @@ src_configure() {
}
src_test() {
- use test-full || local CMAKE_SKIP_TESTS=(
+ local CMAKE_SKIP_TESTS=()
+ use x86 && CMAKE_SKIP_TESTS+=(
+ softmax-output-smoketest
+ softmax-output-imagenet
+ )
+ use test-full || CMAKE_SKIP_TESTS+=(
convolution-output-overfeat
convolution-kernel-gradient-vgg
convolution-input-gradient-overfeat
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-08-16 15:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24 13:18 [gentoo-commits] repo/gentoo:master commit in: sci-ml/NNPACK/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2025-08-16 15:45 Alfredo Tupone
2025-03-24 9:46 Alfredo Tupone
2025-03-17 18:34 Alfredo Tupone
2025-03-17 9:12 Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox