diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-03 14:30:02 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-06 16:54:43 +0200 |
commit | e20eb846570051b5a5aa2331fb4e3d2861050e15 (patch) | |
tree | 981aff4d6562a023b03a15f50925492fe31f7864 /sci-libs/flann | |
parent | dev-python/pyflann: Drop old (diff) | |
download | gentoo-e20eb846570051b5a5aa2331fb4e3d2861050e15.tar.gz gentoo-e20eb846570051b5a5aa2331fb4e3d2861050e15.tar.bz2 gentoo-e20eb846570051b5a5aa2331fb4e3d2861050e15.zip |
sci-libs/flann: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sci-libs/flann')
-rw-r--r-- | sci-libs/flann/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/flann/flann-1.8.4-r1.ebuild | 108 |
2 files changed, 0 insertions, 109 deletions
diff --git a/sci-libs/flann/Manifest b/sci-libs/flann/Manifest index b7bd4a7ec5ef..fc60a7b83e98 100644 --- a/sci-libs/flann/Manifest +++ b/sci-libs/flann/Manifest @@ -1,3 +1,2 @@ -DIST flann-1.8.4-src.zip 561057 BLAKE2B 0cd1cf7bc394501d878d848246f76919924e39dc950e49e82bd2c8dbf46d9626fc9749ba4578ce62aabd0313314969dd7f6883c42167545238bc89561ce028ce SHA512 47ac6be66e3ec7303d28febc5a4cea2f8d1b3d81c3b7081f27cf17936074e06e91e30123569b41269a2b97c9960274dc485a575d77c1a386e8f539a76a8d3a0a DIST flann-1.8.4-testdata.tar.xz 26744244 BLAKE2B eb8a5066d79dedd2ff4ec48f0e0969d6486417abfb2cc5c2e3e1e0f8dfef637f2cb290e8f1868b819ff7e4d71687daf2aaeb16c8197f5642125ea50ef775441f SHA512 f2bee5e2dfe2fbb42953df563f178b67639b62e26fc31be14e07c196ba3e84db21804e594af44991f7cf45ca5e10ff753093cf160abf33e90d19735a9a0b51cb DIST flann-1.9.1.tar.gz 485391 BLAKE2B bf1e1e7feb33e939e1d0586db593bea3fdf66726fbadec63df9ed9c7bdb678babb11001769f0d041a7a569186b3d700db8b96af5eb9740615f6dfd880460f68b SHA512 0da78bb14111013318160dd3dee1f93eb6ed077b18439fd6496017b62a8a6070cc859cfb3e08dad4c614e48d9dc1da5f7c4a21726ee45896d360506da074a6f7 diff --git a/sci-libs/flann/flann-1.8.4-r1.ebuild b/sci-libs/flann/flann-1.8.4-r1.ebuild deleted file mode 100644 index 00be826a33e5..000000000000 --- a/sci-libs/flann/flann-1.8.4-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit cmake-utils cuda eutils multilib toolchain-funcs - -DESCRIPTION="Fast approximate nearest neighbor searches in high dimensional spaces" -HOMEPAGE="http://www.cs.ubc.ca/research/flann/" -SRC_URI=" - http://people.cs.ubc.ca/~mariusm/uploads/FLANN/${P}-src.zip - test? ( https://dev.gentoo.org/~bicatali/distfiles/${P}-testdata.tar.xz )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" -IUSE="cuda doc examples mpi openmp octave static-libs test" - -RDEPEND=" - cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) - mpi? ( - sci-libs/hdf5[mpi] - dev-libs/boost[mpi] - ) - !mpi? ( !sci-libs/hdf5[mpi] ) - octave? ( >=sci-mathematics/octave-3.6.4-r1 )" -DEPEND="${RDEPEND} - app-arch/unzip - doc? ( dev-tex/latex2html ) - test? ( - dev-cpp/gtest - cuda? ( sci-libs/hdf5 ) - ) -" - -PATCHES=( - "${FILESDIR}"/${P}-examples.patch - "${FILESDIR}"/${P}-options.patch - "${FILESDIR}"/${P}-CUDA_NVCC_FLAGS.patch - "${FILESDIR}"/${P}-cuda5.5.patch - "${FILESDIR}"/${P}-multilib.patch - "${FILESDIR}"/${P}-docdir.patch -) - -S="${WORKDIR}"/${P}-src - -pkg_setup() { - if use openmp; then - if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp ; then - ewarn "OpenMP is not available in your current selected gcc" - die "need openmp capable gcc" - fi - fi -} - -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-utils_src_prepare -} - -src_configure() { - # python bindings are split - local mycmakeargs=( - -DBUILD_C_BINDINGS=ON - -DBUILD_PYTHON_BINDINGS=OFF - -DPYTHON_EXECUTABLE= - -DDOCDIR=share/doc/${PF} - $(cmake-utils_use_build cuda CUDA_LIB) - $(cmake-utils_use_build examples) - $(cmake-utils_use_build doc) - $(cmake-utils_use_build test TESTS) - $(cmake-utils_use_build octave MATLAB_BINDINGS) - $(cmake-utils_use_use mpi) - $(cmake-utils_use_use openmp) - ) - use cuda && \ - mycmakeargs+=( - -DCUDA_NVCC_FLAGS="${NVCCFLAGS},-arsch" - ) - cmake-utils_src_configure -} - -src_test() { - ln -s "${WORKDIR}"/testdata/* test/ || die - # -j1 to avoid obversubscribing jobs - LD_LIBRARY_PATH="${BUILD_DIR}/lib" \ - cmake-utils_src_compile -j1 test -} - -src_install() { - cmake-utils_src_install - dodoc README.md - if ! use static-libs; then - find "${ED}" -name 'lib*.a' -exec rm -rf '{}' '+' || die - fi -} |