summaryrefslogtreecommitdiff
path: root/sci-libs/flann
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-19 19:49:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-19 19:49:08 +0000
commitf287ecad888abdeb38e617d0485de282cd6819db (patch)
tree874d56500040734c4dbb9e437e0d5ed80a0a1886 /sci-libs/flann
parent844ae757702c53a56ee57056873a8204d256d47e (diff)
gentoo auto-resync : 19:12:2022 - 19:49:08
Diffstat (limited to 'sci-libs/flann')
-rw-r--r--sci-libs/flann/Manifest1
-rw-r--r--sci-libs/flann/flann-1.9.1-r4.ebuild95
2 files changed, 0 insertions, 96 deletions
diff --git a/sci-libs/flann/Manifest b/sci-libs/flann/Manifest
index 024294dbf0da..caaaa931223f 100644
--- a/sci-libs/flann/Manifest
+++ b/sci-libs/flann/Manifest
@@ -5,6 +5,5 @@ AUX flann-1.9.1-cuda-9.patch 850 BLAKE2B f193a6fd25a1d2cd45201d547fb444393cb82f3
AUX flann-1.9.1-system-lz4-pkgconfig.patch 1168 BLAKE2B 9fadff93a2d603aee3eadd72d28f5af4f41b63803aa7d878d9b23e30a9c2384d48f85d2c8be8cfcd47542b35e929b8f35afc70caf6dc6c676b6521ebc6f829d7 SHA512 ba1c6307f2504814adfc872f1cbcd4fdaab23c56d84427c11c20e3ff75263ac97be0813cf9c5e9acd1a945d0c5dbb2b7660ada3290ffc7332ea0c90b1bc26ffa
AUX flann-1.9.1-system-lz4.patch 4934 BLAKE2B eea32abae8b13d5d0e5149c58b2639c1b6f3bbbedfa8aa91f5fb83afca4726571eb4e01eb440eb913b54f8a03124bc0266c8b039b6448bcdc0bc5e87a9512c6f SHA512 acb67eb59b400b82722f064e529fc86f43c4e16ba097a3742b5717b33fcd35a619c73ec6ea6391b23f906d4bc40a5167b56cffd0267bc2c8259b7298ad414e65
DIST flann-1.9.1.tar.gz 485391 BLAKE2B bf1e1e7feb33e939e1d0586db593bea3fdf66726fbadec63df9ed9c7bdb678babb11001769f0d041a7a569186b3d700db8b96af5eb9740615f6dfd880460f68b SHA512 0da78bb14111013318160dd3dee1f93eb6ed077b18439fd6496017b62a8a6070cc859cfb3e08dad4c614e48d9dc1da5f7c4a21726ee45896d360506da074a6f7
-EBUILD flann-1.9.1-r4.ebuild 2380 BLAKE2B ee30376d1c3a968a0a92ea5bfa9062db6773b087b5ee60517d1d9dde512d48b931a91fa83c9fef49a6eb4cf8e5117cc1f77085df1913fed3875d97a9edd02786 SHA512 8d18d6a7d8e6f3f5e0cce5b0d40b258768a59254f6d20e40256ec3d46cd5c304919623cd0ed109fd053f9a55552149d6a04e7f7b6184e31fa11473fb783af39b
EBUILD flann-1.9.1-r5.ebuild 2278 BLAKE2B 053172cbb1e76fe263efa976e878c4bd3aa7eab6739cc92a5d0d2fb448d0c27483d37a8c51a668e2e708bdff5e1a9aa9770031aaeb363aaf2fdc7ab819b490b8 SHA512 ce846229845592355b012691c9c17b0243ee6e7fa0b6376999b2e8bb5a84709f1856ef1cfdb467ecc601e13326d52fcfeccf7bbe76ce8549579c53728a9f9ac5
MISC metadata.xml 972 BLAKE2B b192aee4ab043f8c3f69526727aad60e2613a6b94c5b686404593ab40213afeacde74009d305fee83c6d670d50af59207ad95189a03c53fb8193abcfdfd69c97 SHA512 77b1bf0f269cd7bd63c06442cf2cd9d1405f2a40925da469a23827a1e2461e89b8ab1b80d202ead404e7fe25f9d24a91cc4b36d775349ddd9dd50168097d3db4
diff --git a/sci-libs/flann/flann-1.9.1-r4.ebuild b/sci-libs/flann/flann-1.9.1-r4.ebuild
deleted file mode 100644
index 299876df8ad3..000000000000
--- a/sci-libs/flann/flann-1.9.1-r4.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake cuda flag-o-matic toolchain-funcs
-
-DESCRIPTION="Fast approximate nearest neighbor searches in high dimensional spaces"
-HOMEPAGE="https://github.com/mariusmuja/flann"
-SRC_URI="https://github.com/mariusmuja/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc x86 ~amd64-linux ~x86-linux"
-IUSE="cuda doc examples mpi octave openmp"
-
-BDEPEND="
- app-arch/unzip
- doc? ( dev-tex/latex2html )
-"
-DEPEND="
- app-arch/lz4:=
- cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 )
- mpi? (
- dev-libs/boost:=[mpi]
- sci-libs/hdf5[mpi]
- )
- !mpi? ( !sci-libs/hdf5[mpi] )
- octave? ( >=sci-mathematics/octave-3.6.4-r1 )
-"
-RDEPEND="${DEPEND}"
-# TODO:
-# readd dependencies for test suite,
-# requires multiple ruby dependencies
-
-PATCHES=(
- "${FILESDIR}"/${P}-cmake-3.11{,-1}.patch # bug 678030
- "${FILESDIR}"/${P}-cuda-9.patch
- "${FILESDIR}"/${P}-system-lz4.patch # bug 681898
- "${FILESDIR}"/${P}-system-lz4-pkgconfig.patch # bug 827263
-)
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_prepare() {
- # bug #302621
- use mpi && export CXX=mpicxx
- # produce pure octave files
- # octave gentoo installation for .m files respected
- sed -i \
- -e 's/--mex//' \
- -e 's/\.mex/\.oct/' \
- -e '/FILES/s/${MEX_FILE}//' \
- -e 's:share/flann/octave:share/octave/site/m:' \
- -e "/CUSTOM_TARGET/a\INSTALL(FILES \${MEX_FILE} DESTINATION libexec/octave/site/oct/${CHOST})" \
- src/matlab/CMakeLists.txt || die
- use cuda && cuda_src_prepare
-
- cmake_src_prepare
-}
-
-src_configure() {
- append-cxxflags -std=c++11
-
- # python bindings are split off into dev-python/pyflann
- local mycmakeargs=(
- -DBUILD_C_BINDINGS=ON
- -DBUILD_PYTHON_BINDINGS=OFF
- -DPYTHON_EXECUTABLE=
- -DBUILD_CUDA_LIB=$(usex cuda)
- -DBUILD_EXAMPLES=$(usex examples)
- -DBUILD_DOC=$(usex doc)
- -DBUILD_TESTS=OFF
- -DBUILD_MATLAB_BINDINGS=$(usex octave)
- -DUSE_MPI=$(usex mpi)
- -DUSE_OPENMP=$(usex openmp)
- )
- use cuda && mycmakeargs+=(
- -DCUDA_NVCC_FLAGS="${NVCCFLAGS} --linker-options \"-arsch\""
- )
- use doc && mycmakeargs+=( -DDOCDIR=share/doc/${PF} )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- find "${D}" -name 'lib*.a' -delete || die
-}