* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2022-05-19 12:21 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2022-05-19 12:21 UTC (permalink / raw
To: gentoo-commits
commit: 9a42cd8464b298ba349f0f3a4f49d965412df85c
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 12:21:37 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu May 19 12:21:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a42cd84
sci-libs/onnx: add to tree
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 +
sci-libs/onnx/metadata.xml | 11 +++++++++++
sci-libs/onnx/onnx-1.11.0.ebuild | 29 +++++++++++++++++++++++++++++
3 files changed, 41 insertions(+)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
new file mode 100644
index 000000000000..7ff467655359
--- /dev/null
+++ b/sci-libs/onnx/Manifest
@@ -0,0 +1 @@
+DIST onnx-1.11.0.tar.gz 9464979 BLAKE2B dfc8ab81d4776f806fa26c751c1eb1e19ea4cf9f0aa498880dc18eca160fdd9c43eda0077124ea7a674082e5ed93de7497411c48c3f9a12146905072e6477af6 SHA512 dc7045702188d7f40fead3ab6eccd8ff63357824c36873b415ad989d19aa952ff2c3758120de9050d84d92a35993198971be54ffa8e8d99fc70aa1b14b2ff73e
diff --git a/sci-libs/onnx/metadata.xml b/sci-libs/onnx/metadata.xml
new file mode 100644
index 000000000000..2a58de7a87a9
--- /dev/null
+++ b/sci-libs/onnx/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">onnx/onnx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-libs/onnx/onnx-1.11.0.ebuild b/sci-libs/onnx/onnx-1.11.0.ebuild
new file mode 100644
index 000000000000..8a650bee773f
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.11.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-libs/protobuf"
+BDEPEND="dev-util/patchelf"
+
+src_install() {
+ cmake_src_install
+
+ patchelf --set-soname libonnxifi.so "${D}"/usr/lib/libonnxifi.so \
+ || die
+ mv "${D}"/usr/lib/libonnxifi.so "${D}"/usr/$(get_libdir)/libonnxifi.so \
+ || die
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2022-05-19 20:09 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2022-05-19 20:09 UTC (permalink / raw
To: gentoo-commits
commit: 55c3c8cf4badea39c16ec491928d2363df72f892
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 20:09:03 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu May 19 20:09:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55c3c8cf
sci-libs/onnx: inherit python-any-r1
Closes: https://bugs.gentoo.org/846452
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../onnx/{onnx-1.11.0.ebuild => onnx-1.11.0-r1.ebuild} | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/sci-libs/onnx/onnx-1.11.0.ebuild b/sci-libs/onnx/onnx-1.11.0-r1.ebuild
similarity index 73%
rename from sci-libs/onnx/onnx-1.11.0.ebuild
rename to sci-libs/onnx/onnx-1.11.0-r1.ebuild
index 8a650bee773f..5b2ac804bf1d 100644
--- a/sci-libs/onnx/onnx-1.11.0.ebuild
+++ b/sci-libs/onnx/onnx-1.11.0-r1.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake
+PYTHON_COMPAT=( python3_{8..11} )
+inherit python-any-r1 cmake
DESCRIPTION="Open Neural Network Exchange (ONNX)"
HOMEPAGE="https://github.com/onnx/onnx"
@@ -17,7 +18,17 @@ RESTRICT="test"
DEPEND=""
RDEPEND="${DEPEND}
dev-libs/protobuf"
-BDEPEND="dev-util/patchelf"
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-util/patchelf
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ )
+ cmake_src_configure
+}
src_install() {
cmake_src_install
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2022-09-05 19:17 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2022-09-05 19:17 UTC (permalink / raw
To: gentoo-commits
commit: 764ac8c0ebda9e392bac2cf0fa609a94aaf45972
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 5 19:17:17 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Sep 5 19:17:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=764ac8c0
sci-libs/onnx: depend on protbuf slot
Closes: https://bugs.gentoo.org/868576
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/{onnx-1.11.0-r1.ebuild => onnx-1.11.0-r2.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/onnx/onnx-1.11.0-r1.ebuild b/sci-libs/onnx/onnx-1.11.0-r2.ebuild
similarity index 97%
rename from sci-libs/onnx/onnx-1.11.0-r1.ebuild
rename to sci-libs/onnx/onnx-1.11.0-r2.ebuild
index 5b2ac804bf1d..31f993817030 100644
--- a/sci-libs/onnx/onnx-1.11.0-r1.ebuild
+++ b/sci-libs/onnx/onnx-1.11.0-r2.ebuild
@@ -17,7 +17,7 @@ RESTRICT="test"
DEPEND=""
RDEPEND="${DEPEND}
- dev-libs/protobuf"
+ dev-libs/protobuf:="
BDEPEND="
${PYTHON_DEPS}
dev-util/patchelf
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2022-11-10 16:51 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2022-11-10 16:51 UTC (permalink / raw
To: gentoo-commits
commit: 7a0f2f76f126ee8114e68452a5141f691890f54c
Author: Marek Behún <kabel <AT> kernel <DOT> org>
AuthorDate: Thu Nov 10 10:35:10 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 16:50:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0f2f76
sci-libs/onnx: Fix install phase for Gentoo Prefix
Use the ED instead of D variable in src_install() to fix the
installation when installing in Gentoo Prefix.
Signed-off-by: Marek Behún <kabel <AT> kernel.org>
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/onnx-1.11.0-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/onnx/onnx-1.11.0-r2.ebuild b/sci-libs/onnx/onnx-1.11.0-r2.ebuild
index 31f993817030..f402a43e681a 100644
--- a/sci-libs/onnx/onnx-1.11.0-r2.ebuild
+++ b/sci-libs/onnx/onnx-1.11.0-r2.ebuild
@@ -33,8 +33,8 @@ src_configure() {
src_install() {
cmake_src_install
- patchelf --set-soname libonnxifi.so "${D}"/usr/lib/libonnxifi.so \
+ patchelf --set-soname libonnxifi.so "${ED}"/usr/lib/libonnxifi.so \
|| die
- mv "${D}"/usr/lib/libonnxifi.so "${D}"/usr/$(get_libdir)/libonnxifi.so \
+ mv "${ED}"/usr/lib/libonnxifi.so "${ED}"/usr/$(get_libdir)/libonnxifi.so \
|| die
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2023-02-14 7:45 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2023-02-14 7:45 UTC (permalink / raw
To: gentoo-commits
commit: b7cff97cf838c6c8f6b9f1a6220833372e86f6db
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 07:44:04 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 07:45:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7cff97c
sci-libs/onnx: add 1.12.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 +
sci-libs/onnx/onnx-1.12.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 7ff467655359..abc71ea28ca7 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1 +1,2 @@
DIST onnx-1.11.0.tar.gz 9464979 BLAKE2B dfc8ab81d4776f806fa26c751c1eb1e19ea4cf9f0aa498880dc18eca160fdd9c43eda0077124ea7a674082e5ed93de7497411c48c3f9a12146905072e6477af6 SHA512 dc7045702188d7f40fead3ab6eccd8ff63357824c36873b415ad989d19aa952ff2c3758120de9050d84d92a35993198971be54ffa8e8d99fc70aa1b14b2ff73e
+DIST onnx-1.12.0.tar.gz 9531142 BLAKE2B 59117ea95e3686ca41c307f9ee35fbb3e9abc3b262943211a3c25f7ef3f89e3a185145f92c9dfc4108469a3bc4580a140de7c436f97a35e64902d5a6ed5ac8ab SHA512 ab0c4f92358e904c2f28d98b35eab2d6eac22dd0a270e4f45ee590aa1ad22d09e92b32225efd7e98edb1531743f150526d26e0cbdc537757784bef2bc93efa8e
diff --git a/sci-libs/onnx/onnx-1.12.0.ebuild b/sci-libs/onnx/onnx-1.12.0.ebuild
new file mode 100644
index 000000000000..ba196590ef22
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.12.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+inherit python-any-r1 cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-libs/protobuf:="
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-util/patchelf
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ patchelf --set-soname libonnxifi.so "${ED}"/usr/lib/libonnxifi.so \
+ || die
+ mv "${ED}"/usr/lib/libonnxifi.so "${ED}"/usr/$(get_libdir)/libonnxifi.so \
+ || die
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2023-04-04 11:41 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2023-04-04 11:41 UTC (permalink / raw
To: gentoo-commits
commit: a46a8784d95929f6e78d854d55c082d06e1ac003
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 4 11:40:11 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Apr 4 11:40:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a46a8784
sci-libs/onnx: add 1.13.1
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 +
sci-libs/onnx/onnx-1.13.1.ebuild | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index abc71ea28ca7..8f3d534c827a 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1,2 +1,3 @@
DIST onnx-1.11.0.tar.gz 9464979 BLAKE2B dfc8ab81d4776f806fa26c751c1eb1e19ea4cf9f0aa498880dc18eca160fdd9c43eda0077124ea7a674082e5ed93de7497411c48c3f9a12146905072e6477af6 SHA512 dc7045702188d7f40fead3ab6eccd8ff63357824c36873b415ad989d19aa952ff2c3758120de9050d84d92a35993198971be54ffa8e8d99fc70aa1b14b2ff73e
DIST onnx-1.12.0.tar.gz 9531142 BLAKE2B 59117ea95e3686ca41c307f9ee35fbb3e9abc3b262943211a3c25f7ef3f89e3a185145f92c9dfc4108469a3bc4580a140de7c436f97a35e64902d5a6ed5ac8ab SHA512 ab0c4f92358e904c2f28d98b35eab2d6eac22dd0a270e4f45ee590aa1ad22d09e92b32225efd7e98edb1531743f150526d26e0cbdc537757784bef2bc93efa8e
+DIST onnx-1.13.1.tar.gz 10782133 BLAKE2B e5c93e00ccb73b56e839da48b255132f8c60508a258d136b53a2755caabed5f1b962208d570c71068484b269f016a08b398d6c8f4fc86d3850ad6d5742b760b6 SHA512 325859f591dece43a083a0945aefe3427bfdb68a98ef5922343bf7ed959528947e7664d6c8e3e3d35c390d6c20ef22d07c672e5311f80c72c199931be6c256c3
diff --git a/sci-libs/onnx/onnx-1.13.1.ebuild b/sci-libs/onnx/onnx-1.13.1.ebuild
new file mode 100644
index 000000000000..cee6ddd5c494
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.13.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+inherit python-any-r1 cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-libs/protobuf:="
+BDEPEND="
+ ${PYTHON_DEPS}
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2023-05-23 20:28 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2023-05-23 20:28 UTC (permalink / raw
To: gentoo-commits
commit: e7a1e5590dc18c471ed54909f86b19822e79b56f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 20:27:34 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue May 23 20:28:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7a1e559
sci-libs/onnx: add 1.14.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 +
sci-libs/onnx/onnx-1.14.0.ebuild | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 8f3d534c827a..d47a8a91e628 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1,3 +1,4 @@
DIST onnx-1.11.0.tar.gz 9464979 BLAKE2B dfc8ab81d4776f806fa26c751c1eb1e19ea4cf9f0aa498880dc18eca160fdd9c43eda0077124ea7a674082e5ed93de7497411c48c3f9a12146905072e6477af6 SHA512 dc7045702188d7f40fead3ab6eccd8ff63357824c36873b415ad989d19aa952ff2c3758120de9050d84d92a35993198971be54ffa8e8d99fc70aa1b14b2ff73e
DIST onnx-1.12.0.tar.gz 9531142 BLAKE2B 59117ea95e3686ca41c307f9ee35fbb3e9abc3b262943211a3c25f7ef3f89e3a185145f92c9dfc4108469a3bc4580a140de7c436f97a35e64902d5a6ed5ac8ab SHA512 ab0c4f92358e904c2f28d98b35eab2d6eac22dd0a270e4f45ee590aa1ad22d09e92b32225efd7e98edb1531743f150526d26e0cbdc537757784bef2bc93efa8e
DIST onnx-1.13.1.tar.gz 10782133 BLAKE2B e5c93e00ccb73b56e839da48b255132f8c60508a258d136b53a2755caabed5f1b962208d570c71068484b269f016a08b398d6c8f4fc86d3850ad6d5742b760b6 SHA512 325859f591dece43a083a0945aefe3427bfdb68a98ef5922343bf7ed959528947e7664d6c8e3e3d35c390d6c20ef22d07c672e5311f80c72c199931be6c256c3
+DIST onnx-1.14.0.tar.gz 11568979 BLAKE2B 9aed36489f0bbe0a96f2a7d3f44b70d228a7ec1239f5ba2b16f4b2c9ffa8fb1ddddba06b1b5e6d279d12f8d55eaeece6654da0c60220bf813e99df74e33a33eb SHA512 8a525b365fd203f0a59bcf82fa7f2e29d7e0563885ebe38269c596cd4eb949bcfc65d848b92b7abafa7ddecedcfc019f8779097ffcb5087f06037cace24462fc
diff --git a/sci-libs/onnx/onnx-1.14.0.ebuild b/sci-libs/onnx/onnx-1.14.0.ebuild
new file mode 100644
index 000000000000..cee6ddd5c494
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.14.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+inherit python-any-r1 cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-libs/protobuf:="
+BDEPEND="
+ ${PYTHON_DEPS}
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2023-05-28 23:27 Yixun Lan
0 siblings, 0 replies; 24+ messages in thread
From: Yixun Lan @ 2023-05-28 23:27 UTC (permalink / raw
To: gentoo-commits
commit: 68c0af498f28348e7a5121f8adeff326b158e82c
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Sun May 28 23:27:11 2023 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun May 28 23:27:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c0af49
sci-libs/onnx: Keyword 1.14.0 riscv, #907328
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
sci-libs/onnx/onnx-1.14.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/onnx/onnx-1.14.0.ebuild b/sci-libs/onnx/onnx-1.14.0.ebuild
index cee6ddd5c494..866f8a5e90fd 100644
--- a/sci-libs/onnx/onnx-1.14.0.ebuild
+++ b/sci-libs/onnx/onnx-1.14.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
RESTRICT="test"
DEPEND=""
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2023-11-01 20:50 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2023-11-01 20:50 UTC (permalink / raw
To: gentoo-commits
commit: d23846dad7175a4f631e96eb4eecd503151aa3c9
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 1 20:49:01 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Nov 1 20:50:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d23846da
sci-libs/onnx: install python modules
Closes: https://bugs.gentoo.org/915843
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/onnx-1.14.0-r1.ebuild | 32 --------------------
sci-libs/onnx/onnx-1.14.0-r2.ebuild | 59 +++++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+), 32 deletions(-)
diff --git a/sci-libs/onnx/onnx-1.14.0-r1.ebuild b/sci-libs/onnx/onnx-1.14.0-r1.ebuild
deleted file mode 100644
index bed797b68a21..000000000000
--- a/sci-libs/onnx/onnx-1.14.0-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
-inherit python-any-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx"
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-RESTRICT="test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-libs/protobuf:="
-BDEPEND="
- ${PYTHON_DEPS}
-"
-
-PATCHES=( "${FILESDIR}"/${P}-cxx_14.patch )
-
-src_configure() {
- local mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- )
- cmake_src_configure
-}
diff --git a/sci-libs/onnx/onnx-1.14.0-r2.ebuild b/sci-libs/onnx/onnx-1.14.0-r2.ebuild
new file mode 100644
index 000000000000..7fcd28a9355b
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.14.0-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_OPTIONAL=1
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="python"
+RESTRICT="test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ )
+ dev-libs/protobuf:=
+"
+DEPEND="${RDEPEND}"
+
+BDEPEND="python? (
+ ${DISTUTILS_DEPS}
+)"
+
+PATCHES=( "${FILESDIR}"/${P}-cxx_14.patch )
+
+src_prepare() {
+ cmake_src_prepare
+ use python && distutils-r1_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ )
+ cmake_src_configure
+ use python && distutils-r1_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use python && distutils-r1_src_compile
+}
+
+src_install() {
+ cmake_src_install
+ use python && distutils-r1_src_install
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2023-11-11 16:22 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2023-11-11 16:22 UTC (permalink / raw
To: gentoo-commits
commit: b38f4eb8d5464f99182d356e4941bea648ec5b3f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 11 16:20:03 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Nov 11 16:21:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38f4eb8
sci-libs/onnx: add ONNX_USE_LITE_PROTO=ON
Closes: https://bugs.gentoo.org/915843
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/onnx-1.14.0-r2.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sci-libs/onnx/onnx-1.14.0-r2.ebuild b/sci-libs/onnx/onnx-1.14.0-r2.ebuild
index 7fcd28a9355b..f3f43c3fddd3 100644
--- a/sci-libs/onnx/onnx-1.14.0-r2.ebuild
+++ b/sci-libs/onnx/onnx-1.14.0-r2.ebuild
@@ -41,8 +41,9 @@ src_prepare() {
}
src_configure() {
- local mycmakeargs=(
+ mycmakeargs=(
-DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
)
cmake_src_configure
use python && distutils-r1_src_configure
@@ -50,7 +51,7 @@ src_configure() {
src_compile() {
cmake_src_compile
- use python && distutils-r1_src_compile
+ use python && CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
}
src_install() {
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2023-12-03 13:59 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2023-12-03 13:59 UTC (permalink / raw
To: gentoo-commits
commit: 85e8fd72bc3dbd98f7463bd52e9b8f87e756c69f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 3 13:58:01 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 3 13:58:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85e8fd72
sci-libs/onnx: add 1.14.1
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 +
sci-libs/onnx/onnx-1.14.1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index d47a8a91e628..250b9b0f4797 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -2,3 +2,4 @@ DIST onnx-1.11.0.tar.gz 9464979 BLAKE2B dfc8ab81d4776f806fa26c751c1eb1e19ea4cf9f
DIST onnx-1.12.0.tar.gz 9531142 BLAKE2B 59117ea95e3686ca41c307f9ee35fbb3e9abc3b262943211a3c25f7ef3f89e3a185145f92c9dfc4108469a3bc4580a140de7c436f97a35e64902d5a6ed5ac8ab SHA512 ab0c4f92358e904c2f28d98b35eab2d6eac22dd0a270e4f45ee590aa1ad22d09e92b32225efd7e98edb1531743f150526d26e0cbdc537757784bef2bc93efa8e
DIST onnx-1.13.1.tar.gz 10782133 BLAKE2B e5c93e00ccb73b56e839da48b255132f8c60508a258d136b53a2755caabed5f1b962208d570c71068484b269f016a08b398d6c8f4fc86d3850ad6d5742b760b6 SHA512 325859f591dece43a083a0945aefe3427bfdb68a98ef5922343bf7ed959528947e7664d6c8e3e3d35c390d6c20ef22d07c672e5311f80c72c199931be6c256c3
DIST onnx-1.14.0.tar.gz 11568979 BLAKE2B 9aed36489f0bbe0a96f2a7d3f44b70d228a7ec1239f5ba2b16f4b2c9ffa8fb1ddddba06b1b5e6d279d12f8d55eaeece6654da0c60220bf813e99df74e33a33eb SHA512 8a525b365fd203f0a59bcf82fa7f2e29d7e0563885ebe38269c596cd4eb949bcfc65d848b92b7abafa7ddecedcfc019f8779097ffcb5087f06037cace24462fc
+DIST onnx-1.14.1.tar.gz 11570627 BLAKE2B df478219b5d557ad7e0717377996eefc02baa88a89d9681b17e00670e42fa3c8e47db0f5c5fdfab682fa7d80032559da8276c5106a91a7599d190427e2b6e4a8 SHA512 f846fffb286c4aeadc01462f220515f0a5c2ce1cbec849da7092a08c2676f8308af7315318a2866e9182f9aed719984ef95a9ddc69ffe0e62e40664395df5efd
diff --git a/sci-libs/onnx/onnx-1.14.1.ebuild b/sci-libs/onnx/onnx-1.14.1.ebuild
new file mode 100644
index 000000000000..79cd66b3ad82
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.14.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_OPTIONAL=1
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="python"
+RESTRICT="test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ )
+ dev-libs/protobuf:=
+"
+DEPEND="${RDEPEND}"
+
+BDEPEND="python? (
+ ${DISTUTILS_DEPS}
+)"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.14.0-cxx_14.patch )
+
+src_prepare() {
+ cmake_src_prepare
+ use python && distutils-r1_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ )
+ cmake_src_configure
+ use python && distutils-r1_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use python && CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
+}
+
+src_install() {
+ cmake_src_install
+ use python && distutils-r1_src_install
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2023-12-12 20:52 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2023-12-12 20:52 UTC (permalink / raw
To: gentoo-commits
commit: 1e5264a7627268e87946f541abb3815737912882
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 12 20:51:32 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 20:52:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5264a7
sci-libs/onnx: fix DEPEND
Closes: https://bugs.gentoo.org/919706
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/{onnx-1.14.1.ebuild => onnx-1.14.1-r1.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-libs/onnx/onnx-1.14.1.ebuild b/sci-libs/onnx/onnx-1.14.1-r1.ebuild
similarity index 96%
rename from sci-libs/onnx/onnx-1.14.1.ebuild
rename to sci-libs/onnx/onnx-1.14.1-r1.ebuild
index 79cd66b3ad82..331b32483cf4 100644
--- a/sci-libs/onnx/onnx-1.14.1.ebuild
+++ b/sci-libs/onnx/onnx-1.14.1-r1.ebuild
@@ -24,6 +24,7 @@ RDEPEND="
python? (
${PYTHON_DEPS}
dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
)
dev-libs/protobuf:=
"
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2023-12-28 12:38 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2023-12-28 12:38 UTC (permalink / raw
To: gentoo-commits
commit: 53130f4dd4f9b044616deb5bff4d34775f017add
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 12:37:52 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 12:38:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53130f4d
sci-libs/onnx: add 1.15.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 +
sci-libs/onnx/onnx-1.15.0.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 250b9b0f4797..7ba3f7c87091 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -3,3 +3,4 @@ DIST onnx-1.12.0.tar.gz 9531142 BLAKE2B 59117ea95e3686ca41c307f9ee35fbb3e9abc3b2
DIST onnx-1.13.1.tar.gz 10782133 BLAKE2B e5c93e00ccb73b56e839da48b255132f8c60508a258d136b53a2755caabed5f1b962208d570c71068484b269f016a08b398d6c8f4fc86d3850ad6d5742b760b6 SHA512 325859f591dece43a083a0945aefe3427bfdb68a98ef5922343bf7ed959528947e7664d6c8e3e3d35c390d6c20ef22d07c672e5311f80c72c199931be6c256c3
DIST onnx-1.14.0.tar.gz 11568979 BLAKE2B 9aed36489f0bbe0a96f2a7d3f44b70d228a7ec1239f5ba2b16f4b2c9ffa8fb1ddddba06b1b5e6d279d12f8d55eaeece6654da0c60220bf813e99df74e33a33eb SHA512 8a525b365fd203f0a59bcf82fa7f2e29d7e0563885ebe38269c596cd4eb949bcfc65d848b92b7abafa7ddecedcfc019f8779097ffcb5087f06037cace24462fc
DIST onnx-1.14.1.tar.gz 11570627 BLAKE2B df478219b5d557ad7e0717377996eefc02baa88a89d9681b17e00670e42fa3c8e47db0f5c5fdfab682fa7d80032559da8276c5106a91a7599d190427e2b6e4a8 SHA512 f846fffb286c4aeadc01462f220515f0a5c2ce1cbec849da7092a08c2676f8308af7315318a2866e9182f9aed719984ef95a9ddc69ffe0e62e40664395df5efd
+DIST onnx-1.15.0.tar.gz 12360484 BLAKE2B 4d35b82c128a69124b9bfcb3e56b3d584b7451ae739a91039e201dd485efa3e90e34e6cf135993317622f8f524160a38556231b2b0561e93d8cd0487abf35c1b SHA512 b46a4ab70af88053318eba45251c1f71528f15e45a33042877570e8d857febd3ec66e2e811fcda2105a4f17b84c9a1c6a0aaa22756c3287321b3ea29e83127fd
diff --git a/sci-libs/onnx/onnx-1.15.0.ebuild b/sci-libs/onnx/onnx-1.15.0.ebuild
new file mode 100644
index 000000000000..1e57c8b8213f
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.15.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_OPTIONAL=1
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{9..12} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="python"
+RESTRICT="test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ )
+ dev-libs/protobuf:=
+"
+DEPEND="${RDEPEND}"
+
+BDEPEND="python? (
+ ${DISTUTILS_DEPS}
+)"
+
+src_prepare() {
+ cmake_src_prepare
+ use python && distutils-r1_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ )
+ cmake_src_configure
+ use python && distutils-r1_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use python && CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
+}
+
+src_install() {
+ cmake_src_install
+ use python && distutils-r1_src_install
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-01-02 12:52 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-01-02 12:52 UTC (permalink / raw
To: gentoo-commits
commit: e0d2a112f883992b233689115ad6807e9e5a8ada
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 2 12:52:09 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jan 2 12:52:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0d2a112
sci-libs/onnx: drop 1.11.0-r2, 1.12.0, 1.13.1-r1, 1.14.0-r2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 4 ---
sci-libs/onnx/onnx-1.11.0-r2.ebuild | 40 -------------------------
sci-libs/onnx/onnx-1.12.0.ebuild | 40 -------------------------
sci-libs/onnx/onnx-1.13.1-r1.ebuild | 32 --------------------
sci-libs/onnx/onnx-1.14.0-r2.ebuild | 60 -------------------------------------
5 files changed, 176 deletions(-)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 7ba3f7c87091..e7517b3f3567 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1,6 +1,2 @@
-DIST onnx-1.11.0.tar.gz 9464979 BLAKE2B dfc8ab81d4776f806fa26c751c1eb1e19ea4cf9f0aa498880dc18eca160fdd9c43eda0077124ea7a674082e5ed93de7497411c48c3f9a12146905072e6477af6 SHA512 dc7045702188d7f40fead3ab6eccd8ff63357824c36873b415ad989d19aa952ff2c3758120de9050d84d92a35993198971be54ffa8e8d99fc70aa1b14b2ff73e
-DIST onnx-1.12.0.tar.gz 9531142 BLAKE2B 59117ea95e3686ca41c307f9ee35fbb3e9abc3b262943211a3c25f7ef3f89e3a185145f92c9dfc4108469a3bc4580a140de7c436f97a35e64902d5a6ed5ac8ab SHA512 ab0c4f92358e904c2f28d98b35eab2d6eac22dd0a270e4f45ee590aa1ad22d09e92b32225efd7e98edb1531743f150526d26e0cbdc537757784bef2bc93efa8e
-DIST onnx-1.13.1.tar.gz 10782133 BLAKE2B e5c93e00ccb73b56e839da48b255132f8c60508a258d136b53a2755caabed5f1b962208d570c71068484b269f016a08b398d6c8f4fc86d3850ad6d5742b760b6 SHA512 325859f591dece43a083a0945aefe3427bfdb68a98ef5922343bf7ed959528947e7664d6c8e3e3d35c390d6c20ef22d07c672e5311f80c72c199931be6c256c3
-DIST onnx-1.14.0.tar.gz 11568979 BLAKE2B 9aed36489f0bbe0a96f2a7d3f44b70d228a7ec1239f5ba2b16f4b2c9ffa8fb1ddddba06b1b5e6d279d12f8d55eaeece6654da0c60220bf813e99df74e33a33eb SHA512 8a525b365fd203f0a59bcf82fa7f2e29d7e0563885ebe38269c596cd4eb949bcfc65d848b92b7abafa7ddecedcfc019f8779097ffcb5087f06037cace24462fc
DIST onnx-1.14.1.tar.gz 11570627 BLAKE2B df478219b5d557ad7e0717377996eefc02baa88a89d9681b17e00670e42fa3c8e47db0f5c5fdfab682fa7d80032559da8276c5106a91a7599d190427e2b6e4a8 SHA512 f846fffb286c4aeadc01462f220515f0a5c2ce1cbec849da7092a08c2676f8308af7315318a2866e9182f9aed719984ef95a9ddc69ffe0e62e40664395df5efd
DIST onnx-1.15.0.tar.gz 12360484 BLAKE2B 4d35b82c128a69124b9bfcb3e56b3d584b7451ae739a91039e201dd485efa3e90e34e6cf135993317622f8f524160a38556231b2b0561e93d8cd0487abf35c1b SHA512 b46a4ab70af88053318eba45251c1f71528f15e45a33042877570e8d857febd3ec66e2e811fcda2105a4f17b84c9a1c6a0aaa22756c3287321b3ea29e83127fd
diff --git a/sci-libs/onnx/onnx-1.11.0-r2.ebuild b/sci-libs/onnx/onnx-1.11.0-r2.ebuild
deleted file mode 100644
index ba196590ef22..000000000000
--- a/sci-libs/onnx/onnx-1.11.0-r2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
-inherit python-any-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx"
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-RESTRICT="test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-libs/protobuf:="
-BDEPEND="
- ${PYTHON_DEPS}
- dev-util/patchelf
-"
-
-src_configure() {
- local mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- patchelf --set-soname libonnxifi.so "${ED}"/usr/lib/libonnxifi.so \
- || die
- mv "${ED}"/usr/lib/libonnxifi.so "${ED}"/usr/$(get_libdir)/libonnxifi.so \
- || die
-}
diff --git a/sci-libs/onnx/onnx-1.12.0.ebuild b/sci-libs/onnx/onnx-1.12.0.ebuild
deleted file mode 100644
index ba196590ef22..000000000000
--- a/sci-libs/onnx/onnx-1.12.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
-inherit python-any-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx"
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-RESTRICT="test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-libs/protobuf:="
-BDEPEND="
- ${PYTHON_DEPS}
- dev-util/patchelf
-"
-
-src_configure() {
- local mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- patchelf --set-soname libonnxifi.so "${ED}"/usr/lib/libonnxifi.so \
- || die
- mv "${ED}"/usr/lib/libonnxifi.so "${ED}"/usr/$(get_libdir)/libonnxifi.so \
- || die
-}
diff --git a/sci-libs/onnx/onnx-1.13.1-r1.ebuild b/sci-libs/onnx/onnx-1.13.1-r1.ebuild
deleted file mode 100644
index 1de081f5931b..000000000000
--- a/sci-libs/onnx/onnx-1.13.1-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
-inherit python-any-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx"
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-RESTRICT="test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-libs/protobuf:="
-BDEPEND="
- ${PYTHON_DEPS}
-"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.14.0-cxx_14.patch )
-
-src_configure() {
- local mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- )
- cmake_src_configure
-}
diff --git a/sci-libs/onnx/onnx-1.14.0-r2.ebuild b/sci-libs/onnx/onnx-1.14.0-r2.ebuild
deleted file mode 100644
index f3f43c3fddd3..000000000000
--- a/sci-libs/onnx/onnx-1.14.0-r2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_OPTIONAL=1
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx"
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-IUSE="python"
-RESTRICT="test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? (
- ${PYTHON_DEPS}
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- )
- dev-libs/protobuf:=
-"
-DEPEND="${RDEPEND}"
-
-BDEPEND="python? (
- ${DISTUTILS_DEPS}
-)"
-
-PATCHES=( "${FILESDIR}"/${P}-cxx_14.patch )
-
-src_prepare() {
- cmake_src_prepare
- use python && distutils-r1_src_prepare
-}
-
-src_configure() {
- mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- -DONNX_USE_LITE_PROTO=ON
- )
- cmake_src_configure
- use python && distutils-r1_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- use python && CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
-}
-
-src_install() {
- cmake_src_install
- use python && distutils-r1_src_install
-}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-01-02 13:09 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-01-02 13:09 UTC (permalink / raw
To: gentoo-commits
commit: 73d2d393533caa1dab6ab3be2d37b79fe9bec36e
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 2 13:08:43 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jan 2 13:09:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d2d393
sci-libs/onnx: PythonCompatUpdate
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/{onnx-1.14.1-r1.ebuild => onnx-1.14.1-r2.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/onnx/onnx-1.14.1-r1.ebuild b/sci-libs/onnx/onnx-1.14.1-r2.ebuild
similarity index 94%
rename from sci-libs/onnx/onnx-1.14.1-r1.ebuild
rename to sci-libs/onnx/onnx-1.14.1-r2.ebuild
index 331b32483cf4..9a6ffb11f82d 100644
--- a/sci-libs/onnx/onnx-1.14.1-r1.ebuild
+++ b/sci-libs/onnx/onnx-1.14.1-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_OPTIONAL=1
DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit distutils-r1 cmake
DESCRIPTION="Open Neural Network Exchange (ONNX)"
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-02-19 21:30 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-02-19 21:30 UTC (permalink / raw
To: gentoo-commits
commit: 31b343d6ff49561e71151fdedd9634385656f764
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 21:28:25 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 21:29:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b343d6
sci-libs/onnx: always depends on python
Closes: https://bugs.gentoo.org/924937
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{onnx-1.15.0.ebuild => onnx-1.15.0-r1.ebuild} | 44 ++++++++++++----------
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/sci-libs/onnx/onnx-1.15.0.ebuild b/sci-libs/onnx/onnx-1.15.0-r1.ebuild
similarity index 60%
rename from sci-libs/onnx/onnx-1.15.0.ebuild
rename to sci-libs/onnx/onnx-1.15.0-r1.ebuild
index 1e57c8b8213f..8e846b3e6d5f 100644
--- a/sci-libs/onnx/onnx-1.15.0.ebuild
+++ b/sci-libs/onnx/onnx-1.15.0-r1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_OPTIONAL=1
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{9..12} )
inherit distutils-r1 cmake
@@ -16,44 +15,49 @@ SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
-IUSE="python"
RESTRICT="test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
- python? (
- ${PYTHON_DEPS}
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- )
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
dev-libs/protobuf:=
"
DEPEND="${RDEPEND}"
-BDEPEND="python? (
- ${DISTUTILS_DEPS}
-)"
-
src_prepare() {
cmake_src_prepare
- use python && distutils-r1_src_prepare
+ distutils-r1_src_prepare
}
-src_configure() {
+python_configure_all() {
mycmakeargs=(
-DONNX_USE_PROTOBUF_SHARED_LIBS=ON
-DONNX_USE_LITE_PROTO=ON
)
cmake_src_configure
- use python && distutils-r1_src_configure
}
-src_compile() {
+src_configure() {
+ distutils-r1_src_configure
+}
+
+python_compile_all() {
cmake_src_compile
- use python && CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
}
-src_install() {
+src_compile() {
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ )
+ CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
+}
+
+python_install_all() {
cmake_src_install
- use python && distutils-r1_src_install
+ distutils-r1_python_install_all
+}
+
+src_install() {
+ distutils-r1_src_install
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-05-05 9:26 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-05-05 9:26 UTC (permalink / raw
To: gentoo-commits
commit: 1256a483f24cebcb72afa419436f1ec6d8bc3916
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun May 5 09:24:45 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun May 5 09:26:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1256a483
sci-libs/onnx: require python always
Closes: https://bugs.gentoo.org/931229
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
...onnx-1.15.0-r2.ebuild => onnx-1.15.0-r3.ebuild} | 45 ++++++++++++----------
1 file changed, 25 insertions(+), 20 deletions(-)
diff --git a/sci-libs/onnx/onnx-1.15.0-r2.ebuild b/sci-libs/onnx/onnx-1.15.0-r3.ebuild
similarity index 62%
rename from sci-libs/onnx/onnx-1.15.0-r2.ebuild
rename to sci-libs/onnx/onnx-1.15.0-r3.ebuild
index 63e8ab1695e9..cd9731d69130 100644
--- a/sci-libs/onnx/onnx-1.15.0-r2.ebuild
+++ b/sci-libs/onnx/onnx-1.15.0-r3.ebuild
@@ -3,7 +3,6 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_OPTIONAL=1
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{9..12} )
inherit distutils-r1 cmake
@@ -16,47 +15,53 @@ SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
-IUSE="python"
RESTRICT="test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
- python? (
- ${PYTHON_DEPS}
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- )
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
dev-libs/protobuf:=
"
DEPEND="${RDEPEND}"
-BDEPEND="python? (
- ${DISTUTILS_DEPS}
-)"
-
-PATCHES=( "${FILESDIR}"/${P}-hidden.patch )
-
src_prepare() {
+ eapply "${FILESDIR}"/${P}-hidden.patch
cmake_src_prepare
- use python && distutils-r1_src_prepare
+ distutils-r1_src_prepare
}
-src_configure() {
+python_configure_all()
+{
mycmakeargs=(
-DONNX_USE_PROTOBUF_SHARED_LIBS=ON
-DONNX_USE_LITE_PROTO=ON
-DONNX_BUILD_SHARED_LIBS=ON
)
cmake_src_configure
- use python && distutils-r1_src_configure
+}
+
+src_configure() {
+ distutils-r1_src_configure
}
src_compile() {
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ -DONNX_BUILD_SHARED_LIBS=ON
+ )
+ CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
+}
+
+python_compile_all() {
cmake_src_compile
- use python && CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
}
-src_install() {
+python_install_all() {
cmake_src_install
- use python && distutils-r1_src_install
+ distutils-r1_python_install_all
+}
+
+src_install() {
+ distutils-r1_src_install
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-05-06 8:29 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-05-06 8:29 UTC (permalink / raw
To: gentoo-commits
commit: 64cc571e76135e6f06c0ef4bcef86bc8586c12ea
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon May 6 08:28:45 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon May 6 08:29:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64cc571e
sci-libs/onnx: add 1.16.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 +
sci-libs/onnx/onnx-1.16.0.ebuild | 67 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index e7517b3f3567..9b84f011ad21 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1,2 +1,3 @@
DIST onnx-1.14.1.tar.gz 11570627 BLAKE2B df478219b5d557ad7e0717377996eefc02baa88a89d9681b17e00670e42fa3c8e47db0f5c5fdfab682fa7d80032559da8276c5106a91a7599d190427e2b6e4a8 SHA512 f846fffb286c4aeadc01462f220515f0a5c2ce1cbec849da7092a08c2676f8308af7315318a2866e9182f9aed719984ef95a9ddc69ffe0e62e40664395df5efd
DIST onnx-1.15.0.tar.gz 12360484 BLAKE2B 4d35b82c128a69124b9bfcb3e56b3d584b7451ae739a91039e201dd485efa3e90e34e6cf135993317622f8f524160a38556231b2b0561e93d8cd0487abf35c1b SHA512 b46a4ab70af88053318eba45251c1f71528f15e45a33042877570e8d857febd3ec66e2e811fcda2105a4f17b84c9a1c6a0aaa22756c3287321b3ea29e83127fd
+DIST onnx-1.16.0.tar.gz 12428161 BLAKE2B b0d16212c527078fcbe46af8efaf8bfccb0a22825cfee3c88728314599bc90f5b43ae407cc9ec10300ed19367dff769a5d6ba29d2faa61fd8e27029e2d64e83a SHA512 ef641447d8d6c4ed9f083793fe14a8568d6aa7b9b7e7b859a4082e9b892acd801230da2027d097ceaa0d68bbd37b2422b89bb7d1d55d5c3b5955c0f9c7c657c5
diff --git a/sci-libs/onnx/onnx-1.16.0.ebuild b/sci-libs/onnx/onnx-1.16.0.ebuild
new file mode 100644
index 000000000000..e5a6b1c71b41
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.16.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ dev-libs/protobuf:=
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch
+ cmake_src_prepare
+ distutils-r1_src_prepare
+}
+
+python_configure_all()
+{
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ -DONNX_BUILD_SHARED_LIBS=ON
+ )
+ cmake_src_configure
+}
+
+src_configure() {
+ distutils-r1_src_configure
+}
+
+src_compile() {
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ -DONNX_BUILD_SHARED_LIBS=ON
+ )
+ CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
+}
+
+python_compile_all() {
+ cmake_src_compile
+}
+
+python_install_all() {
+ cmake_src_install
+ distutils-r1_python_install_all
+}
+
+src_install() {
+ distutils-r1_src_install
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-05-07 6:20 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-05-07 6:20 UTC (permalink / raw
To: gentoo-commits
commit: 032cba57e50bcdb9785ba532198cb8ad236f52b4
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue May 7 06:19:41 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue May 7 06:20:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032cba57
sci-libs/onnx: add IUSE to disable static registration
Closes: https://bugs.gentoo.org/928041
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/metadata.xml | 3 +++
sci-libs/onnx/onnx-1.16.0.ebuild | 3 +++
2 files changed, 6 insertions(+)
diff --git a/sci-libs/onnx/metadata.xml b/sci-libs/onnx/metadata.xml
index 2a58de7a87a9..e06b5c6e88c2 100644
--- a/sci-libs/onnx/metadata.xml
+++ b/sci-libs/onnx/metadata.xml
@@ -5,6 +5,9 @@
<email>tupone@gentoo.org</email>
<name>Tupone Alfredo</name>
</maintainer>
+ <use>
+ <flag name="disableStaticReg">Disable Static Registration</flag>
+ </use>
<upstream>
<remote-id type="github">onnx/onnx</remote-id>
</upstream>
diff --git a/sci-libs/onnx/onnx-1.16.0.ebuild b/sci-libs/onnx/onnx-1.16.0.ebuild
index e5a6b1c71b41..498d770d736d 100644
--- a/sci-libs/onnx/onnx-1.16.0.ebuild
+++ b/sci-libs/onnx/onnx-1.16.0.ebuild
@@ -15,6 +15,7 @@ SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
+IUSE="disableStaticReg"
RESTRICT="test"
RDEPEND="
@@ -36,6 +37,7 @@ python_configure_all()
-DONNX_USE_PROTOBUF_SHARED_LIBS=ON
-DONNX_USE_LITE_PROTO=ON
-DONNX_BUILD_SHARED_LIBS=ON
+ -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF)
)
cmake_src_configure
}
@@ -49,6 +51,7 @@ src_compile() {
-DONNX_USE_PROTOBUF_SHARED_LIBS=ON
-DONNX_USE_LITE_PROTO=ON
-DONNX_BUILD_SHARED_LIBS=ON
+ -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF)
)
CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-05-26 7:51 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-05-26 7:51 UTC (permalink / raw
To: gentoo-commits
commit: 7fb16ed6d3ded0137aac458ac7c7e35b7fe93380
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun May 26 07:49:04 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun May 26 07:51:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb16ed6
sci-libs/onnx: add dev-cpp/abseil-cpp deps
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/{onnx-1.16.0.ebuild => onnx-1.16.0-r1.ebuild} | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sci-libs/onnx/onnx-1.16.0.ebuild b/sci-libs/onnx/onnx-1.16.0-r1.ebuild
similarity index 97%
rename from sci-libs/onnx/onnx-1.16.0.ebuild
rename to sci-libs/onnx/onnx-1.16.0-r1.ebuild
index 498d770d736d..16f073d9b4d3 100644
--- a/sci-libs/onnx/onnx-1.16.0.ebuild
+++ b/sci-libs/onnx/onnx-1.16.0-r1.ebuild
@@ -23,7 +23,8 @@ RDEPEND="
dev-python/pybind11[${PYTHON_USEDEP}]
dev-libs/protobuf:=
"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ dev-cpp/abseil-cpp"
src_prepare() {
eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-05-26 17:36 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-05-26 17:36 UTC (permalink / raw
To: gentoo-commits
commit: f41f8139b01d86d7e55b6fe803fa911f46a02ac6
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun May 26 17:35:52 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun May 26 17:36:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41f8139
sci-libs/onnx: drop 1.15.0-r3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 -
sci-libs/onnx/onnx-1.15.0-r3.ebuild | 67 -------------------------------------
2 files changed, 68 deletions(-)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 65ea12c9ba56..9d273cf27dc6 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1,2 +1 @@
-DIST onnx-1.15.0.tar.gz 12360484 BLAKE2B 4d35b82c128a69124b9bfcb3e56b3d584b7451ae739a91039e201dd485efa3e90e34e6cf135993317622f8f524160a38556231b2b0561e93d8cd0487abf35c1b SHA512 b46a4ab70af88053318eba45251c1f71528f15e45a33042877570e8d857febd3ec66e2e811fcda2105a4f17b84c9a1c6a0aaa22756c3287321b3ea29e83127fd
DIST onnx-1.16.0.tar.gz 12428161 BLAKE2B b0d16212c527078fcbe46af8efaf8bfccb0a22825cfee3c88728314599bc90f5b43ae407cc9ec10300ed19367dff769a5d6ba29d2faa61fd8e27029e2d64e83a SHA512 ef641447d8d6c4ed9f083793fe14a8568d6aa7b9b7e7b859a4082e9b892acd801230da2027d097ceaa0d68bbd37b2422b89bb7d1d55d5c3b5955c0f9c7c657c5
diff --git a/sci-libs/onnx/onnx-1.15.0-r3.ebuild b/sci-libs/onnx/onnx-1.15.0-r3.ebuild
deleted file mode 100644
index cd9731d69130..000000000000
--- a/sci-libs/onnx/onnx-1.15.0-r3.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{9..12} )
-inherit distutils-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx"
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-RESTRICT="test"
-
-RDEPEND="
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- dev-libs/protobuf:=
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- eapply "${FILESDIR}"/${P}-hidden.patch
- cmake_src_prepare
- distutils-r1_src_prepare
-}
-
-python_configure_all()
-{
- mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- -DONNX_USE_LITE_PROTO=ON
- -DONNX_BUILD_SHARED_LIBS=ON
- )
- cmake_src_configure
-}
-
-src_configure() {
- distutils-r1_src_configure
-}
-
-src_compile() {
- mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- -DONNX_USE_LITE_PROTO=ON
- -DONNX_BUILD_SHARED_LIBS=ON
- )
- CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
-}
-
-python_compile_all() {
- cmake_src_compile
-}
-
-python_install_all() {
- cmake_src_install
- distutils-r1_python_install_all
-}
-
-src_install() {
- distutils-r1_src_install
-}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-07-28 16:19 Patrick Lauer
0 siblings, 0 replies; 24+ messages in thread
From: Patrick Lauer @ 2024-07-28 16:19 UTC (permalink / raw
To: gentoo-commits
commit: e0ef1b9b7a2559794adc97ec6a499154ffbf1c35
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 16:19:25 2024 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 16:19:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0ef1b9b
sci-libs/onnx: add 1.16.1
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 +
sci-libs/onnx/onnx-1.16.1.ebuild | 71 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 9d273cf27dc6..65f50bc1fcf2 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1 +1,2 @@
DIST onnx-1.16.0.tar.gz 12428161 BLAKE2B b0d16212c527078fcbe46af8efaf8bfccb0a22825cfee3c88728314599bc90f5b43ae407cc9ec10300ed19367dff769a5d6ba29d2faa61fd8e27029e2d64e83a SHA512 ef641447d8d6c4ed9f083793fe14a8568d6aa7b9b7e7b859a4082e9b892acd801230da2027d097ceaa0d68bbd37b2422b89bb7d1d55d5c3b5955c0f9c7c657c5
+DIST onnx-1.16.1.tar.gz 12428832 BLAKE2B 15a7db2fa263914957c671bd8e94eb8b80afeba0b396e8b54f8fb2deda2965885055efae7a6f6e402eb085b5795025020f650132023ba3d4df1f395d99ec353c SHA512 0ae1b36563ddeaa9947bf452eb20b83174e4c2bc4696b61768f096c401666323343fac0f699f756da99d3c29df15a0bd78fe3fa51da15f133617d7310c5b28d4
diff --git a/sci-libs/onnx/onnx-1.16.1.ebuild b/sci-libs/onnx/onnx-1.16.1.ebuild
new file mode 100644
index 000000000000..16f073d9b4d3
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.16.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="disableStaticReg"
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ dev-libs/protobuf:=
+"
+DEPEND="${RDEPEND}
+ dev-cpp/abseil-cpp"
+
+src_prepare() {
+ eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch
+ cmake_src_prepare
+ distutils-r1_src_prepare
+}
+
+python_configure_all()
+{
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ -DONNX_BUILD_SHARED_LIBS=ON
+ -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF)
+ )
+ cmake_src_configure
+}
+
+src_configure() {
+ distutils-r1_src_configure
+}
+
+src_compile() {
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ -DONNX_BUILD_SHARED_LIBS=ON
+ -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF)
+ )
+ CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
+}
+
+python_compile_all() {
+ cmake_src_compile
+}
+
+python_install_all() {
+ cmake_src_install
+ distutils-r1_python_install_all
+}
+
+src_install() {
+ distutils-r1_src_install
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-09-04 16:16 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-09-04 16:16 UTC (permalink / raw
To: gentoo-commits
commit: a81812c1f82f324843c383eda80c30f495ebfe50
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 4 16:15:05 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Sep 4 16:15:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81812c1
sci-libs/onnx: rdepend on abseil-cpp:=
Closes: https://bugs.gentoo.org/939018
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 -
...onnx-1.16.0-r1.ebuild => onnx-1.16.1-r1.ebuild} | 4 +-
sci-libs/onnx/onnx-1.16.1.ebuild | 71 ----------------------
3 files changed, 2 insertions(+), 74 deletions(-)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 65f50bc1fcf2..5b59ba271455 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1,2 +1 @@
-DIST onnx-1.16.0.tar.gz 12428161 BLAKE2B b0d16212c527078fcbe46af8efaf8bfccb0a22825cfee3c88728314599bc90f5b43ae407cc9ec10300ed19367dff769a5d6ba29d2faa61fd8e27029e2d64e83a SHA512 ef641447d8d6c4ed9f083793fe14a8568d6aa7b9b7e7b859a4082e9b892acd801230da2027d097ceaa0d68bbd37b2422b89bb7d1d55d5c3b5955c0f9c7c657c5
DIST onnx-1.16.1.tar.gz 12428832 BLAKE2B 15a7db2fa263914957c671bd8e94eb8b80afeba0b396e8b54f8fb2deda2965885055efae7a6f6e402eb085b5795025020f650132023ba3d4df1f395d99ec353c SHA512 0ae1b36563ddeaa9947bf452eb20b83174e4c2bc4696b61768f096c401666323343fac0f699f756da99d3c29df15a0bd78fe3fa51da15f133617d7310c5b28d4
diff --git a/sci-libs/onnx/onnx-1.16.0-r1.ebuild b/sci-libs/onnx/onnx-1.16.1-r1.ebuild
similarity index 97%
rename from sci-libs/onnx/onnx-1.16.0-r1.ebuild
rename to sci-libs/onnx/onnx-1.16.1-r1.ebuild
index 16f073d9b4d3..0e8227eb2487 100644
--- a/sci-libs/onnx/onnx-1.16.0-r1.ebuild
+++ b/sci-libs/onnx/onnx-1.16.1-r1.ebuild
@@ -22,9 +22,9 @@ RDEPEND="
dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
dev-libs/protobuf:=
+ dev-cpp/abseil-cpp:=
"
-DEPEND="${RDEPEND}
- dev-cpp/abseil-cpp"
+DEPEND="${RDEPEND}"
src_prepare() {
eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch
diff --git a/sci-libs/onnx/onnx-1.16.1.ebuild b/sci-libs/onnx/onnx-1.16.1.ebuild
deleted file mode 100644
index 16f073d9b4d3..000000000000
--- a/sci-libs/onnx/onnx-1.16.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx"
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-IUSE="disableStaticReg"
-RESTRICT="test"
-
-RDEPEND="
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- dev-libs/protobuf:=
-"
-DEPEND="${RDEPEND}
- dev-cpp/abseil-cpp"
-
-src_prepare() {
- eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch
- cmake_src_prepare
- distutils-r1_src_prepare
-}
-
-python_configure_all()
-{
- mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- -DONNX_USE_LITE_PROTO=ON
- -DONNX_BUILD_SHARED_LIBS=ON
- -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF)
- )
- cmake_src_configure
-}
-
-src_configure() {
- distutils-r1_src_configure
-}
-
-src_compile() {
- mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- -DONNX_USE_LITE_PROTO=ON
- -DONNX_BUILD_SHARED_LIBS=ON
- -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF)
- )
- CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
-}
-
-python_compile_all() {
- cmake_src_compile
-}
-
-python_install_all() {
- cmake_src_install
- distutils-r1_python_install_all
-}
-
-src_install() {
- distutils-r1_src_install
-}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
@ 2024-11-07 20:04 Alfredo Tupone
0 siblings, 0 replies; 24+ messages in thread
From: Alfredo Tupone @ 2024-11-07 20:04 UTC (permalink / raw
To: gentoo-commits
commit: c57fa0c646c95b896f24d3054013484c865aeedf
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 7 20:03:40 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Nov 7 20:03:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c57fa0c6
sci-libs/onnx: add 1.16.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-libs/onnx/Manifest | 1 +
sci-libs/onnx/onnx-1.16.2.ebuild | 71 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 5b59ba271455..00f196c30f46 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1 +1,2 @@
DIST onnx-1.16.1.tar.gz 12428832 BLAKE2B 15a7db2fa263914957c671bd8e94eb8b80afeba0b396e8b54f8fb2deda2965885055efae7a6f6e402eb085b5795025020f650132023ba3d4df1f395d99ec353c SHA512 0ae1b36563ddeaa9947bf452eb20b83174e4c2bc4696b61768f096c401666323343fac0f699f756da99d3c29df15a0bd78fe3fa51da15f133617d7310c5b28d4
+DIST onnx-1.16.2.tar.gz 12429500 BLAKE2B 1541fd9e80e305bc0764d1f5d236a89a2f0d0d8819bd6f235c88d35985daf02f575854a537af193befbeab861b2fe6a9d5b8803975b8ae6a47d5d5a6dc28b661 SHA512 7a9a8493b9c007429629484156487395044506f34e72253640e626351cb623b390750b36af78a290786131e3dcac35f4eb269e8693b594b7ce7cb105bcf9318d
diff --git a/sci-libs/onnx/onnx-1.16.2.ebuild b/sci-libs/onnx/onnx-1.16.2.ebuild
new file mode 100644
index 000000000000..0e8227eb2487
--- /dev/null
+++ b/sci-libs/onnx/onnx-1.16.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Open Neural Network Exchange (ONNX)"
+HOMEPAGE="https://github.com/onnx/onnx"
+SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="disableStaticReg"
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ dev-libs/protobuf:=
+ dev-cpp/abseil-cpp:=
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch
+ cmake_src_prepare
+ distutils-r1_src_prepare
+}
+
+python_configure_all()
+{
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ -DONNX_BUILD_SHARED_LIBS=ON
+ -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF)
+ )
+ cmake_src_configure
+}
+
+src_configure() {
+ distutils-r1_src_configure
+}
+
+src_compile() {
+ mycmakeargs=(
+ -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
+ -DONNX_USE_LITE_PROTO=ON
+ -DONNX_BUILD_SHARED_LIBS=ON
+ -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON OFF)
+ )
+ CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
+}
+
+python_compile_all() {
+ cmake_src_compile
+}
+
+python_install_all() {
+ cmake_src_install
+ distutils-r1_python_install_all
+}
+
+src_install() {
+ distutils-r1_src_install
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
end of thread, other threads:[~2024-11-07 20:04 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-26 17:36 [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2024-11-07 20:04 Alfredo Tupone
2024-09-04 16:16 Alfredo Tupone
2024-07-28 16:19 Patrick Lauer
2024-05-26 7:51 Alfredo Tupone
2024-05-07 6:20 Alfredo Tupone
2024-05-06 8:29 Alfredo Tupone
2024-05-05 9:26 Alfredo Tupone
2024-02-19 21:30 Alfredo Tupone
2024-01-02 13:09 Alfredo Tupone
2024-01-02 12:52 Alfredo Tupone
2023-12-28 12:38 Alfredo Tupone
2023-12-12 20:52 Alfredo Tupone
2023-12-03 13:59 Alfredo Tupone
2023-11-11 16:22 Alfredo Tupone
2023-11-01 20:50 Alfredo Tupone
2023-05-28 23:27 Yixun Lan
2023-05-23 20:28 Alfredo Tupone
2023-04-04 11:41 Alfredo Tupone
2023-02-14 7:45 Alfredo Tupone
2022-11-10 16:51 Alfredo Tupone
2022-09-05 19:17 Alfredo Tupone
2022-05-19 20:09 Alfredo Tupone
2022-05-19 12:21 Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox