From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/
Date: Tue, 7 May 2024 06:20:45 +0000 (UTC) [thread overview]
Message-ID: <1715062828.032cba57e50bcdb9785ba532198cb8ad236f52b4.tupone@gentoo> (raw)
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
}
next reply other threads:[~2024-05-07 6:20 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-07 6:20 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-04 16:16 [gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/ Alfredo Tupone
2024-07-28 16:19 Patrick Lauer
2024-05-26 17:36 Alfredo Tupone
2024-05-26 7:51 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=1715062828.032cba57e50bcdb9785ba532198cb8ad236f52b4.tupone@gentoo \
--to=tupone@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