commit: 6e90a6d6a4772d3692b48001587163fba1134b75 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> AuthorDate: Tue Sep 8 08:13:38 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Tue Sep 8 08:13:38 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6e90a6d6
sci-libs/arrayfire: Drop 0.9999, because releases are available Package-Manager: portage-2.2.20.1 sci-libs/arrayfire/ChangeLog | 4 ++ sci-libs/arrayfire/arrayfire-0.9999.ebuild | 95 ------------------------------ 2 files changed, 4 insertions(+), 95 deletions(-) diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog index 2d72c84..994387a 100644 --- a/sci-libs/arrayfire/ChangeLog +++ b/sci-libs/arrayfire/ChangeLog @@ -1,6 +1,10 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Id$ + 08 Sep 2015; Marius Brehler <mar...@linux.sungazer.de> + -arrayfire-0.9999.ebuild: + sci-libs/arrayfire: Drop 0.9999, because releases are available + 22 Aug 2015; Marius Brehler <mar...@linux.sungazer.de> arrayfire-9999.ebuild: sci-libs/arrayfire: Partitial fix for bug #463: Use system boost-compute diff --git a/sci-libs/arrayfire/arrayfire-0.9999.ebuild b/sci-libs/arrayfire/arrayfire-0.9999.ebuild deleted file mode 100644 index fc1c949..0000000 --- a/sci-libs/arrayfire/arrayfire-0.9999.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils git-r3 - -GTEST_PV="1.7.0" - -DESCRIPTION="A general purpose GPU library." -HOMEPAGE="http://www.arrayfire.com/" -EGIT_REPO_URI="https://github.com/${PN}/${PN}.git git://github.com/${PN}/${PN}.git" -SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )" -KEYWORDS="" -# the remote HEAD points to devel, but we want to pull the master instead -EGIT_BRANCH="master" - -LICENSE="BSD" -SLOT="0" -IUSE="+examples +cpu cuda opencl test" - -RDEPEND=" - >=sys-devel/gcc-4.7:* - cuda? ( - >=dev-util/nvidia-cuda-toolkit-6.0 - dev-libs/boost - ) - cpu? ( - virtual/blas - virtual/cblas - sci-libs/fftw:3.0 - ) - opencl? ( - dev-libs/boost - dev-libs/boost-compute - sci-libs/clblas - sci-libs/clfft - )" -DEPEND="${RDEPEND}" - -BUILD_DIR="${S}/build" -CMAKE_BUILD_TYPE=Release - -PATCHES=( - "${FILESDIR}"/${PN}-3.0_beta-FindCBLAS.patch - "${FILESDIR}"/${PN}-3.0_beta-FindBoostCompute.patch - "${FILESDIR}"/${PN}-3.0_beta-opencl_CMakeLists.patch -) - -# We need write acccess /dev/nvidiactl, /dev/nvidia0 and /dev/nvidia-uvm and the portage -# user is (usually) not in the video group -RESTRICT="userpriv" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]] ) ; then - die "Compilation with gcc older than 4.7 is not supported." - fi - fi -} - -src_unpack() { - git-r3_src_unpack - - if use test; then - mkdir -p "${BUILD_DIR}"/third_party/src/ || die - cd "${BUILD_DIR}"/third_party/src/ || die - unpack ${A} - mv "${BUILD_DIR}"/third_party/src/gtest-"${GTEST_PV}" "${BUILD_DIR}"/third_party/src/googletest || die - fi -} - -src_configure() { - if use cuda; then - addwrite /dev/nvidiactl - addwrite /dev/nvidia0 - addwrite /dev/nvidia-uvm - fi - - local mycmakeargs=( - $(cmake-utils_use_build cpu CPU) - $(cmake-utils_use_build cuda CUDA) - $(cmake-utils_use_build opencl OPENCL) - $(cmake-utils_use_build examples EXAMPLES) - $(cmake-utils_use_build test TEST) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - dobin "${BUILD_DIR}/bin2cpp" -}