summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-05-13 10:31:44 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-05-13 10:50:31 -0400
commitcb4694e94d2cc9d3c86070a1c90154852f951c89 (patch)
tree32be57d8a20e594b879d63bf11013e7ea3d7eeb7 /dev-libs/ncnn
parentapp-text/mdbook: drop 0.4.15 (diff)
downloadgentoo-cb4694e94d2cc9d3c86070a1c90154852f951c89.tar.gz
gentoo-cb4694e94d2cc9d3c86070a1c90154852f951c89.tar.bz2
gentoo-cb4694e94d2cc9d3c86070a1c90154852f951c89.zip
dev-libs/ncnn: drop 20210525-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-libs/ncnn')
-rw-r--r--dev-libs/ncnn/Manifest1
-rw-r--r--dev-libs/ncnn/ncnn-20210525-r1.ebuild76
2 files changed, 0 insertions, 77 deletions
diff --git a/dev-libs/ncnn/Manifest b/dev-libs/ncnn/Manifest
index c04a066daf14..ac715a325fcf 100644
--- a/dev-libs/ncnn/Manifest
+++ b/dev-libs/ncnn/Manifest
@@ -1,2 +1 @@
-DIST ncnn-20210525.tar.gz 11578821 BLAKE2B 1b6dc67cb89e4761c6de256c8854c3969c553159c11713d9bbbe04abd027e9439ffb694e8129da4d965807d1ec326d643c71c00ee1f032dbf4c2271c2699ceb2 SHA512 5d919b6830f5a75c751d64476f5bf2b9b71ced1cee29e4156c4f01a9d7d8833dfdf8420747c55979c5b39b29fd63b5bf4bc3d27b756a617ef39f4e2ce4da2f93
DIST ncnn-20220420.tar.gz 12158916 BLAKE2B fcecf395e54ff683bb8301365d805b99439b3797493e419fa8c99a325ebd1dfd80e65b08cffd9283fe453010a0cdde221aeeffa37e154335d2f6d7f6c6b9b138 SHA512 7c567bcd75cf36be7fbb16dba7f978ae965478afed8948e9e1c6f8c681ea678f769e64fae337a5c1d0bc1549bf922c1761b51a7822153a1eb4d267ef8adf1ecd
diff --git a/dev-libs/ncnn/ncnn-20210525-r1.ebuild b/dev-libs/ncnn/ncnn-20210525-r1.ebuild
deleted file mode 100644
index a6aa54a5132f..000000000000
--- a/dev-libs/ncnn/ncnn-20210525-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="High-performance neural network inference framework"
-HOMEPAGE="https://github.com/Tencent/ncnn"
-SRC_URI="https://github.com/Tencent/ncnn/archive/${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:
-# -DNCNN_BUILD_TESTS=ON, -DNCNN_SHARED_LIB=OFF, USE=-vulkan (skip GPU)
-RESTRICT="test"
-
-RDEPEND="
- dev-util/glslang
- tools? ( dev-libs/protobuf:= )
- vulkan? ( media-libs/vulkan-loader )"
-DEPEND="
- ${RDEPEND}
- vulkan? ( dev-util/vulkan-headers )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-fix-glslang-include.patch
-)
-DOCS=( README.md docs/. )
-
-src_prepare() {
- cmake_src_prepare
-
- sed -i "/DESTINATION/s| lib| $(get_libdir)|" src/CMakeLists.txt || die
-
- # Workaround build issues on AVX without AVX2 (bug #730468)
- # This can be removed if CXXFLAGS="-mavx -mno-avx2" builds after a bump.
- find src -type f -exec sed -i s/__AVX__/__AVX2__/g {} + || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_SKIP_RPATH=ON # for tools
- -DGLSLANG_TARGET_DIR="${ESYSROOT}"/usr/$(get_libdir)/cmake
- -DNCNN_BUILD_EXAMPLES=OFF
- -DNCNN_BUILD_TOOLS=$(usex tools)
- -DNCNN_PYTHON=OFF # missing portalocker, and nothing needs this for now
- -DNCNN_SHARED_LIB=ON
- -DNCNN_SYSTEM_GLSLANG=ON
- -DNCNN_VERSION=${PV} # avoids libncnn.so.*.%Y%m%d (build date)
- -DNCNN_VULKAN=$(usex vulkan)
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use tools; then
- local tools=(
- caffe/caffe2ncnn
- darknet/darknet2ncnn
- mxnet/mxnet2ncnn
- ncnn2mem
- ncnnmerge
- ncnnoptimize
- onnx/onnx2ncnn
- quantize/{ncnn2int8,ncnn2table}
- )
- dobin "${tools[@]/#/${BUILD_DIR}/tools/}"
- fi
-}