summaryrefslogtreecommitdiff
path: root/dev-libs/ncnn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-05 03:03:37 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-05 03:03:37 +0000
commit564cd64dc5f2727c4df6aeb1bb51327503c84e78 (patch)
tree44f51d1887abfcdb7df61a570c2ffa0d6841d7db /dev-libs/ncnn
parent3cc82055be7dba177f4aea15af9f5414b532da7e (diff)
gentoo auto-resync : 05:11:2024 - 03:03:37
Diffstat (limited to 'dev-libs/ncnn')
-rw-r--r--dev-libs/ncnn/Manifest2
-rw-r--r--dev-libs/ncnn/ncnn-20240410.ebuild68
2 files changed, 0 insertions, 70 deletions
diff --git a/dev-libs/ncnn/Manifest b/dev-libs/ncnn/Manifest
index 9bc83efa505f..f3b99f1aa685 100644
--- a/dev-libs/ncnn/Manifest
+++ b/dev-libs/ncnn/Manifest
@@ -1,5 +1,3 @@
-DIST ncnn-20240410.tar.gz 12835689 BLAKE2B b4c2ffdf525719dca81d020695f03cd963c3a1f1a0ecc61b6e08c75da212d280210bf1be9b54343a771661fef747675e7f08d0dd9e3ea942adfda1e07d1f6868 SHA512 61865af26aecc6b0eccdfd46c5b3f6e4dd06d7409298051c91d141e64b8c15690f2f982c0aeb3a11d3a575061ab7606710cb0e710f4cb6539c7a14ff440aaaf7
DIST ncnn-20240820.tar.gz 12963701 BLAKE2B cf92ac70fb0256ae4b78f03d5a670622071f6f0e9b4ad1ee6a18238852f66b3d6b0456d33b2cf2eb691c351b1e8c7b0a8427fb20342029c79f33626f09d9bba5 SHA512 cbef59021231df7409c73a270f147e72daefa1230ccc072aec7225078097ec8e99d4dd82e8aaa93665361c4c24b3812e05f08da5c9a82a575ef2aad70c0828fe
-EBUILD ncnn-20240410.ebuild 1622 BLAKE2B 4a8abed71bf07f561ed17a51adb58388869e4b5d0371f9c8329f30882e98e8b7de90d9279af32a4d8fd11cb29decdf9b6017018ba8446d37a19b8d1cc24d1ed0 SHA512 d08954ae5c5ab8b9298d38a550dc6f31020a750dc0334d368df9791455daad3c5ea504a352bb80b1ea23a14c1ff63e4af6d09ed25c4e6ac8b44c9f37df8fea57
EBUILD ncnn-20240820.ebuild 1622 BLAKE2B 4a8abed71bf07f561ed17a51adb58388869e4b5d0371f9c8329f30882e98e8b7de90d9279af32a4d8fd11cb29decdf9b6017018ba8446d37a19b8d1cc24d1ed0 SHA512 d08954ae5c5ab8b9298d38a550dc6f31020a750dc0334d368df9791455daad3c5ea504a352bb80b1ea23a14c1ff63e4af6d09ed25c4e6ac8b44c9f37df8fea57
MISC metadata.xml 430 BLAKE2B 2623eadab618d93544c297f5c5bbb29575a769e0d4660aa619c66db2ad1909349f2753a426789d6c280a13a452b3434d5ffa2e781aee59b4487a71b023792327 SHA512 0693c619982557394bbabab2ceee6ba06445bcc208bb9e751392a371ca3efbf56b39685fb2d20d4e3da443c5bf7a482ed4581a7349734ad44c1e58dfb6dc241e
diff --git a/dev-libs/ncnn/ncnn-20240410.ebuild b/dev-libs/ncnn/ncnn-20240410.ebuild
deleted file mode 100644
index 3ca6898ed9c5..000000000000
--- a/dev-libs/ncnn/ncnn-20240410.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake toolchain-funcs
-
-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="openmp 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-cpp/abseil-cpp:=
- dev-libs/protobuf:=
- )
- vulkan? (
- dev-util/glslang:=
- media-libs/vulkan-loader
- )
-"
-DEPEND="
- ${RDEPEND}
- vulkan? ( dev-util/vulkan-headers )
-"
-
-DOCS=( README.md docs/. )
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGLSLANG_TARGET_DIR="${ESYSROOT}"/usr/$(get_libdir)/cmake
- -DNCNN_BUILD_EXAMPLES=no
- -DNCNN_BUILD_TOOLS=$(usex tools)
- -DNCNN_OPENMP=$(usex openmp)
- -DNCNN_PYTHON=no # todo if something needs it
- -DNCNN_SHARED_LIB=yes
- -DNCNN_SIMPLEVK=no
- -DNCNN_SYSTEM_GLSLANG=yes
- -DNCNN_VERSION=${PV} # avoids libncnn.so.*.%Y%m%d using build date
- -DNCNN_VULKAN=$(usex vulkan)
- )
-
- # temporary workaround due to a >=clang-18 regression (bug #929228)
- tc-is-clang && [[ $(clang-major-version) -ge 18 ]] &&
- mycmakeargs+=( -DNCNN_AVX512BF16=no )
-
- cmake_src_configure
-}