From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ncnn/
Date: Wed, 17 May 2023 09:12:41 +0000 (UTC) [thread overview]
Message-ID: <1684314405.6b6bf8fd1e227ef68f05e2965a456af67877283d.ionen@gentoo> (raw)
commit: 6b6bf8fd1e227ef68f05e2965a456af67877283d
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 09:00:00 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed May 17 09:06:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6bf8fd
dev-libs/ncnn: add 20230517
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-libs/ncnn/Manifest | 1 +
dev-libs/ncnn/ncnn-20230517.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/dev-libs/ncnn/Manifest b/dev-libs/ncnn/Manifest
index b8a8c6129ef4..129bbf242263 100644
--- a/dev-libs/ncnn/Manifest
+++ b/dev-libs/ncnn/Manifest
@@ -1 +1,2 @@
DIST ncnn-20230223.tar.gz 12475262 BLAKE2B 50b228b920f3c09640b1cdef8247b66a09bbacf64ac66b8fd601973c648221b1f9ff07b0069bdf1f7944db53cbca39c2fa4f3627e2b2ecc3e46e9dc4b38135ab SHA512 8c94a6aa082961da52a277aa49c44ce30bde942cfd8156d7f60a42b826fe918d8edec4d9c52ec3495e662f6d2e3d9a4709daeb9941cd6873dc100c7b11cee49a
+DIST ncnn-20230517.tar.gz 12569535 BLAKE2B eefb6c2aab6ee97a258c8b7eaad749b7bf9712f8d03a0398b57b6e6e6b3e42357de64db0fe4ce244391dd9f495f576bc27704ab7ed810cd130b1d710ffdd75ef SHA512 e4d125a6590a3ac290376a7a5d7790d9eb145bd69cbb7c4d8b28ff7e1b05b1dfe8513d84f0199c681976d54c1904546ef536db14f39fbb0d8cb68ed5061f58b9
diff --git a/dev-libs/ncnn/ncnn-20230517.ebuild b/dev-libs/ncnn/ncnn-20230517.ebuild
new file mode 100644
index 000000000000..f30e8cae5151
--- /dev/null
+++ b/dev-libs/ncnn/ncnn-20230517.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="High-performance neural network inference framework"
+HOMEPAGE="https://github.com/Tencent/ncnn/"
+SRC_URI="https://github.com/Tencent/ncnn/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD ZLIB"
+SLOT="0/${PV}" # currently has unstable ABI that often requires rebuilds
+KEYWORDS="~amd64 ~x86"
+IUSE="tools +vulkan"
+
+# Need the static library to run tests + skip vulkan / GPU:
+# -DNCNN_BUILD_TESTS=ON -DNCNN_SHARED_LIB=OFF -DNCNN_VULKAN=OFF
+RESTRICT="test"
+
+RDEPEND="
+ tools? ( dev-libs/protobuf:= )
+ vulkan? (
+ dev-util/glslang:=
+ media-libs/vulkan-loader
+ )"
+DEPEND="
+ ${RDEPEND}
+ vulkan? ( dev-util/vulkan-headers )"
+
+DOCS=( README.md docs/. )
+
+src_configure() {
+ local mycmakeargs=(
+ -DGLSLANG_TARGET_DIR="${ESYSROOT}"/usr/$(get_libdir)/cmake
+ -DNCNN_BUILD_EXAMPLES=OFF
+ -DNCNN_BUILD_TOOLS=$(usex tools)
+ -DNCNN_PYTHON=OFF # todo if something needs it
+ -DNCNN_SHARED_LIB=ON
+ -DNCNN_SYSTEM_GLSLANG=ON
+ -DNCNN_VERSION=${PV} # avoids libncnn.so.*.%Y%m%d using build date
+ -DNCNN_VULKAN=$(usex vulkan)
+ )
+
+ cmake_src_configure
+}
next reply other threads:[~2023-05-17 9:12 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-17 9:12 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-04 16:15 [gentoo-commits] repo/gentoo:master commit in: dev-libs/ncnn/ Ionen Wolkens
2024-09-09 13:46 Sam James
2024-08-20 15:50 Ionen Wolkens
2024-05-12 20:25 Ionen Wolkens
2024-04-27 21:46 Sam James
2024-04-12 19:36 Ionen Wolkens
2024-04-10 19:07 Ionen Wolkens
2024-03-23 14:09 Ionen Wolkens
2024-02-22 6:16 Ionen Wolkens
2024-01-24 20:34 Arthur Zamarin
2024-01-02 4:55 Ionen Wolkens
2023-11-30 19:42 Ionen Wolkens
2023-11-16 17:17 Arthur Zamarin
2023-10-27 10:33 Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2023-09-12 16:15 Ionen Wolkens
2023-08-16 12:53 Ionen Wolkens
2023-08-09 18:14 Piotr Karbowski
2023-06-02 6:54 Ionen Wolkens
2023-05-23 2:52 Sam James
2023-02-23 9:22 Ionen Wolkens
2022-12-19 7:23 Ionen Wolkens
2022-11-28 5:58 Ionen Wolkens
2022-11-28 4:12 Ionen Wolkens
2022-11-08 23:57 Nick Sarnie
2022-08-07 13:59 Ionen Wolkens
2022-07-29 5:21 Ionen Wolkens
2022-07-21 5:38 Ionen Wolkens
2022-07-02 2:27 Ionen Wolkens
2022-05-13 14:51 Ionen Wolkens
2022-04-20 3:33 Ionen Wolkens
2022-04-20 2:40 Ionen Wolkens
2022-04-20 2:40 Ionen Wolkens
2021-06-08 7:10 Ionen Wolkens
2021-05-31 19:30 Piotr Karbowski
2021-05-31 19:30 Piotr Karbowski
2020-08-30 18:27 Piotr Karbowski
2020-04-26 20:09 Piotr Karbowski
2020-03-31 20:50 Piotr Karbowski
2020-03-29 22:08 Piotr Karbowski
2020-03-29 21:09 Piotr Karbowski
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=1684314405.6b6bf8fd1e227ef68f05e2965a456af67877283d.ionen@gentoo \
--to=ionen@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