From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
Date: Sun, 28 Jul 2024 16:19:57 +0000 (UTC) [thread overview]
Message-ID: <1722183595.e0ef1b9b7a2559794adc97ec6a499154ffbf1c35.patrick@gentoo> (raw)
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
+}
next reply other threads:[~2024-07-28 16:20 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-28 16:19 Patrick Lauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-02 13:56 [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/ Alfredo Tupone
2025-03-02 13:51 Alfredo Tupone
2025-02-21 20:54 Alfredo Tupone
2025-02-21 7:17 Alfredo Tupone
2024-11-07 20:04 Alfredo Tupone
2024-09-04 16:16 Alfredo Tupone
2024-05-26 17:36 Alfredo Tupone
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1722183595.e0ef1b9b7a2559794adc97ec6a499154ffbf1c35.patrick@gentoo \
--to=patrick@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox