From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB69413835A for ; Fri, 25 Sep 2020 02:33:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EE1FE081E; Fri, 25 Sep 2020 02:33:48 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63A9FE081E for ; Fri, 25 Sep 2020 02:33:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1154D340B9C for ; Fri, 25 Sep 2020 02:33:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AFA5365 for ; Fri, 25 Sep 2020 02:33:45 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1601000928.8778c365f1575fc092359bdbc64b0cb120c7452a.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild X-VCS-Directories: sci-libs/arrayfire/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: 8778c365f1575fc092359bdbc64b0cb120c7452a X-VCS-Branch: master Date: Fri, 25 Sep 2020 02:33:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ec6cae06-b81e-4c89-aa79-b0a955173c94 X-Archives-Hash: fe0ec86f1bde83f40a3d7e09517cf787 commit: 8778c365f1575fc092359bdbc64b0cb120c7452a Author: Aisha Tammy aisha cc> AuthorDate: Fri Sep 25 02:28:48 2020 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Fri Sep 25 02:28:48 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8778c365 sci-libs/arrayfire: drop old version Package-Manager: Portage-3.0.8, Repoman-3.0.1 RepoMan-Options: --force Signed-off-by: Aisha Tammy aisha.cc> sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild | 109 --------------------------- 1 file changed, 109 deletions(-) diff --git a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild deleted file mode 100644 index 9dff4b2c7..000000000 --- a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils multilib - -GTEST_PV="1.7.0" - -DESCRIPTION="A general purpose GPU library" -HOMEPAGE="http://www.arrayfire.com/" -SRC_URI=" - http://arrayfire.com/arrayfire_source/${PN}-full-${PV}.tar.bz2 -> ${P}.tar.bz2 - test? ( https://github.com/google/googletest/archive/release-${GTEST_PV}.zip -> gtest-${GTEST_PV}.zip )" - -LICENSE=" - BSD - nonfree? ( OpenSIFT )" -SLOT="0" -IUSE="+examples +cpu cuda nonfree opencl test graphics" -KEYWORDS="~amd64" - -RDEPEND=" - >=sys-devel/gcc-4.7:* - media-libs/freeimage - cuda? ( - >=dev-util/nvidia-cuda-toolkit-7.5.18-r1 - dev-libs/boost - ) - cpu? ( - virtual/blas - virtual/cblas - virtual/lapacke - sci-libs/fftw:3.0 - ) - opencl? ( - virtual/blas - virtual/cblas - virtual/lapacke - >=sci-libs/clblas-2.4 - >=sci-libs/clfft-2.6.1 - dev-libs/boost - || ( dev-libs/boost-compute >=dev-libs/boost-1.61.0 ) - ) - graphics? ( - media-libs/glew:= - >=media-libs/glfw-3.1.1 - ~sci-visualization/forge-3.1.2 - )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${PN}-full-${PV}" -BUILD_DIR="${S}/build" -CMAKE_BUILD_TYPE=Release - -# 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() { - default - - if ! use nonfree; then - find "${WORKDIR}" -name "*_nonfree*" -delete || die - fi - - if use test; then - mkdir -p "${BUILD_DIR}"/third_party/src/ || die - mv "${WORKDIR}"/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=( - -DBUILD_CPU="$(usex cpu)" - -DBUILD_CUDA="$(usex cuda)" - -DBUILD_OPENCL="$(usex opencl)" - -DBUILD_EXAMPLES="$(usex examples)" - -DBUILD_TEST="$(usex test)" - -DBUILD_GRAPHICS="$(usex graphics)" - -DBUILD_NONFREE="$(usex nonfree)" - -DUSE_SYSTEM_BOOST_COMPUTE=ON - -DUSE_SYSTEM_CLBLAS=ON - -DUSE_SYSTEM_CLFFT=ON - -DUSE_SYSTEM_FORGE=ON - -DAF_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/ArrayFire - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - dobin "${BUILD_DIR}/bin2cpp" -}