From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B801D138448 for ; Wed, 9 Sep 2015 07:11:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8EDAE08BA; Wed, 9 Sep 2015 07:11:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E57BFE08B5 for ; Wed, 9 Sep 2015 07:11:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70FFB340AB5 for ; Wed, 9 Sep 2015 07:11:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F968194 for ; Wed, 9 Sep 2015 07:11:07 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1441718373.8c270480e806a72fdc2808fa504c249888288950.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/arrayfire/ChangeLog sci-libs/arrayfire/arrayfire-3.0.2.ebuild sci-libs/arrayfire/arrayfire-9999.ebuild X-VCS-Directories: sci-libs/arrayfire/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 8c270480e806a72fdc2808fa504c249888288950 X-VCS-Branch: master Date: Wed, 9 Sep 2015 07:11:07 +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-Archives-Salt: bd5a1421-fb1a-4b10-8823-a56af0c175b7 X-Archives-Hash: 28e99f2e082756224fca46391a96b88d commit: 8c270480e806a72fdc2808fa504c249888288950 Author: Marius Brehler linux sungazer de> AuthorDate: Tue Sep 8 13:19:33 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Sep 8 13:19:33 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8c270480 sci-libs/arrayfire: Add arrayfire-3.0.2; Minor improvments Package-Manager: portage-2.2.20.1 sci-libs/arrayfire/ChangeLog | 6 ++++++ ...rrayfire-9999.ebuild => arrayfire-3.0.2.ebuild} | 25 +++++++++++----------- sci-libs/arrayfire/arrayfire-9999.ebuild | 6 +++--- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog index 22c0ef3..3e36536 100644 --- a/sci-libs/arrayfire/ChangeLog +++ b/sci-libs/arrayfire/ChangeLog @@ -1,6 +1,12 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Id$ +*arrayfire-3.0.2 (08 Sep 2015) + + 08 Sep 2015; Marius Brehler + +arrayfire-3.0.2.ebuild, arrayfire-9999.ebuild: + sci-libs/arrayfire: Add arrayfire-3.0.2; Minor improvments + 08 Sep 2015; Marius Brehler +files/arrayfire-9999-Try-PkgConf-first-to-find-LAPACKE.patch, arrayfire-9999.ebuild: diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-3.0.2.ebuild similarity index 75% copy from sci-libs/arrayfire/arrayfire-9999.ebuild copy to sci-libs/arrayfire/arrayfire-3.0.2.ebuild index 5eb95c7..7c43ce3 100644 --- a/sci-libs/arrayfire/arrayfire-9999.ebuild +++ b/sci-libs/arrayfire/arrayfire-3.0.2.ebuild @@ -4,15 +4,15 @@ EAPI=5 -inherit cmake-utils git-r3 +inherit cmake-utils 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="" +SRC_URI="http://arrayfire.com/arrayfire_source/${PN}-full-${PV}.tar.bz2 -> ${P}.tar.bz2 +test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )" +KEYWORDS="~amd64" LICENSE="BSD" SLOT="0" @@ -37,17 +37,18 @@ RDEPEND=" virtual/lapacke dev-libs/boost dev-libs/boost-compute - sci-libs/clblas - sci-libs/clfft + >=sci-libs/clblas-2.4 + >=sci-libs/clfft-2.6.1 )" DEPEND="${RDEPEND}" +S="${WORKDIR}/${PN}" BUILD_DIR="${S}/build" CMAKE_BUILD_TYPE=Release PATCHES=( - "${FILESDIR}"/${P}-FindCBLAS.patch - "${FILESDIR}"/${P}-Try-PkgConf-first-to-find-LAPACKE.patch + "${FILESDIR}/${PN}"-9999-FindCBLAS.patch + "${FILESDIR}/${PN}"-9999-Try-PkgConf-first-to-find-LAPACKE.patch ) # We need write acccess /dev/nvidiactl, /dev/nvidia0 and /dev/nvidia-uvm and the portage @@ -63,13 +64,11 @@ pkg_pretend() { } src_unpack() { - git-r3_src_unpack + default 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 + mv "${WORKDIR}"/gtest-"${GTEST_PV}" "${BUILD_DIR}"/third_party/src/googletest || die fi } @@ -89,7 +88,7 @@ src_configure() { -DUSE_SYSTEM_BOOST_COMPUTE=ON -DUSE_SYSTEM_CLBLAS=ON -DUSE_SYSTEM_CLFFT=ON - -DBUILD_GRAPHICS=OFF + -DBUILD_GRAPHICS=OFF ) cmake-utils_src_configure } diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild index 5eb95c7..b2fea92 100644 --- a/sci-libs/arrayfire/arrayfire-9999.ebuild +++ b/sci-libs/arrayfire/arrayfire-9999.ebuild @@ -46,8 +46,8 @@ BUILD_DIR="${S}/build" CMAKE_BUILD_TYPE=Release PATCHES=( - "${FILESDIR}"/${P}-FindCBLAS.patch - "${FILESDIR}"/${P}-Try-PkgConf-first-to-find-LAPACKE.patch + "${FILESDIR}/${P}"-FindCBLAS.patch + "${FILESDIR}/${P}"-Try-PkgConf-first-to-find-LAPACKE.patch ) # We need write acccess /dev/nvidiactl, /dev/nvidia0 and /dev/nvidia-uvm and the portage @@ -89,7 +89,7 @@ src_configure() { -DUSE_SYSTEM_BOOST_COMPUTE=ON -DUSE_SYSTEM_CLBLAS=ON -DUSE_SYSTEM_CLFFT=ON - -DBUILD_GRAPHICS=OFF + -DBUILD_GRAPHICS=OFF ) cmake-utils_src_configure }