* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-09-09 7:11 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-09-09 7:11 UTC (permalink / raw
To: gentoo-commits
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 <marbre@linux.sungazer.de>
+ -arrayfire-0.9999.ebuild:
+ sci-libs/arrayfire: Drop 0.9999, because releases are available
+
22 Aug 2015; Marius Brehler <marbre@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"
-}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2024-01-22 12:00 Horea Christian
0 siblings, 0 replies; 57+ messages in thread
From: Horea Christian @ 2024-01-22 12:00 UTC (permalink / raw
To: gentoo-commits
commit: acafe5f4ec926ef4934a7fc4c4a2c2933489a310
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Jan 22 11:58:44 2024 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Jan 22 11:58:44 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=acafe5f4
sci-libs/arrayfire: updated dependency name
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
sci-libs/arrayfire/arrayfire-3.7.2.ebuild | 2 +-
sci-libs/arrayfire/arrayfire-3.7.3.ebuild | 2 +-
sci-libs/arrayfire/arrayfire-3.8.0.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
index eb8917457..5d2f3c7a4 100644
--- a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="
- doc? ( app-doc/doxygen )
+ doc? ( app-text/doxygen )
virtual/pkgconfig
"
diff --git a/sci-libs/arrayfire/arrayfire-3.7.3.ebuild b/sci-libs/arrayfire/arrayfire-3.7.3.ebuild
index eb8917457..5d2f3c7a4 100644
--- a/sci-libs/arrayfire/arrayfire-3.7.3.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.7.3.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="
- doc? ( app-doc/doxygen )
+ doc? ( app-text/doxygen )
virtual/pkgconfig
"
diff --git a/sci-libs/arrayfire/arrayfire-3.8.0.ebuild b/sci-libs/arrayfire/arrayfire-3.8.0.ebuild
index eb8917457..5d2f3c7a4 100644
--- a/sci-libs/arrayfire/arrayfire-3.8.0.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.8.0.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="
- doc? ( app-doc/doxygen )
+ doc? ( app-text/doxygen )
virtual/pkgconfig
"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2021-01-20 8:40 Andrew Ammerlaan
0 siblings, 0 replies; 57+ messages in thread
From: Andrew Ammerlaan @ 2021-01-20 8:40 UTC (permalink / raw
To: gentoo-commits
commit: 589ce23376b2a9d937487b36be2d58875882d5d5
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Jan 20 08:38:27 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Jan 20 08:38:27 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=589ce233
sci-libs/arrayfire: update homepage
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-libs/arrayfire/arrayfire-3.7.2.ebuild | 4 ++--
sci-libs/arrayfire/arrayfire-3.7.3.ebuild | 4 ++--
sci-libs/arrayfire/arrayfire-3.8.0.ebuild | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
index bc6313b9e..f265da20b 100644
--- a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
inherit cmake multilib
DESCRIPTION="general purpose GPU library"
-HOMEPAGE="https://www.arrayfire.com/"
+HOMEPAGE="https://arrayfire.com/"
SRC_URI="https://github.com/arrayfire/arrayfire/releases/download/v${PV}/${PN}-full-${PV}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}"/${PN}-full-${PV}
BUILD_DIR="${S}/build"
diff --git a/sci-libs/arrayfire/arrayfire-3.7.3.ebuild b/sci-libs/arrayfire/arrayfire-3.7.3.ebuild
index bc6313b9e..f265da20b 100644
--- a/sci-libs/arrayfire/arrayfire-3.7.3.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
inherit cmake multilib
DESCRIPTION="general purpose GPU library"
-HOMEPAGE="https://www.arrayfire.com/"
+HOMEPAGE="https://arrayfire.com/"
SRC_URI="https://github.com/arrayfire/arrayfire/releases/download/v${PV}/${PN}-full-${PV}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}"/${PN}-full-${PV}
BUILD_DIR="${S}/build"
diff --git a/sci-libs/arrayfire/arrayfire-3.8.0.ebuild b/sci-libs/arrayfire/arrayfire-3.8.0.ebuild
index e9b0932a8..f265da20b 100644
--- a/sci-libs/arrayfire/arrayfire-3.8.0.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.8.0.ebuild
@@ -6,7 +6,7 @@ EAPI=7
inherit cmake multilib
DESCRIPTION="general purpose GPU library"
-HOMEPAGE="https://www.arrayfire.com/"
+HOMEPAGE="https://arrayfire.com/"
SRC_URI="https://github.com/arrayfire/arrayfire/releases/download/v${PV}/${PN}-full-${PV}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}"/${PN}-full-${PV}
BUILD_DIR="${S}/build"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2021-01-19 2:04 Aisha Tammy
0 siblings, 0 replies; 57+ messages in thread
From: Aisha Tammy @ 2021-01-19 2:04 UTC (permalink / raw
To: gentoo-commits
commit: a4b8b8d131c6167c812590100538db42d374cd53
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Jan 19 01:15:47 2021 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Jan 19 01:15:47 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a4b8b8d1
sci-libs/arrayfire: version bump to 3.8.0
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-libs/arrayfire/arrayfire-3.8.0.ebuild | 96 +++++++++++++++++++++++++++++++
1 file changed, 96 insertions(+)
diff --git a/sci-libs/arrayfire/arrayfire-3.8.0.ebuild b/sci-libs/arrayfire/arrayfire-3.8.0.ebuild
new file mode 100644
index 000000000..e9b0932a8
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.8.0.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake multilib
+
+DESCRIPTION="general purpose GPU library"
+HOMEPAGE="https://www.arrayfire.com/"
+SRC_URI="https://github.com/arrayfire/arrayfire/releases/download/v${PV}/${PN}-full-${PV}.tar.bz2 -> ${P}.tar.bz2"
+S="${WORKDIR}"/${PN}-full-${PV}
+BUILD_DIR="${S}/build"
+
+KEYWORDS="~amd64"
+
+LICENSE="BSD nonfree? ( OpenSIFT )"
+SLOT="0"
+IUSE="examples +cache cuda doc mkl nonfree opencl test +trace"
+RESTRICT="bindist mirror !test? ( test )"
+
+RDEPEND="
+ media-libs/freeimage
+ media-libs/glbinding
+ >=media-libs/glfw-3.1
+ ~sci-visualization/forge-1.0.5
+ virtual/blas
+ virtual/cblas
+ virtual/lapacke
+ sci-libs/fftw:3.0
+ cuda? (
+ dev-libs/cudnn
+ >=dev-util/nvidia-cuda-toolkit-9.0.0
+ >=dev-libs/boost-1.70.0
+ )
+ mkl? (
+ sci-libs/mkl
+ )
+ opencl? (
+ >=dev-libs/boost-1.70.0
+ >=sci-libs/clblas-2.4
+ >=sci-libs/clfft-2.6.1
+ virtual/opencl
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig
+"
+
+src_unpack() {
+ default
+
+ if ! use nonfree; then
+ find "${WORKDIR}" -name "*_nonfree*" -delete || die
+ fi
+}
+
+src_configure() {
+ if use cuda; then
+ addwrite /dev/nvidiactl
+ addwrite /dev/nvidia0
+ addwrite /dev/nvidia-uvm
+ fi
+
+ # forge headers are needed, so submodule
+ # has to stay, hence a ~ on forge dependency
+ local mycmakeargs=(
+ -DAF_BUILD_CPU=ON
+ -DAF_BUILD_CUDA="$(usex cuda)"
+ -DAF_BUILD_OPENCL="$(usex opencl)"
+ -DAF_BUILD_UNIFIED=ON
+ -DAF_BUILD_DOCS="$(usex doc)"
+ -DAF_BUILD_EXAMPLES="$(usex examples)"
+ -DAF_WITH_CUDNN="$(usex cuda)"
+ -DAF_BUILD_FORGE=OFF
+ -DAF_WITH_NONFREE="$(usex nonfree)"
+ -DAF_WITH_LOGGING=ON
+ -DAF_WITH_STACKTRACE="$(usex trace)"
+ -DAF_CACHE_KERNELS_TO_DISK="$(usex cache)"
+ -DAF_WITH_STATIC_MKL="$(usex mkl)"
+ -DAF_INSTALL_STANDALONE=OFF
+ -DAF_WITH_STATIC_FREEIMAGE=OFF
+ -DAF_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/ArrayFire
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ dodoc -r "${ED}"/usr/LICENSES
+ rm -r "${ED}"/usr/LICENSES || die
+
+ dobin "${BUILD_DIR}"/bin2cpp
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2020-12-23 2:46 Aisha Tammy
0 siblings, 0 replies; 57+ messages in thread
From: Aisha Tammy @ 2020-12-23 2:46 UTC (permalink / raw
To: gentoo-commits
commit: 486551514d058a29ab9e7faa45c330dde6542c2a
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Wed Dec 23 02:46:39 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Wed Dec 23 02:46:39 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=48655151
sci-libs/arrayfire: version bump 3.7.3
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-libs/arrayfire/arrayfire-3.7.2.ebuild | 5 -----
.../arrayfire/{arrayfire-3.7.2.ebuild => arrayfire-3.7.3.ebuild} | 5 -----
2 files changed, 10 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
index c48d70612..bc6313b9e 100644
--- a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
@@ -4,7 +4,6 @@
EAPI=7
inherit cmake multilib
-CMAKE_BUILD_TYPE=Release
DESCRIPTION="general purpose GPU library"
HOMEPAGE="https://www.arrayfire.com/"
@@ -49,10 +48,6 @@ BDEPEND="
virtual/pkgconfig
"
-# 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"
-
src_unpack() {
default
diff --git a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild b/sci-libs/arrayfire/arrayfire-3.7.3.ebuild
similarity index 92%
copy from sci-libs/arrayfire/arrayfire-3.7.2.ebuild
copy to sci-libs/arrayfire/arrayfire-3.7.3.ebuild
index c48d70612..bc6313b9e 100644
--- a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.7.3.ebuild
@@ -4,7 +4,6 @@
EAPI=7
inherit cmake multilib
-CMAKE_BUILD_TYPE=Release
DESCRIPTION="general purpose GPU library"
HOMEPAGE="https://www.arrayfire.com/"
@@ -49,10 +48,6 @@ BDEPEND="
virtual/pkgconfig
"
-# 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"
-
src_unpack() {
default
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2020-09-25 12:16 Aisha Tammy
0 siblings, 0 replies; 57+ messages in thread
From: Aisha Tammy @ 2020-09-25 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 96ea2634ad19ea90613891654b5afab178202c38
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 12:16:22 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 12:16:22 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=96ea2634
sci-libs/arrayfire: add cudnn dependency
theres a lot more testing to be done
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-libs/arrayfire/arrayfire-3.7.2.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
index 2cc60ed29..c48d70612 100644
--- a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
@@ -29,8 +29,12 @@ RDEPEND="
virtual/lapacke
sci-libs/fftw:3.0
cuda? (
+ dev-libs/cudnn
>=dev-util/nvidia-cuda-toolkit-9.0.0
- dev-libs/boost
+ >=dev-libs/boost-1.70.0
+ )
+ mkl? (
+ sci-libs/mkl
)
opencl? (
>=dev-libs/boost-1.70.0
@@ -93,6 +97,5 @@ src_install() {
dodoc -r "${ED}"/usr/LICENSES
rm -r "${ED}"/usr/LICENSES || die
- dodir /usr/bin
dobin "${BUILD_DIR}"/bin2cpp
}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2020-09-25 2:33 Aisha Tammy
0 siblings, 0 replies; 57+ messages in thread
From: Aisha Tammy @ 2020-09-25 2:33 UTC (permalink / raw
To: gentoo-commits
commit: 50e954337a5743e5edbea9460a5ed08fb1d8c0da
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 02:30:13 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 02:30:13 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=50e95433
sci-libs/arrayfire: drop old version
Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --force
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-libs/arrayfire/arrayfire-3.4.2-r1.ebuild | 114 ---------------------------
1 file changed, 114 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.4.2-r1.ebuild b/sci-libs/arrayfire/arrayfire-3.4.2-r1.ebuild
deleted file mode 100644
index 0a9ff57d4..000000000
--- a/sci-libs/arrayfire/arrayfire-3.4.2-r1.ebuild
+++ /dev/null
@@ -1,114 +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 unified graphics"
-KEYWORDS="~amd64"
-
-RDEPEND="
- >=sys-devel/gcc-4.7:*
- media-libs/freeimage
- cuda? (
- >=dev-util/nvidia-cuda-toolkit-8.0.44
- 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-1.61.0
- dev-libs/opencl-clhpp
- )
- graphics? (
- media-libs/glbinding
- >=media-libs/glfw-3.1.1
- ~sci-visualization/forge-0.9.2
- )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${PN}-full-${PV}"
-BUILD_DIR="${S}/build"
-CMAKE_BUILD_TYPE=Release
-
-PATCHES=("${FILESDIR}/${P}-Build-fix-for-CUDA-Compile-PTX-generated-names.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() {
- 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)"
- -DBUILD_UNIFIED="$(usex unified)"
- -DUSE_SYSTEM_BOOST_COMPUTE=ON
- -DUSE_SYSTEM_CL2HPP=ON
- -DUSE_SYSTEM_CLBLAS=ON
- -DUSE_SYSTEM_CLFFT=ON
- -DUSE_SYSTEM_FORGE=ON
- -DUSE_SYSTEM_GLBINDING=ON
- -DAF_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/ArrayFire
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- dobin "${BUILD_DIR}/bin2cpp"
-}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2020-09-25 2:33 Aisha Tammy
0 siblings, 0 replies; 57+ messages in thread
From: Aisha Tammy @ 2020-09-25 2:33 UTC (permalink / raw
To: gentoo-commits
commit: 2041be5d2cd477175f07d11043393280afd30601
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 02:29:49 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 02:29:49 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2041be5d
sci-libs/arrayfire: drop old version
Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --force
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-libs/arrayfire/arrayfire-3.3.2.ebuild | 112 ------------------------------
1 file changed, 112 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild b/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
deleted file mode 100644
index 900c7218f..000000000
--- a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
+++ /dev/null
@@ -1,112 +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 unified 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.2.2
- )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${PN}-full-${PV}"
-BUILD_DIR="${S}/build"
-CMAKE_BUILD_TYPE=Release
-
-PATCHES=("${FILESDIR}/${P}-FindLAPACKE.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() {
- 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)"
- -DBUILD_UNIFIED="$(usex unified)"
- -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"
-}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2020-09-25 2:33 Aisha Tammy
0 siblings, 0 replies; 57+ messages in thread
From: Aisha Tammy @ 2020-09-25 2:33 UTC (permalink / raw
To: gentoo-commits
commit: 8341f9088a14e1d65b20a59c6386ba2e46675f22
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 02:28:12 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 02:28:22 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8341f908
sci-libs/arrayfire: version bump to 3.7.2
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-libs/arrayfire/arrayfire-3.7.2.ebuild | 98 +++++++++++++++++++++++++++++++
sci-libs/arrayfire/metadata.xml | 40 +++++--------
2 files changed, 112 insertions(+), 26 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.7.2.ebuild b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
new file mode 100644
index 000000000..2cc60ed29
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.7.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake multilib
+CMAKE_BUILD_TYPE=Release
+
+DESCRIPTION="general purpose GPU library"
+HOMEPAGE="https://www.arrayfire.com/"
+SRC_URI="https://github.com/arrayfire/arrayfire/releases/download/v${PV}/${PN}-full-${PV}.tar.bz2 -> ${P}.tar.bz2"
+S="${WORKDIR}"/${PN}-full-${PV}
+BUILD_DIR="${S}/build"
+
+KEYWORDS="~amd64"
+
+LICENSE="BSD nonfree? ( OpenSIFT )"
+SLOT="0"
+IUSE="examples +cache cuda doc mkl nonfree opencl test +trace"
+RESTRICT="bindist mirror !test? ( test )"
+
+RDEPEND="
+ media-libs/freeimage
+ media-libs/glbinding
+ >=media-libs/glfw-3.1
+ ~sci-visualization/forge-1.0.5
+ virtual/blas
+ virtual/cblas
+ virtual/lapacke
+ sci-libs/fftw:3.0
+ cuda? (
+ >=dev-util/nvidia-cuda-toolkit-9.0.0
+ dev-libs/boost
+ )
+ opencl? (
+ >=dev-libs/boost-1.70.0
+ >=sci-libs/clblas-2.4
+ >=sci-libs/clfft-2.6.1
+ virtual/opencl
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig
+"
+
+# 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"
+
+src_unpack() {
+ default
+
+ if ! use nonfree; then
+ find "${WORKDIR}" -name "*_nonfree*" -delete || die
+ fi
+}
+
+src_configure() {
+ if use cuda; then
+ addwrite /dev/nvidiactl
+ addwrite /dev/nvidia0
+ addwrite /dev/nvidia-uvm
+ fi
+
+ # forge headers are needed, so submodule
+ # has to stay, hence a ~ on forge dependency
+ local mycmakeargs=(
+ -DAF_BUILD_CPU=ON
+ -DAF_BUILD_CUDA="$(usex cuda)"
+ -DAF_BUILD_OPENCL="$(usex opencl)"
+ -DAF_BUILD_UNIFIED=ON
+ -DAF_BUILD_DOCS="$(usex doc)"
+ -DAF_BUILD_EXAMPLES="$(usex examples)"
+ -DAF_WITH_CUDNN="$(usex cuda)"
+ -DAF_BUILD_FORGE=OFF
+ -DAF_WITH_NONFREE="$(usex nonfree)"
+ -DAF_WITH_LOGGING=ON
+ -DAF_WITH_STACKTRACE="$(usex trace)"
+ -DAF_CACHE_KERNELS_TO_DISK="$(usex cache)"
+ -DAF_WITH_STATIC_MKL="$(usex mkl)"
+ -DAF_INSTALL_STANDALONE=OFF
+ -DAF_WITH_STATIC_FREEIMAGE=OFF
+ -DAF_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/ArrayFire
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ dodoc -r "${ED}"/usr/LICENSES
+ rm -r "${ED}"/usr/LICENSES || die
+
+ dodir /usr/bin
+ dobin "${BUILD_DIR}"/bin2cpp
+}
diff --git a/sci-libs/arrayfire/metadata.xml b/sci-libs/arrayfire/metadata.xml
index 9048a1aeb..a45aaf1e4 100644
--- a/sci-libs/arrayfire/metadata.xml
+++ b/sci-libs/arrayfire/metadata.xml
@@ -2,39 +2,27 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>marbre@linux.sungazer.de</email>
- <name>Marius Brehler</name>
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription>
-ArrayFire is a high performance software library for parallel
-computing with an easy-to-use API. Its array based function set
-makes parallel programming simple. ArrayFire's multiple backends
-(CUDA, OpenCL and native CPU) make it platform independent and
-highly portable.
-</longdescription>
+ ArrayFire is a high performance software library for parallel
+ computing with an easy-to-use API. Its array based function set
+ makes parallel programming simple. ArrayFire's multiple backends
+ (CUDA, OpenCL and native CPU) make it platform independent and
+ highly portable.
+ </longdescription>
<use>
- <flag name="cpu">
-Build CPU backend.
-</flag>
- <flag name="cuda">
-Build CUDA backend.
-</flag>
- <flag name="opencl">
-Build OpenCL backend.
-</flag>
- <flag name="nonfree">
-Build ArrayFire nonfree algorithms.
-</flag>
- <flag name="graphics">
-Build with Forge graphics.
-</flag>
- <flag name="unified">
-Build Backend-Independent API.
-</flag>
+ <flag name="cache">cache kernals to disk.</flag>
+ <flag name="cuda">Build CUDA backend.</flag>
+ <flag name="mkl">Build against static MKL.</flag>
+ <flag name="nonfree">build.</flag>
+ <flag name="opencl">build OpenCL backend.</flag>
+ <flag name="trace">enable additional traces during logging.</flag>
</use>
<upstream>
<remote-id type="github">google/googletest</remote-id>
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2020-09-25 2:33 Aisha Tammy
0 siblings, 0 replies; 57+ messages in thread
From: Aisha Tammy @ 2020-09-25 2:33 UTC (permalink / raw
To: gentoo-commits
commit: a9288e60f4a0c07c30841359cada019ebbd1e533
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 02:29:24 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 02:29:24 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a9288e60
sci-libs/arrayfire: drop old version
Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --force
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-libs/arrayfire/arrayfire-3.2.2.ebuild | 110 ------------------------------
1 file changed, 110 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
deleted file mode 100644
index 614f29593..000000000
--- a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
+++ /dev/null
@@ -1,110 +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 unified 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.2.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)"
- -DBUILD_UNIFIED="$(usex unified)"
- -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"
-}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2020-09-25 2:33 Aisha Tammy
0 siblings, 0 replies; 57+ messages in thread
From: Aisha Tammy @ 2020-09-25 2:33 UTC (permalink / raw
To: gentoo-commits
commit: 8778c365f1575fc092359bdbc64b0cb120c7452a
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 02:28:48 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> 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 <gentoo <AT> 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"
-}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2020-09-25 2:33 Aisha Tammy
0 siblings, 0 replies; 57+ messages in thread
From: Aisha Tammy @ 2020-09-25 2:33 UTC (permalink / raw
To: gentoo-commits
commit: 6fc3bed056f805686eb7bfaa4461373d178dfa33
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 02:30:31 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 02:30:31 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6fc3bed0
sci-libs/arrayfire: drop live version
Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --force
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-libs/arrayfire/arrayfire-9999.ebuild | 110 -------------------------------
1 file changed, 110 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
deleted file mode 100644
index 356bccb0c..000000000
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils git-r3 multilib
-
-GTEST_PV="1.7.0"
-
-DESCRIPTION="A general purpose GPU library"
-HOMEPAGE="http://www.arrayfire.com/"
-SRC_URI="test? ( https://github.com/google/googletest/archive/release-${GTEST_PV}.zip -> gtest-${GTEST_PV}.zip )"
-EGIT_REPO_URI="https://github.com/${PN}/${PN}.git git://github.com/${PN}/${PN}.git"
-
-LICENSE="
- BSD
- nonfree? ( OpenSIFT )"
-SLOT="0"
-IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
-KEYWORDS=""
-
-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.2.2
- )"
-DEPEND="${RDEPEND}"
-
-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() {
- git-r3_src_unpack
-
- if ! use nonfree; then
- find "${WORKDIR}" -name "*_nonfree*" -delete || die
- fi
-
- 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=(
- -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)"
- -DBUILD_UNIFIED="$(usex unified)"
- -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"
-}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2017-03-26 8:18 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2017-03-26 8:18 UTC (permalink / raw
To: gentoo-commits
commit: 2d529c1751beb7ba48ea1c83212355c99013c4b9
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 26 08:13:51 2017 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 08:13:51 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2d529c17
sci-libs/arrayfire: Fix dep on forge to allow gentoo specific revisions
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild | 14 ++++++++------
sci-libs/arrayfire/arrayfire-3.2.2.ebuild | 14 ++++++++------
sci-libs/arrayfire/arrayfire-3.3.2.ebuild | 14 ++++++++------
sci-libs/arrayfire/arrayfire-3.4.2.ebuild | 12 +++++++-----
sci-libs/arrayfire/arrayfire-9999.ebuild | 11 ++++++-----
5 files changed, 37 insertions(+), 28 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
index 97f064b1c..9dff4b2c7 100644
--- a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,14 +9,16 @@ 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 )"
-KEYWORDS="~amd64"
+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
+LICENSE="
+ BSD
nonfree? ( OpenSIFT )"
SLOT="0"
IUSE="+examples +cpu cuda nonfree opencl test graphics"
+KEYWORDS="~amd64"
RDEPEND="
>=sys-devel/gcc-4.7:*
@@ -43,7 +45,7 @@ RDEPEND="
graphics? (
media-libs/glew:=
>=media-libs/glfw-3.1.1
- =sci-visualization/forge-3.1.2
+ ~sci-visualization/forge-3.1.2
)"
DEPEND="${RDEPEND}"
diff --git a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
index 2a2d8579b..614f29593 100644
--- a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,14 +9,16 @@ 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 )"
-KEYWORDS="~amd64"
+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
+LICENSE="
+ BSD
nonfree? ( OpenSIFT )"
SLOT="0"
IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
+KEYWORDS="~amd64"
RDEPEND="
>=sys-devel/gcc-4.7:*
@@ -43,7 +45,7 @@ RDEPEND="
graphics? (
media-libs/glew:=
>=media-libs/glfw-3.1.1
- =sci-visualization/forge-3.2.2
+ ~sci-visualization/forge-3.2.2
)"
DEPEND="${RDEPEND}"
diff --git a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild b/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
index 887948fba..900c7218f 100644
--- a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,14 +9,16 @@ 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 )"
-KEYWORDS="~amd64"
+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
+LICENSE="
+ BSD
nonfree? ( OpenSIFT )"
SLOT="0"
IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
+KEYWORDS="~amd64"
RDEPEND="
>=sys-devel/gcc-4.7:*
@@ -43,7 +45,7 @@ RDEPEND="
graphics? (
media-libs/glew:=
>=media-libs/glfw-3.1.1
- =sci-visualization/forge-3.2.2
+ ~sci-visualization/forge-3.2.2
)"
DEPEND="${RDEPEND}"
diff --git a/sci-libs/arrayfire/arrayfire-3.4.2.ebuild b/sci-libs/arrayfire/arrayfire-3.4.2.ebuild
index e91c72ed8..51723b18c 100644
--- a/sci-libs/arrayfire/arrayfire-3.4.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.4.2.ebuild
@@ -9,14 +9,16 @@ 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 )"
-KEYWORDS="~amd64"
+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
+LICENSE="
+ BSD
nonfree? ( OpenSIFT )"
SLOT="0"
IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
+KEYWORDS="~amd64"
RDEPEND="
>=sys-devel/gcc-4.7:*
@@ -43,7 +45,7 @@ RDEPEND="
graphics? (
media-libs/glbinding
>=media-libs/glfw-3.1.1
- =sci-visualization/forge-0.9.2
+ ~sci-visualization/forge-0.9.2
)"
DEPEND="${RDEPEND}"
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 52babdf96..356bccb0c 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,14 +9,15 @@ 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://github.com/google/googletest/archive/release-${GTEST_PV}.zip -> gtest-${GTEST_PV}.zip )"
-KEYWORDS=""
+EGIT_REPO_URI="https://github.com/${PN}/${PN}.git git://github.com/${PN}/${PN}.git"
-LICENSE="BSD
+LICENSE="
+ BSD
nonfree? ( OpenSIFT )"
SLOT="0"
IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
+KEYWORDS=""
RDEPEND="
>=sys-devel/gcc-4.7:*
@@ -43,7 +44,7 @@ RDEPEND="
graphics? (
media-libs/glew:=
>=media-libs/glfw-3.1.1
- =sci-visualization/forge-3.2.2
+ ~sci-visualization/forge-3.2.2
)"
DEPEND="${RDEPEND}"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2017-01-02 8:42 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2017-01-02 8:42 UTC (permalink / raw
To: gentoo-commits
commit: 4d8b878cefe04760a489096821fa846fe6179078
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 2 08:41:15 2017 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Jan 2 08:41:15 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4d8b878c
sci-libs/arrayfire: Version bump to 3.4.2
Package-Manager: portage-2.3.0
sci-libs/arrayfire/arrayfire-3.4.2.ebuild | 111 ++++++++++++++++++++++++++++++
1 file changed, 111 insertions(+)
diff --git a/sci-libs/arrayfire/arrayfire-3.4.2.ebuild b/sci-libs/arrayfire/arrayfire-3.4.2.ebuild
new file mode 100644
index 0000000..eaf0a72
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.4.2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 )"
+KEYWORDS="~amd64"
+
+LICENSE="BSD
+ nonfree? ( OpenSIFT )"
+SLOT="0"
+IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
+
+RDEPEND="
+ >=sys-devel/gcc-4.7:*
+ media-libs/freeimage
+ cuda? (
+ >=dev-util/nvidia-cuda-toolkit-8.0.44
+ 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-1.61.0
+ dev-libs/opencl-clhpp
+ )
+ graphics? (
+ media-libs/glbinding
+ >=media-libs/glfw-3.1.1
+ =sci-visualization/forge-0.9.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)"
+ -DBUILD_UNIFIED="$(usex unified)"
+ -DUSE_SYSTEM_BOOST_COMPUTE=ON
+ -DUSE_SYSTEM_CL2HPP=ON
+ -DUSE_SYSTEM_CLBLAS=ON
+ -DUSE_SYSTEM_CLFFT=ON
+ -DUSE_SYSTEM_FORGE=ON
+ -DUSE_SYSTEM_GLBINDING=ON
+ -DAF_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/ArrayFire
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ dobin "${BUILD_DIR}/bin2cpp"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2016-11-29 10:16 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2016-11-29 10:16 UTC (permalink / raw
To: gentoo-commits
commit: 7bb33356e38e27c166e9521f7f3744096877aa4d
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Nov 29 10:13:09 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue Nov 29 10:15:17 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7bb33356
sci-libs/arrayfire: Version bump to 3.4.1
Package-Manager: portage-2.3.0
sci-libs/arrayfire/arrayfire-3.4.1.ebuild | 111 ++++++++++++++++++++++++++++++
1 file changed, 111 insertions(+)
diff --git a/sci-libs/arrayfire/arrayfire-3.4.1.ebuild b/sci-libs/arrayfire/arrayfire-3.4.1.ebuild
new file mode 100644
index 0000000..8c80bc3
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.4.1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 )"
+KEYWORDS="~amd64"
+
+LICENSE="BSD
+ nonfree? ( OpenSIFT )"
+SLOT="0"
+IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
+
+RDEPEND="
+ >=sys-devel/gcc-4.7:*
+ media-libs/freeimage
+ cuda? (
+ >=dev-util/nvidia-cuda-toolkit-8.0.44
+ 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-1.61.0
+ dev-libs/opencl-clhpp
+ )
+ graphics? (
+ media-libs/glbinding
+ >=media-libs/glfw-3.1.1
+ =sci-visualization/forge-0.9.0
+ )"
+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)"
+ -DBUILD_UNIFIED="$(usex unified)"
+ -DUSE_SYSTEM_BOOST_COMPUTE=ON
+ -DUSE_SYSTEM_CL2HPP=ON
+ -DUSE_SYSTEM_CLBLAS=ON
+ -DUSE_SYSTEM_CLFFT=ON
+ -DUSE_SYSTEM_FORGE=ON
+ -DUSE_SYSTEM_GLBINDING=ON
+ -DAF_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/ArrayFire
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ dobin "${BUILD_DIR}/bin2cpp"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2016-11-24 10:55 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2016-11-24 10:55 UTC (permalink / raw
To: gentoo-commits
commit: 58b2e67f28c455c7d66f8fcfbe8b7213d3726740
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu Nov 24 10:54:30 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Thu Nov 24 10:55:20 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=58b2e67f
sci-libs/arrayfire: Get googletest from github, fix glew slot dependency
Package-Manager: portage-2.3.0
sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild | 4 ++--
sci-libs/arrayfire/arrayfire-3.2.2.ebuild | 4 ++--
sci-libs/arrayfire/arrayfire-3.3.2.ebuild | 4 ++--
sci-libs/arrayfire/arrayfire-9999.ebuild | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
index c1f1409..0143211 100644
--- a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
@@ -11,7 +11,7 @@ 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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+test? ( https://github.com/google/googletest/archive/release-${GTEST_PV}.zip -> gtest-${GTEST_PV}.zip )"
KEYWORDS="~amd64"
LICENSE="BSD
@@ -42,7 +42,7 @@ RDEPEND="
|| ( dev-libs/boost-compute >=dev-libs/boost-1.61.0 )
)
graphics? (
- media-libs/glew
+ media-libs/glew:=
>=media-libs/glfw-3.1.1
=sci-visualization/forge-3.1.2
)"
diff --git a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
index 7bad0bd..06029a8 100644
--- a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
@@ -11,7 +11,7 @@ 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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+test? ( https://github.com/google/googletest/archive/release-${GTEST_PV}.zip -> gtest-${GTEST_PV}.zip )"
KEYWORDS="~amd64"
LICENSE="BSD
@@ -42,7 +42,7 @@ RDEPEND="
|| ( dev-libs/boost-compute >=dev-libs/boost-1.61.0 )
)
graphics? (
- media-libs/glew
+ media-libs/glew:=
>=media-libs/glfw-3.1.1
=sci-visualization/forge-3.2.2
)"
diff --git a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild b/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
index d63b55d..619fa3f 100644
--- a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
@@ -11,7 +11,7 @@ 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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+test? ( https://github.com/google/googletest/archive/release-${GTEST_PV}.zip -> gtest-${GTEST_PV}.zip )"
KEYWORDS="~amd64"
LICENSE="BSD
@@ -42,7 +42,7 @@ RDEPEND="
|| ( dev-libs/boost-compute >=dev-libs/boost-1.61.0 )
)
graphics? (
- media-libs/glew
+ media-libs/glew:=
>=media-libs/glfw-3.1.1
=sci-visualization/forge-3.2.2
)"
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 8a70e50..9467671 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -11,7 +11,7 @@ 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 )"
+SRC_URI="test? ( https://github.com/google/googletest/archive/release-${GTEST_PV}.zip -> gtest-${GTEST_PV}.zip )"
KEYWORDS=""
LICENSE="BSD
@@ -42,7 +42,7 @@ RDEPEND="
|| ( dev-libs/boost-compute >=dev-libs/boost-1.61.0 )
)
graphics? (
- media-libs/glew
+ media-libs/glew:=
>=media-libs/glfw-3.1.1
=sci-visualization/forge-3.2.2
)"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2016-05-20 14:03 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2016-05-20 14:03 UTC (permalink / raw
To: gentoo-commits
commit: ad252baea225a7ade1dc351b1510970aefbdccd7
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri May 20 14:00:23 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri May 20 14:01:19 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ad252bae
sci-libs/arrayfire: Update dependencies, boost-compute is shipped with boost-1.61.0
Package-Manager: portage-2.2.28
sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild | 4 ++--
sci-libs/arrayfire/arrayfire-3.2.2.ebuild | 4 ++--
sci-libs/arrayfire/arrayfire-3.3.2.ebuild | 4 ++--
sci-libs/arrayfire/arrayfire-9999.ebuild | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
index 12f6fcf..c1f1409 100644
--- a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
@@ -36,10 +36,10 @@ RDEPEND="
virtual/blas
virtual/cblas
virtual/lapacke
- dev-libs/boost
- dev-libs/boost-compute
>=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
diff --git a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
index aa766c9..7bad0bd 100644
--- a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
@@ -36,10 +36,10 @@ RDEPEND="
virtual/blas
virtual/cblas
virtual/lapacke
- dev-libs/boost
- dev-libs/boost-compute
>=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
diff --git a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild b/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
index 78c0ecc..d63b55d 100644
--- a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
@@ -36,10 +36,10 @@ RDEPEND="
virtual/blas
virtual/cblas
virtual/lapacke
- dev-libs/boost
- dev-libs/boost-compute
>=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
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index b0494ea..8a70e50 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -36,10 +36,10 @@ RDEPEND="
virtual/blas
virtual/cblas
virtual/lapacke
- dev-libs/boost
- dev-libs/boost-compute
>=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
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2016-05-19 7:14 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2016-05-19 7:14 UTC (permalink / raw
To: gentoo-commits
commit: 1139d2d3e3dd50668e12f74f87c406a33cfb5f1c
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu May 19 07:12:35 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Thu May 19 07:12:35 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1139d2d3
sci-libs/arrayfire: Bump to EAPI=6
Package-Manager: portage-2.2.28
sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild | 28 ++++++++++++------------
sci-libs/arrayfire/arrayfire-3.2.2.ebuild | 28 ++++++++++++------------
sci-libs/arrayfire/arrayfire-3.3.2.ebuild | 28 ++++++++++++------------
sci-libs/arrayfire/arrayfire-9999.ebuild | 32 ++++++++++++++--------------
4 files changed, 58 insertions(+), 58 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
index 3b3591b..12f6fcf 100644
--- a/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit cmake-utils multilib
@@ -85,18 +85,18 @@ src_configure() {
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_use_build graphics GRAPHICS)
- $(cmake-utils_use_build nonfree 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
+ -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
}
diff --git a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
index b92c662..aa766c9 100644
--- a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit cmake-utils multilib
@@ -85,19 +85,19 @@ src_configure() {
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_use_build graphics GRAPHICS)
- $(cmake-utils_use_build nonfree NONFREE)
- $(cmake-utils_use_build unified UNIFIED)
- -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
+ -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)"
+ -DBUILD_UNIFIED="$(usex unified)"
+ -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
}
diff --git a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild b/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
index 22b96bd..78c0ecc 100644
--- a/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.3.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit cmake-utils multilib
@@ -87,19 +87,19 @@ src_configure() {
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_use_build graphics GRAPHICS)
- $(cmake-utils_use_build nonfree NONFREE)
- $(cmake-utils_use_build unified UNIFIED)
- -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
+ -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)"
+ -DBUILD_UNIFIED="$(usex unified)"
+ -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
}
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index a4b1d90..b0494ea 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit cmake-utils git-r3 multilib
@@ -44,7 +44,7 @@ RDEPEND="
graphics? (
media-libs/glew
>=media-libs/glfw-3.1.1
- >=sci-visualization/forge-3.1
+ =sci-visualization/forge-3.2.2
)"
DEPEND="${RDEPEND}"
@@ -86,19 +86,19 @@ src_configure() {
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_use_build graphics GRAPHICS)
- $(cmake-utils_use_build nonfree NONFREE)
- $(cmake-utils_use_build unified UNIFIED)
- -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
+ -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)"
+ -DBUILD_UNIFIED="$(usex unified)"
+ -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
}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2016-01-12 11:07 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2016-01-12 11:07 UTC (permalink / raw
To: gentoo-commits
commit: fc9b5abb778455b1a7a111acbc337cce4573fa2c
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Jan 12 11:05:56 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue Jan 12 11:05:56 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=fc9b5abb
sci-libs/arrayfire: Fix dependency on forge
Package-Manager: portage-2.2.26
sci-libs/arrayfire/arrayfire-3.2.2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
index fefe267..b92c662 100644
--- a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -44,7 +44,7 @@ RDEPEND="
graphics? (
media-libs/glew
>=media-libs/glfw-3.1.1
- =sci-visualization/forge-3.2.0
+ =sci-visualization/forge-3.2.2
)"
DEPEND="${RDEPEND}"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2016-01-12 11:07 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2016-01-12 11:07 UTC (permalink / raw
To: gentoo-commits
commit: 0ae78283efcc99a9cfcc3ad0e590e15fd35f3a69
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Jan 12 11:06:16 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue Jan 12 11:06:16 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0ae78283
sci-libs/arrayfire: Drop old
Package-Manager: portage-2.2.26
sci-libs/arrayfire/arrayfire-3.2.0-r1.ebuild | 109 ---------------------------
sci-libs/arrayfire/arrayfire-3.2.1.ebuild | 109 ---------------------------
2 files changed, 218 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-3.2.0-r1.ebuild b/sci-libs/arrayfire/arrayfire-3.2.0-r1.ebuild
deleted file mode 100644
index fefe267..0000000
--- a/sci-libs/arrayfire/arrayfire-3.2.0-r1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
-KEYWORDS="~amd64"
-
-LICENSE="BSD
- nonfree? ( OpenSIFT )"
-SLOT="0"
-IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
-
-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
- dev-libs/boost
- dev-libs/boost-compute
- >=sci-libs/clblas-2.4
- >=sci-libs/clfft-2.6.1
- )
- graphics? (
- media-libs/glew
- >=media-libs/glfw-3.1.1
- =sci-visualization/forge-3.2.0
- )"
-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=(
- $(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_use_build graphics GRAPHICS)
- $(cmake-utils_use_build nonfree NONFREE)
- $(cmake-utils_use_build unified UNIFIED)
- -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"
-}
diff --git a/sci-libs/arrayfire/arrayfire-3.2.1.ebuild b/sci-libs/arrayfire/arrayfire-3.2.1.ebuild
deleted file mode 100644
index fefe267..0000000
--- a/sci-libs/arrayfire/arrayfire-3.2.1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
-KEYWORDS="~amd64"
-
-LICENSE="BSD
- nonfree? ( OpenSIFT )"
-SLOT="0"
-IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
-
-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
- dev-libs/boost
- dev-libs/boost-compute
- >=sci-libs/clblas-2.4
- >=sci-libs/clfft-2.6.1
- )
- graphics? (
- media-libs/glew
- >=media-libs/glfw-3.1.1
- =sci-visualization/forge-3.2.0
- )"
-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=(
- $(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_use_build graphics GRAPHICS)
- $(cmake-utils_use_build nonfree NONFREE)
- $(cmake-utils_use_build unified UNIFIED)
- -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"
-}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2016-01-08 13:16 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2016-01-08 13:16 UTC (permalink / raw
To: gentoo-commits
commit: bef429bec016df8a54b91325a6000fdd5a3c7f77
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Jan 8 13:15:54 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Jan 8 13:15:54 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=bef429be
sci-libs/arrayfire: Version bump to 3.2.2
Package-Manager: portage-2.2.26
sci-libs/arrayfire/arrayfire-3.2.2.ebuild | 109 ++++++++++++++++++++++++++++++
1 file changed, 109 insertions(+)
diff --git a/sci-libs/arrayfire/arrayfire-3.2.2.ebuild b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
new file mode 100644
index 0000000..fefe267
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.2.2.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+KEYWORDS="~amd64"
+
+LICENSE="BSD
+ nonfree? ( OpenSIFT )"
+SLOT="0"
+IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
+
+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
+ dev-libs/boost
+ dev-libs/boost-compute
+ >=sci-libs/clblas-2.4
+ >=sci-libs/clfft-2.6.1
+ )
+ graphics? (
+ media-libs/glew
+ >=media-libs/glfw-3.1.1
+ =sci-visualization/forge-3.2.0
+ )"
+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=(
+ $(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_use_build graphics GRAPHICS)
+ $(cmake-utils_use_build nonfree NONFREE)
+ $(cmake-utils_use_build unified UNIFIED)
+ -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"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-12-19 12:36 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2015-12-19 12:36 UTC (permalink / raw
To: gentoo-commits
commit: 7eb3dde033bdf2c8313e5ce77429f9501a243931
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Dec 19 12:35:15 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Sat Dec 19 12:35:15 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7eb3dde0
sci-libs/arrayfire: Version bump
Package-Manager: portage-2.2.24
sci-libs/arrayfire/ChangeLog | 6 ++
sci-libs/arrayfire/arrayfire-3.2.1.ebuild | 109 ++++++++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 2f2bd95..02ff4fb 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.2.1 (19 Dec 2015)
+
+ 19 Dec 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-3.2.1.ebuild:
+ sci-libs/arrayfire: Version bump
+
*arrayfire-3.1.3-r1 (04 Dec 2015)
*arrayfire-3.2.0-r1 (04 Dec 2015)
diff --git a/sci-libs/arrayfire/arrayfire-3.2.1.ebuild b/sci-libs/arrayfire/arrayfire-3.2.1.ebuild
new file mode 100644
index 0000000..fefe267
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.2.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+KEYWORDS="~amd64"
+
+LICENSE="BSD
+ nonfree? ( OpenSIFT )"
+SLOT="0"
+IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
+
+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
+ dev-libs/boost
+ dev-libs/boost-compute
+ >=sci-libs/clblas-2.4
+ >=sci-libs/clfft-2.6.1
+ )
+ graphics? (
+ media-libs/glew
+ >=media-libs/glfw-3.1.1
+ =sci-visualization/forge-3.2.0
+ )"
+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=(
+ $(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_use_build graphics GRAPHICS)
+ $(cmake-utils_use_build nonfree NONFREE)
+ $(cmake-utils_use_build unified UNIFIED)
+ -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"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-12-04 17:44 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2015-12-04 17:44 UTC (permalink / raw
To: gentoo-commits
commit: ac572478fdec499425be4d3d4bcef412cf07f674
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Dec 4 17:42:12 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Dec 4 17:42:12 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ac572478
sci-libs/arrayfire: Fix installation path for CMake files
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 8 ++++++++
.../{arrayfire-3.1.3.ebuild => arrayfire-3.1.3-r1.ebuild} | 2 +-
.../{arrayfire-3.2.0.ebuild => arrayfire-3.2.0-r1.ebuild} | 2 +-
sci-libs/arrayfire/arrayfire-9999.ebuild | 2 +-
4 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 428d6f8..2f2bd95 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,6 +1,14 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+*arrayfire-3.1.3-r1 (04 Dec 2015)
+*arrayfire-3.2.0-r1 (04 Dec 2015)
+
+ 04 Dec 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-3.1.3-r1.ebuild, +arrayfire-3.2.0-r1.ebuild,
+ -arrayfire-3.1.3.ebuild, -arrayfire-3.2.0.ebuild, arrayfire-9999.ebuild:
+ sci-libs/arrayfire: Fix installation path for CMake files
+
28 Nov 2015; Marius Brehler <marbre@linux.sungazer.de>
-arrayfire-3.1.1-r2.ebuild, -arrayfire-3.1.2.ebuild:
sci-libs/arrayfire: Drop old
diff --git a/sci-libs/arrayfire/arrayfire-3.1.3.ebuild b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
similarity index 97%
rename from sci-libs/arrayfire/arrayfire-3.1.3.ebuild
rename to sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
index a11b2be..3b3591b 100644
--- a/sci-libs/arrayfire/arrayfire-3.1.3.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.1.3-r1.ebuild
@@ -96,7 +96,7 @@ src_configure() {
-DUSE_SYSTEM_CLBLAS=ON
-DUSE_SYSTEM_CLFFT=ON
-DUSE_SYSTEM_FORGE=ON
- -DAF_INSTALL_CMAKE_DIR=/usr/${get_libdir}/cmake/ArrayFire
+ -DAF_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/ArrayFire
)
cmake-utils_src_configure
}
diff --git a/sci-libs/arrayfire/arrayfire-3.2.0.ebuild b/sci-libs/arrayfire/arrayfire-3.2.0-r1.ebuild
similarity index 97%
rename from sci-libs/arrayfire/arrayfire-3.2.0.ebuild
rename to sci-libs/arrayfire/arrayfire-3.2.0-r1.ebuild
index 6f1fc68..fefe267 100644
--- a/sci-libs/arrayfire/arrayfire-3.2.0.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.2.0-r1.ebuild
@@ -97,7 +97,7 @@ src_configure() {
-DUSE_SYSTEM_CLBLAS=ON
-DUSE_SYSTEM_CLFFT=ON
-DUSE_SYSTEM_FORGE=ON
- -DAF_INSTALL_CMAKE_DIR=/usr/${get_libdir}/cmake/ArrayFire
+ -DAF_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/ArrayFire
)
cmake-utils_src_configure
}
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index a970803..a4b1d90 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -98,7 +98,7 @@ src_configure() {
-DUSE_SYSTEM_CLBLAS=ON
-DUSE_SYSTEM_CLFFT=ON
-DUSE_SYSTEM_FORGE=ON
- -DAF_INSTALL_CMAKE_DIR=/usr/${get_libdir}/cmake/ArrayFire
+ -DAF_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/ArrayFire
)
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-11-28 18:21 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2015-11-28 18:21 UTC (permalink / raw
To: gentoo-commits
commit: 12d52d0efe0821fe74aeac7aeafca37701fbcca4
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Nov 28 18:13:46 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Sat Nov 28 18:18:05 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=12d52d0e
sci-libs/arrayfire: Drop old
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 4 +
sci-libs/arrayfire/arrayfire-3.1.1-r2.ebuild | 108 ---------------------------
sci-libs/arrayfire/arrayfire-3.1.2.ebuild | 108 ---------------------------
3 files changed, 4 insertions(+), 216 deletions(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 92c8d5b..428d6f8 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$
+ 28 Nov 2015; Marius Brehler <marbre@linux.sungazer.de>
+ -arrayfire-3.1.1-r2.ebuild, -arrayfire-3.1.2.ebuild:
+ sci-libs/arrayfire: Drop old
+
*arrayfire-3.2.0 (24 Nov 2015)
24 Nov 2015; Marius Brehler <marbre@linux.sungazer.de>
diff --git a/sci-libs/arrayfire/arrayfire-3.1.1-r2.ebuild b/sci-libs/arrayfire/arrayfire-3.1.1-r2.ebuild
deleted file mode 100644
index e1810f1..0000000
--- a/sci-libs/arrayfire/arrayfire-3.1.1-r2.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
-KEYWORDS="~amd64"
-
-LICENSE="BSD
- nonfree? ( OpenSIFT )"
-SLOT="0"
-IUSE="+examples +cpu cuda nonfree opencl test graphics"
-
-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
- dev-libs/boost
- dev-libs/boost-compute
- >=sci-libs/clblas-2.4
- >=sci-libs/clfft-2.6.1
- )
- graphics? (
- media-libs/glew
- >=media-libs/glfw-3.1.1
- >=sci-visualization/forge-3.1
- )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${PN}"
-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=(
- $(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_use_build graphics GRAPHICS)
- $(cmake-utils_use_build nonfree 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"
-}
diff --git a/sci-libs/arrayfire/arrayfire-3.1.2.ebuild b/sci-libs/arrayfire/arrayfire-3.1.2.ebuild
deleted file mode 100644
index a11b2be..0000000
--- a/sci-libs/arrayfire/arrayfire-3.1.2.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
-KEYWORDS="~amd64"
-
-LICENSE="BSD
- nonfree? ( OpenSIFT )"
-SLOT="0"
-IUSE="+examples +cpu cuda nonfree opencl test graphics"
-
-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
- dev-libs/boost
- dev-libs/boost-compute
- >=sci-libs/clblas-2.4
- >=sci-libs/clfft-2.6.1
- )
- 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=(
- $(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_use_build graphics GRAPHICS)
- $(cmake-utils_use_build nonfree 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"
-}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-11-24 14:36 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2015-11-24 14:36 UTC (permalink / raw
To: gentoo-commits
commit: 2260ba7a0a4620a89cbd363dad5d7f21ad31eaaf
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Nov 24 14:36:19 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue Nov 24 14:36:19 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2260ba7a
sci-libs/arrayfire: Version bump
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 6 ++
sci-libs/arrayfire/arrayfire-3.2.0.ebuild | 109 ++++++++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 27ee906..92c8d5b 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.2.0 (24 Nov 2015)
+
+ 24 Nov 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-3.2.0.ebuild:
+ sci-libs/arrayfire: Version bump
+
*arrayfire-3.1.3 (02 Nov 2015)
02 Nov 2015; Marius Brehler <marbre@linux.sungazer.de>
diff --git a/sci-libs/arrayfire/arrayfire-3.2.0.ebuild b/sci-libs/arrayfire/arrayfire-3.2.0.ebuild
new file mode 100644
index 0000000..6f1fc68
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.2.0.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+KEYWORDS="~amd64"
+
+LICENSE="BSD
+ nonfree? ( OpenSIFT )"
+SLOT="0"
+IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
+
+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
+ dev-libs/boost
+ dev-libs/boost-compute
+ >=sci-libs/clblas-2.4
+ >=sci-libs/clfft-2.6.1
+ )
+ graphics? (
+ media-libs/glew
+ >=media-libs/glfw-3.1.1
+ =sci-visualization/forge-3.2.0
+ )"
+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=(
+ $(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_use_build graphics GRAPHICS)
+ $(cmake-utils_use_build nonfree NONFREE)
+ $(cmake-utils_use_build unified UNIFIED)
+ -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"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-11-02 7:49 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2015-11-02 7:49 UTC (permalink / raw
To: gentoo-commits
commit: 7b0b649a41cf92712ecd5ba44d60d4d3ab57ff1b
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Nov 2 07:48:06 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Nov 2 07:48:06 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7b0b649a
sci-libs/arrayfire: Version bump
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 6 ++
sci-libs/arrayfire/arrayfire-3.1.3.ebuild | 108 ++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 0f20052..27ee906 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.1.3 (02 Nov 2015)
+
+ 02 Nov 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-3.1.3.ebuild:
+ sci-libs/arrayfire: Version bump
+
06 Oct 2015; Marius Brehler <marbre@linux.sungazer.de> arrayfire-9999.ebuild,
metadata.xml:
sci-libs/arrayfire: Add unified use flag
diff --git a/sci-libs/arrayfire/arrayfire-3.1.3.ebuild b/sci-libs/arrayfire/arrayfire-3.1.3.ebuild
new file mode 100644
index 0000000..a11b2be
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.1.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+KEYWORDS="~amd64"
+
+LICENSE="BSD
+ nonfree? ( OpenSIFT )"
+SLOT="0"
+IUSE="+examples +cpu cuda nonfree opencl test graphics"
+
+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
+ dev-libs/boost
+ dev-libs/boost-compute
+ >=sci-libs/clblas-2.4
+ >=sci-libs/clfft-2.6.1
+ )
+ 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=(
+ $(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_use_build graphics GRAPHICS)
+ $(cmake-utils_use_build nonfree 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"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-10-06 21:38 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2015-10-06 21:38 UTC (permalink / raw
To: gentoo-commits
commit: 37ef10d8268f96d07f471d7ae477a7ad1004f296
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Oct 6 21:37:03 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue Oct 6 21:37:03 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=37ef10d8
sci-libs/arrayfire: Add unified use flag
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 4 ++++
sci-libs/arrayfire/arrayfire-9999.ebuild | 3 ++-
sci-libs/arrayfire/metadata.xml | 3 +++
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index c12d929..0f20052 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$
+ 06 Oct 2015; Marius Brehler <marbre@linux.sungazer.de> arrayfire-9999.ebuild,
+ metadata.xml:
+ sci-libs/arrayfire: Add unified use flag
+
06 Oct 2015; Marius Brehler <marbre@linux.sungazer.de> arrayfire-9999.ebuild:
sci-libs/arrayfire: Add nonfree use flag
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index fe86a2b..a970803 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -17,7 +17,7 @@ KEYWORDS=""
LICENSE="BSD
nonfree? ( OpenSIFT )"
SLOT="0"
-IUSE="+examples +cpu cuda nonfree opencl test graphics"
+IUSE="+examples +cpu cuda nonfree opencl test unified graphics"
RDEPEND="
>=sys-devel/gcc-4.7:*
@@ -93,6 +93,7 @@ src_configure() {
$(cmake-utils_use_build test TEST)
$(cmake-utils_use_build graphics GRAPHICS)
$(cmake-utils_use_build nonfree NONFREE)
+ $(cmake-utils_use_build unified UNIFIED)
-DUSE_SYSTEM_BOOST_COMPUTE=ON
-DUSE_SYSTEM_CLBLAS=ON
-DUSE_SYSTEM_CLFFT=ON
diff --git a/sci-libs/arrayfire/metadata.xml b/sci-libs/arrayfire/metadata.xml
index 1ed53d4..1564d66 100644
--- a/sci-libs/arrayfire/metadata.xml
+++ b/sci-libs/arrayfire/metadata.xml
@@ -29,5 +29,8 @@
<flag name="graphics">
Build with Forge graphics.
</flag>
+ <flag name="unified">
+ Build Backend-Independent API.
+ </flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-10-06 21:38 Marius Brehler
0 siblings, 0 replies; 57+ messages in thread
From: Marius Brehler @ 2015-10-06 21:38 UTC (permalink / raw
To: gentoo-commits
commit: 0ffbaf3d097c2600b921cdb7ff084ecfd0f3812e
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Oct 6 21:33:19 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue Oct 6 21:33:19 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0ffbaf3d
sci-libs/arrayfire: Add nonfree use flag
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 3 +++
sci-libs/arrayfire/arrayfire-9999.ebuild | 13 ++++++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index b369ea9..c12d929 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,6 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+ 06 Oct 2015; Marius Brehler <marbre@linux.sungazer.de> arrayfire-9999.ebuild:
+ sci-libs/arrayfire: Add nonfree use flag
+
*arrayfire-3.1.2 (27 Sep 2015)
27 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 511aee3..fe86a2b 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit cmake-utils git-r3
+inherit cmake-utils git-r3 multilib
GTEST_PV="1.7.0"
@@ -14,9 +14,10 @@ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git git://github.com/${PN}/${PN}.g
SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
KEYWORDS=""
-LICENSE="BSD"
+LICENSE="BSD
+ nonfree? ( OpenSIFT )"
SLOT="0"
-IUSE="+examples +cpu cuda opencl test graphics"
+IUSE="+examples +cpu cuda nonfree opencl test graphics"
RDEPEND="
>=sys-devel/gcc-4.7:*
@@ -65,7 +66,9 @@ pkg_pretend() {
src_unpack() {
git-r3_src_unpack
- find "${WORKDIR}" -name "*_nonfree*" -delete || die
+ if ! use nonfree; then
+ find "${WORKDIR}" -name "*_nonfree*" -delete || die
+ fi
if use test; then
mkdir -p "${BUILD_DIR}"/third_party/src/ || die
@@ -89,7 +92,7 @@ src_configure() {
$(cmake-utils_use_build examples EXAMPLES)
$(cmake-utils_use_build test TEST)
$(cmake-utils_use_build graphics GRAPHICS)
- -DBUILD_NONFREE=OFF
+ $(cmake-utils_use_build nonfree NONFREE)
-DUSE_SYSTEM_BOOST_COMPUTE=ON
-DUSE_SYSTEM_CLBLAS=ON
-DUSE_SYSTEM_CLFFT=ON
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-10-01 6:06 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-10-01 6:06 UTC (permalink / raw
To: gentoo-commits
commit: c37b3b8088af3b2ec210ca9d0e27ee517dcb3308
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Sep 27 16:52:33 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 16:52:33 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c37b3b80
sci-libs/arrayfire: Version bump
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 6 ++
sci-libs/arrayfire/arrayfire-3.1.2.ebuild | 108 ++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 7c122a1..b369ea9 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.1.2 (27 Sep 2015)
+
+ 27 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-3.1.2.ebuild:
+ sci-libs/arrayfire: Version bump
+
*arrayfire-3.1.1-r2 (20 Sep 2015)
20 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
diff --git a/sci-libs/arrayfire/arrayfire-3.1.2.ebuild b/sci-libs/arrayfire/arrayfire-3.1.2.ebuild
new file mode 100644
index 0000000..a11b2be
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.1.2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+KEYWORDS="~amd64"
+
+LICENSE="BSD
+ nonfree? ( OpenSIFT )"
+SLOT="0"
+IUSE="+examples +cpu cuda nonfree opencl test graphics"
+
+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
+ dev-libs/boost
+ dev-libs/boost-compute
+ >=sci-libs/clblas-2.4
+ >=sci-libs/clfft-2.6.1
+ )
+ 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=(
+ $(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_use_build graphics GRAPHICS)
+ $(cmake-utils_use_build nonfree 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"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-09-17 21:56 Jauhien Piatlicki
0 siblings, 0 replies; 57+ messages in thread
From: Jauhien Piatlicki @ 2015-09-17 21:56 UTC (permalink / raw
To: gentoo-commits
commit: 13b76afbda30141acbdc0eabb3f9026f49d12eb1
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu Sep 17 09:48:16 2015 +0000
Commit: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 09:48:46 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=13b76afb
sci-libs/arrayfire: Add graphics use flag; Minor fixes
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 7 +++++++
...ayfire-3.1.1.ebuild => arrayfire-3.1.1-r1.ebuild} | 18 ++++++++++++++----
sci-libs/arrayfire/arrayfire-9999.ebuild | 20 +++++++++++++++-----
sci-libs/arrayfire/metadata.xml | 9 ++++++---
4 files changed, 42 insertions(+), 12 deletions(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 3c8c0e2..acf4051 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,6 +1,13 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+*arrayfire-3.1.1-r1 (17 Sep 2015)
+
+ 17 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-3.1.1-r1.ebuild, -arrayfire-3.1.1.ebuild, arrayfire-9999.ebuild,
+ metadata.xml:
+ sci-libs/arrayfire: Add graphics use flag; Minor fixes
+
14 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
-files/arrayfire-9999-FindCBLAS.patch,
-files/arrayfire-9999-Try-PkgConf-first-to-find-LAPACKE.patch,
diff --git a/sci-libs/arrayfire/arrayfire-3.1.1.ebuild b/sci-libs/arrayfire/arrayfire-3.1.1-r1.ebuild
similarity index 82%
rename from sci-libs/arrayfire/arrayfire-3.1.1.ebuild
rename to sci-libs/arrayfire/arrayfire-3.1.1-r1.ebuild
index 360650c..2aa72aa 100644
--- a/sci-libs/arrayfire/arrayfire-3.1.1.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.1.1-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit cmake-utils
+inherit cmake-utils multilib
GTEST_PV="1.7.0"
@@ -16,13 +16,13 @@ KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
-IUSE="+examples +cpu cuda opencl test"
+IUSE="+examples +cpu cuda opencl test graphics"
RDEPEND="
>=sys-devel/gcc-4.7:*
media-libs/freeimage
cuda? (
- >=dev-util/nvidia-cuda-toolkit-7.5
+ >=dev-util/nvidia-cuda-toolkit-7.5.18-r1
dev-libs/boost
)
cpu? (
@@ -39,6 +39,11 @@ RDEPEND="
dev-libs/boost-compute
>=sci-libs/clblas-2.4
>=sci-libs/clfft-2.6.1
+ )
+ graphics? (
+ media-libs/glew
+ >=media-libs/glfw-3.1.1
+ >=sci-visualization/forge-3.1
)"
DEPEND="${RDEPEND}"
@@ -61,6 +66,8 @@ pkg_pretend() {
src_unpack() {
default
+ find "${WORKDIR}" -name "*_nonfree*" -delete || die
+
if use test; then
mkdir -p "${BUILD_DIR}"/third_party/src/ || die
mv "${WORKDIR}"/gtest-"${GTEST_PV}" "${BUILD_DIR}"/third_party/src/googletest || die
@@ -80,10 +87,13 @@ src_configure() {
$(cmake-utils_use_build opencl OPENCL)
$(cmake-utils_use_build examples EXAMPLES)
$(cmake-utils_use_build test TEST)
+ $(cmake-utils_use_build graphics GRAPHICS)
+ -DBUILD_NONFREE=OFF
-DUSE_SYSTEM_BOOST_COMPUTE=ON
-DUSE_SYSTEM_CLBLAS=ON
-DUSE_SYSTEM_CLFFT=ON
- -DBUILD_GRAPHICS=OFF
+ -DUSE_SYSTEM_FORGE=ON
+ -DAF_INSTALL_CMAKE_DIR=/usr/${get_libdir}/cmake/ArrayFire
)
cmake-utils_src_configure
}
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index c84ddd6..593dc51 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -16,13 +16,13 @@ KEYWORDS=""
LICENSE="BSD"
SLOT="0"
-IUSE="+examples +cpu cuda opencl test"
+IUSE="+examples +cpu cuda opencl test graphics"
RDEPEND="
>=sys-devel/gcc-4.7:*
media-libs/freeimage
cuda? (
- >=dev-util/nvidia-cuda-toolkit-6.0
+ >=dev-util/nvidia-cuda-toolkit-7.5.18-r1
dev-libs/boost
)
cpu? (
@@ -37,8 +37,13 @@ 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
+ )
+ graphics? (
+ media-libs/glew
+ >=media-libs/glfw-3.1.1
+ >=sci-visualization/forge-3.1
)"
DEPEND="${RDEPEND}"
@@ -60,6 +65,8 @@ pkg_pretend() {
src_unpack() {
git-r3_src_unpack
+ find "${WORKDIR}" -name "*_nonfree*" -delete || die
+
if use test; then
mkdir -p "${BUILD_DIR}"/third_party/src/ || die
cd "${BUILD_DIR}"/third_party/src/ || die
@@ -81,10 +88,13 @@ src_configure() {
$(cmake-utils_use_build opencl OPENCL)
$(cmake-utils_use_build examples EXAMPLES)
$(cmake-utils_use_build test TEST)
+ $(cmake-utils_use_build graphics GRAPHICS)
+ -DBUILD_NONFREE=OFF
-DUSE_SYSTEM_BOOST_COMPUTE=ON
-DUSE_SYSTEM_CLBLAS=ON
-DUSE_SYSTEM_CLFFT=ON
- -DBUILD_GRAPHICS=OFF
+ -DUSE_SYSTEM_FORGE=ON
+ -DAF_INSTALL_CMAKE_DIR=/usr/${get_libdir}/cmake/ArrayFire
)
cmake-utils_src_configure
}
diff --git a/sci-libs/arrayfire/metadata.xml b/sci-libs/arrayfire/metadata.xml
index d7715cb..884f1fa 100644
--- a/sci-libs/arrayfire/metadata.xml
+++ b/sci-libs/arrayfire/metadata.xml
@@ -15,13 +15,16 @@
</longdescription>
<use>
<flag name="cpu">
- Enable CPU Build.
+ Build CPU backend.
</flag>
<flag name="cuda">
- Enable CUDA Build.
+ Build CUDA backend.
</flag>
<flag name="opencl">
- Enable OpenCL Build.
+ Build OpenCL backend.
+ </flag>
+ <flag name="graphics">
+ Build with Forge graphics.
</flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-09-15 13:34 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-09-15 13:34 UTC (permalink / raw
To: gentoo-commits
commit: 5f2f99d07466016ff14ae5a012ff7684f5221f5c
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Sep 14 18:30:09 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Sep 14 18:32:15 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5f2f99d0
sci-libs/arrayfire: Version bump
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 6 ++
sci-libs/arrayfire/arrayfire-3.1.1.ebuild | 95 +++++++++++++++++++++++++++++++
2 files changed, 101 insertions(+)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index ad8c422..9eecff5 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.1.1 (14 Sep 2015)
+
+ 14 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-3.1.1.ebuild:
+ sci-libs/arrayfire: Version bump
+
*arrayfire-3.1.0 (09 Sep 2015)
09 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
diff --git a/sci-libs/arrayfire/arrayfire-3.1.1.ebuild b/sci-libs/arrayfire/arrayfire-3.1.1.ebuild
new file mode 100644
index 0000000..360650c
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.1.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+KEYWORDS="~amd64"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="+examples +cpu cuda opencl test"
+
+RDEPEND="
+ >=sys-devel/gcc-4.7:*
+ media-libs/freeimage
+ cuda? (
+ >=dev-util/nvidia-cuda-toolkit-7.5
+ dev-libs/boost
+ )
+ cpu? (
+ virtual/blas
+ virtual/cblas
+ virtual/lapacke
+ sci-libs/fftw:3.0
+ )
+ opencl? (
+ virtual/blas
+ virtual/cblas
+ virtual/lapacke
+ dev-libs/boost
+ dev-libs/boost-compute
+ >=sci-libs/clblas-2.4
+ >=sci-libs/clfft-2.6.1
+ )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+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 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=(
+ $(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)
+ -DUSE_SYSTEM_BOOST_COMPUTE=ON
+ -DUSE_SYSTEM_CLBLAS=ON
+ -DUSE_SYSTEM_CLFFT=ON
+ -DBUILD_GRAPHICS=OFF
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ dobin "${BUILD_DIR}/bin2cpp"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-09-13 18:34 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-09-13 18:34 UTC (permalink / raw
To: gentoo-commits
commit: cdb5ecb7a8d9128bf108e8885f8f1c81968016ce
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Sep 9 11:49:08 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep 9 11:49:08 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=cdb5ecb7
sci-libs/arrayfire: Version bump - Add 3.1.0 release
Package-Manager: portage-2.2.20.1
sci-libs/arrayfire/ChangeLog | 6 ++
sci-libs/arrayfire/arrayfire-3.1.0.ebuild | 100 ++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 3e36536..ad8c422 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.1.0 (09 Sep 2015)
+
+ 09 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-3.1.0.ebuild:
+ sci-libs/arrayfire: Version bump - Add 3.1.0 release
+
*arrayfire-3.0.2 (08 Sep 2015)
08 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
diff --git a/sci-libs/arrayfire/arrayfire-3.1.0.ebuild b/sci-libs/arrayfire/arrayfire-3.1.0.ebuild
new file mode 100644
index 0000000..4703028
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.1.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+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://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+KEYWORDS="~amd64"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="+examples +cpu cuda opencl test"
+
+RDEPEND="
+ >=sys-devel/gcc-4.7:*
+ media-libs/freeimage
+ cuda? (
+ >=dev-util/nvidia-cuda-toolkit-6.0
+ dev-libs/boost
+ )
+ cpu? (
+ virtual/blas
+ virtual/cblas
+ virtual/lapacke
+ sci-libs/fftw:3.0
+ )
+ opencl? (
+ virtual/blas
+ virtual/cblas
+ virtual/lapacke
+ dev-libs/boost
+ dev-libs/boost-compute
+ >=sci-libs/clblas-2.4
+ >=sci-libs/clfft-2.6.1
+ )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-full-${PV}"
+BUILD_DIR="${S}/build"
+CMAKE_BUILD_TYPE=Release
+
+PATCHES=(
+ "${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
+# 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 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=(
+ $(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)
+ -DUSE_SYSTEM_BOOST_COMPUTE=ON
+ -DUSE_SYSTEM_CLBLAS=ON
+ -DUSE_SYSTEM_CLFFT=ON
+ -DBUILD_GRAPHICS=OFF
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ dobin "${BUILD_DIR}/bin2cpp"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-09-09 7:11 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-09-09 7:11 UTC (permalink / raw
To: gentoo-commits
commit: 8c270480e806a72fdc2808fa504c249888288950
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Sep 8 13:19:33 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> 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 <marbre@linux.sungazer.de>
+ +arrayfire-3.0.2.ebuild, arrayfire-9999.ebuild:
+ sci-libs/arrayfire: Add arrayfire-3.0.2; Minor improvments
+
08 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+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
}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-08-27 15:01 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-08-27 15:01 UTC (permalink / raw
To: gentoo-commits
commit: 5f768d17470ad79d20b0d7c7e60d8cbbe21a7448
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Aug 22 10:18:03 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 10:18:03 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5f768d17
sci-libs/arrayfire: Partitial fix for bug #463: Use system boost-compute
Package-Manager: portage-2.2.20
sci-libs/arrayfire/ChangeLog | 3 +++
sci-libs/arrayfire/arrayfire-9999.ebuild | 1 +
2 files changed, 4 insertions(+)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 82134aa..2d72c84 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,6 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
+ 22 Aug 2015; Marius Brehler <marbre@linux.sungazer.de> arrayfire-9999.ebuild:
+ sci-libs/arrayfire: Partitial fix for bug #463: Use system boost-compute
+
23 May 2015; Marius Brehler <marbre@linux.sungazer.de>
+files/FindBoostCompute.cmake,
+files/arrayfire-3.0_beta-FindBoostCompute.patch,
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 05c543f..e337177 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -84,6 +84,7 @@ src_configure() {
$(cmake-utils_use_build opencl OPENCL)
$(cmake-utils_use_build examples EXAMPLES)
$(cmake-utils_use_build test TEST)
+ -DUSE_SYSTEM_BOOST_COMPUTE=ON
)
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-06-05 10:47 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-06-05 10:47 UTC (permalink / raw
To: gentoo-commits
commit: ffc8f13593396631802c2b2c4376abf9374a5364
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri Jun 5 10:02:11 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 5 10:02:11 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ffc8f135
Revert "sci-libs/arrayfire: Fetch tarball instead of getting src from git"
This reverts commit 74de59ebeac0640e7a3ff828e33ade5d4825bc51.
The tarball does not cointain the git submodules.
sci-libs/arrayfire/ChangeLog | 4 ----
sci-libs/arrayfire/arrayfire-3.0_beta.ebuild | 10 +++++-----
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 7267d35..6123184 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,10 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
- 31 May 2015; Marius Brehler <marbre@linux.sungazer.de>
- arrayfire-3.0_beta.ebuild:
- Fetch tarball instead of getting src from git
-
23 May 2015; Marius Brehler <marbre@linux.sungazer.de>
+files/FindBoostCompute.cmake,
+files/arrayfire-3.0_beta-FindBoostCompute.patch,
diff --git a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
index 0bc42c9..8a08c8c 100644
--- a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
@@ -4,15 +4,16 @@
EAPI=5
-inherit cmake-utils
+inherit cmake-utils git-r3
GTEST_PV="1.7.0"
DESCRIPTION="A general purpose GPU library."
HOMEPAGE="http://www.arrayfire.com/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV//_/}.tar.gz -> ${P}.tar.gz
- test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
+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="~amd64"
+EGIT_COMMIT="v3.0beta"
LICENSE="BSD"
SLOT="0"
@@ -37,7 +38,6 @@ RDEPEND="
)"
DEPEND="${RDEPEND}"
-S="${WORKDIR}/${P//_/}"
BUILD_DIR="${S}/build"
CMAKE_BUILD_TYPE=Release
@@ -60,7 +60,7 @@ pkg_pretend() {
}
src_unpack() {
- default
+ git-r3_src_unpack
if use test; then
mkdir -p "${BUILD_DIR}"/third_party/src/ || die
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-06-03 10:21 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-06-03 10:21 UTC (permalink / raw
To: gentoo-commits
commit: 74de59ebeac0640e7a3ff828e33ade5d4825bc51
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun May 31 14:58:17 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun May 31 14:58:17 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=74de59eb
sci-libs/arrayfire: Fetch tarball instead of getting src from git
Package-Manager: portage-2.2.18
sci-libs/arrayfire/ChangeLog | 4 ++++
sci-libs/arrayfire/arrayfire-3.0_beta.ebuild | 10 +++++-----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 6123184..7267d35 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
# $Header: $
+ 31 May 2015; Marius Brehler <marbre@linux.sungazer.de>
+ arrayfire-3.0_beta.ebuild:
+ Fetch tarball instead of getting src from git
+
23 May 2015; Marius Brehler <marbre@linux.sungazer.de>
+files/FindBoostCompute.cmake,
+files/arrayfire-3.0_beta-FindBoostCompute.patch,
diff --git a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
index 8a08c8c..0bc42c9 100644
--- a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
+++ b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
@@ -4,16 +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 )"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV//_/}.tar.gz -> ${P}.tar.gz
+ test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
KEYWORDS="~amd64"
-EGIT_COMMIT="v3.0beta"
LICENSE="BSD"
SLOT="0"
@@ -38,6 +37,7 @@ RDEPEND="
)"
DEPEND="${RDEPEND}"
+S="${WORKDIR}/${P//_/}"
BUILD_DIR="${S}/build"
CMAKE_BUILD_TYPE=Release
@@ -60,7 +60,7 @@ pkg_pretend() {
}
src_unpack() {
- git-r3_src_unpack
+ default
if use test; then
mkdir -p "${BUILD_DIR}"/third_party/src/ || die
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-05-24 8:14 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-05-24 8:14 UTC (permalink / raw
To: gentoo-commits
commit: dc850a29428b2c2bdcba6c7a6a5b08ce21d92775
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat May 23 22:07:47 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat May 23 22:08:33 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=dc850a29
sci-libs/arrayfire: Split ebuilds/Typechange
sci-libs/arrayfire/arrayfire-0.9999.ebuild | 96 +++++++++++++++++++++++++++-
sci-libs/arrayfire/arrayfire-3.0_beta.ebuild | 95 ++++++++++++++++++++++++++-
2 files changed, 189 insertions(+), 2 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-0.9999.ebuild b/sci-libs/arrayfire/arrayfire-0.9999.ebuild
deleted file mode 120000
index 71d00d4..0000000
--- a/sci-libs/arrayfire/arrayfire-0.9999.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-arrayfire-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/arrayfire/arrayfire-0.9999.ebuild b/sci-libs/arrayfire/arrayfire-0.9999.ebuild
new file mode 100644
index 0000000..f8b1e5e
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-0.9999.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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"
+}
diff --git a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
deleted file mode 120000
index 71d00d4..0000000
--- a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-arrayfire-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
new file mode 100644
index 0000000..8a08c8c
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-3.0_beta.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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="~amd64"
+EGIT_COMMIT="v3.0beta"
+
+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}"/${P}-FindCBLAS.patch
+ "${FILESDIR}"/${P}-FindBoostCompute.patch
+ "${FILESDIR}"/${P}-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"
+}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-02-20 2:02 Christoph Junghans
0 siblings, 0 replies; 57+ messages in thread
From: Christoph Junghans @ 2015-02-20 2:02 UTC (permalink / raw
To: gentoo-commits
commit: 73cabf23d7768d3663cde557290bab0bf650dc7b
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu Feb 19 22:00:55 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Feb 19 22:00:55 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=73cabf23
Fix SLOT operators
Package-Manager: portage-2.2.14
---
sci-libs/arrayfire/ChangeLog | 3 +++
sci-libs/arrayfire/arrayfire-9999.ebuild | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index 37799ee..18acb43 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,6 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Feb 2015; Marius Brehler <marbre@linux.sungazer.de> arrayfire-9999.ebuild:
+ Fix SLOT operators
+
*arrayfire-0.9999 (12 Jan 2015)
12 jan 2015; Marius Brehler <marbre@linux.sungazer.de>
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 69eb0e0..5df0538 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -23,7 +23,7 @@ SLOT="0"
IUSE="+examples +cpu cuda test"
RDEPEND="
- >=sys-devel/gcc-4.7.3-r1
+ >=sys-devel/gcc-4.7:*
cuda? (
>=dev-util/nvidia-cuda-toolkit-6.0
dev-libs/boost
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-02-02 12:06 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-02-02 12:06 UTC (permalink / raw
To: gentoo-commits
commit: 07578281bcf656cf90929f1e70259aaa69bed5ba
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Feb 1 11:02:10 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Feb 1 11:02:10 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=07578281
sci-libs/arrayfire: Add longdescription
---
sci-libs/arrayfire/metadata.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sci-libs/arrayfire/metadata.xml b/sci-libs/arrayfire/metadata.xml
index 45fc556..0ef39ac 100644
--- a/sci-libs/arrayfire/metadata.xml
+++ b/sci-libs/arrayfire/metadata.xml
@@ -6,6 +6,13 @@
<email>marbre@linux.sungazer.de</email>
<name>Marius Brehler</name>
</maintainer>
+ <longdescription>
+ ArrayFire is a high performance software library for parallel
+ computing with an easy-to-use API. Its array based function set
+ makes parallel programming simple. ArrayFire's multiple backends
+ (CUDA, OpenCL and native CPU) make it platform independent and
+ highly portable.
+ </longdescription>
<use>
<flag name="cpu">
Enable CPU Build.
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-22 10:14 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-22 10:14 UTC (permalink / raw
To: gentoo-commits
commit: 645f5380551a467aed5a987ba80214e89631a54f
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu Jan 22 09:56:43 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 22 09:56:43 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=645f5380
sci-libs/arrayfire: Use ${PN} instead of package name
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 1b5bc78..69eb0e0 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -10,7 +10,7 @@ GTEST_PV="1.7.0"
DESCRIPTION="A general purpose GPU library."
HOMEPAGE="http://www.arrayfire.com/"
-EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git git://github.com/arrayfire/arrayfire.git"
+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=""
if [[ ${PV} == "0.9999" ]] ; then
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-22 0:09 Christoph Junghans
0 siblings, 0 replies; 57+ messages in thread
From: Christoph Junghans @ 2015-01-22 0:09 UTC (permalink / raw
To: gentoo-commits
commit: c8128a8ccc32a5d7b98aeec6abb7dcef30cda627
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Jan 20 08:18:58 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Jan 20 08:19:28 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c8128a8c
sci-libs/arrayfire: Improve dependencies
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 352a814..1b5bc78 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -24,10 +24,15 @@ IUSE="+examples +cpu cuda test"
RDEPEND="
>=sys-devel/gcc-4.7.3-r1
- virtual/blas
- virtual/cblas
- cuda? ( >=dev-util/nvidia-cuda-toolkit-6.0 )
- sci-libs/fftw:3.0"
+ cuda? (
+ >=dev-util/nvidia-cuda-toolkit-6.0
+ dev-libs/boost
+ )
+ cpu? (
+ virtual/blas
+ virtual/cblas
+ sci-libs/fftw:3.0
+ )"
DEPEND="${RDEPEND}"
BUILD_DIR="${S}/build"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-15 6:53 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-15 6:53 UTC (permalink / raw
To: gentoo-commits
commit: 31f2667750d06a17d2bb85b48c9c9cd96921132d
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Jan 13 12:45:12 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 06:52:56 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=31f26677
sci-libs/arrayfire: Fix dobin of bin2cpp
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index f59d7e3..352a814 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -82,5 +82,5 @@ src_configure() {
src_install() {
cmake-utils_src_install
- dobin "bin2cpp"
+ dobin "${BUILD_DIR}/bin2cpp"
}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-13 2:06 Christoph Junghans
0 siblings, 0 replies; 57+ messages in thread
From: Christoph Junghans @ 2015-01-13 2:06 UTC (permalink / raw
To: gentoo-commits
commit: 74b12e5811db9c186db609033b27fe548b14775f
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 12 21:40:30 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jan 12 21:40:30 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=74b12e58
sci-libs/arrayfire: Update ChangeLog
---
sci-libs/arrayfire/ChangeLog | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index c21468a..37799ee 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,7 +1,13 @@
-# ChangeLog for sys-cluster/mpe2
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*arrayfire-0.9999 (12 Jan 2015)
+
+ 12 jan 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-0.9999.ebuild:
+ Symlink to arrayfire-9999, pulls the master branch;
+ default HEAD points to devel
+
*arrayfire-9999 (10 Jan 2015)
10 Jan 2015; Marius Brehler <marbre@linux.sungazer.de> +metadata.xml,
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-13 2:06 Christoph Junghans
0 siblings, 0 replies; 57+ messages in thread
From: Christoph Junghans @ 2015-01-13 2:06 UTC (permalink / raw
To: gentoo-commits
commit: b9e10f452dbbe6e2394b5288bf74cfd244eb8176
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 12 09:42:16 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jan 12 09:42:16 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b9e10f45
sci-libs/arrayfire: Add git url
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 72eddd6..0421915 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -10,7 +10,7 @@ GTEST_PV="1.7.0"
DESCRIPTION="A general purpose GPU library."
HOMEPAGE="http://www.arrayfire.com/"
-EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git"
+EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git git://github.com/arrayfire/arrayfire.git"
EGIT_BRANCH="master"
SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
KEYWORDS="~amd64"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-13 2:06 Christoph Junghans
0 siblings, 0 replies; 57+ messages in thread
From: Christoph Junghans @ 2015-01-13 2:06 UTC (permalink / raw
To: gentoo-commits
commit: f737bf7d1364f66c01a5cd1b22693b459cf8be0b
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 12 09:28:50 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jan 12 09:28:50 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f737bf7d
sci-libs/arrayfire: Pull master branch (default HEAD points to devel)
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 107af24..72eddd6 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -11,6 +11,7 @@ GTEST_PV="1.7.0"
DESCRIPTION="A general purpose GPU library."
HOMEPAGE="http://www.arrayfire.com/"
EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git"
+EGIT_BRANCH="master"
SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
KEYWORDS="~amd64"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-13 2:06 Christoph Junghans
0 siblings, 0 replies; 57+ messages in thread
From: Christoph Junghans @ 2015-01-13 2:06 UTC (permalink / raw
To: gentoo-commits
commit: 715c0276f7d4ff676f9579b38fa7662330575831
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 12 21:39:49 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jan 12 21:39:49 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=715c0276
Add arrayfire-0.9999.ebuild: symlink to arrayfire-9999.ebuild
---
sci-libs/arrayfire/arrayfire-0.9999.ebuild | 1 +
sci-libs/arrayfire/arrayfire-9999.ebuild | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/sci-libs/arrayfire/arrayfire-0.9999.ebuild b/sci-libs/arrayfire/arrayfire-0.9999.ebuild
new file mode 120000
index 0000000..71d00d4
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-0.9999.ebuild
@@ -0,0 +1 @@
+arrayfire-9999.ebuild
\ No newline at end of file
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 90d125a..f59d7e3 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -11,9 +11,12 @@ GTEST_PV="1.7.0"
DESCRIPTION="A general purpose GPU library."
HOMEPAGE="http://www.arrayfire.com/"
EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git git://github.com/arrayfire/arrayfire.git"
-EGIT_BRANCH="master"
SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
KEYWORDS=""
+if [[ ${PV} == "0.9999" ]] ; then
+ # the remote HEAD points to devel, but we want to pull the master instead
+ EGIT_BRANCH="master"
+fi
LICENSE="BSD"
SLOT="0"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-13 2:06 Christoph Junghans
0 siblings, 0 replies; 57+ messages in thread
From: Christoph Junghans @ 2015-01-13 2:06 UTC (permalink / raw
To: gentoo-commits
commit: d1a6f70881f994aa009a60147345ecbcdf06542d
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 12 10:37:26 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jan 12 10:37:26 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d1a6f708
sci-libs/arrayfire: Live ebuild don't has keywords
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 0421915..90d125a 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="http://www.arrayfire.com/"
EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git git://github.com/arrayfire/arrayfire.git"
EGIT_BRANCH="master"
SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
-KEYWORDS="~amd64"
+KEYWORDS=""
LICENSE="BSD"
SLOT="0"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-11 9:09 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-11 9:09 UTC (permalink / raw
To: gentoo-commits
commit: 8e5938c433a09162e517e7e3127fa365a764ea45
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 22:39:47 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 22:39:47 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8e5938c4
sci-libs/arrayfire: Improve and clean gtest src handling
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 50aca35..107af24 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -4,12 +4,14 @@
EAPI=5
-inherit cmake-utils git-r3 unpacker
+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/arrayfire/arrayfire.git"
-SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-1.7.0.zip )"
+SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
KEYWORDS="~amd64"
LICENSE="BSD"
@@ -51,8 +53,8 @@ src_unpack() {
if use test; then
mkdir -p "${BUILD_DIR}"/third_party/src/ || die
cd "${BUILD_DIR}"/third_party/src/ || die
- unpack_zip "${DISTDIR}/"gtest-1.7.0.zip
- mv "${BUILD_DIR}"/third_party/src/gtest-1.7.0 "${BUILD_DIR}"/third_party/src/googletest || die
+ unpack ${A}
+ mv "${BUILD_DIR}"/third_party/src/gtest-"${GTEST_PV}" "${BUILD_DIR}"/third_party/src/googletest || die
fi
}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-11 9:09 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-11 9:09 UTC (permalink / raw
To: gentoo-commits
commit: b0825ab2c556914504da8037850fadaea006bfaa
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 18:11:03 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 18:11:03 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b0825ab2
sci-libs/arrayfire: Fix DEPEND, unpacker is used instead of unzip
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index a1af26b..50aca35 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -22,8 +22,7 @@ RDEPEND="
virtual/cblas
cuda? ( >=dev-util/nvidia-cuda-toolkit-6.0 )
sci-libs/fftw:3.0"
-DEPEND="${RDEPEND}
- test? ( app-arch/unzip )"
+DEPEND="${RDEPEND}"
BUILD_DIR="${S}/build"
CMAKE_BUILD_TYPE=Release
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-10 18:03 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-10 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 3df97cfe69a14f7fa03593c92e2675dd959d0346
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 12:11:20 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 12:11:20 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3df97cfe
Add ChangeLog
---
sci-libs/arrayfire/ChangeLog | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
new file mode 100644
index 0000000..c21468a
--- /dev/null
+++ b/sci-libs/arrayfire/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-cluster/mpe2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*arrayfire-9999 (10 Jan 2015)
+
+ 10 Jan 2015; Marius Brehler <marbre@linux.sungazer.de> +metadata.xml,
+ +files/FindCBLAS.patch, +files/CMakeLists_examples.patch,
+ +arrayfire-9999.ebuild:
+ Add to overlay.
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-10 18:03 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-10 18:03 UTC (permalink / raw
To: gentoo-commits
commit: a4a5080edd63b80e21729d084234be9a1d3f5873
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 15:19:30 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 15:19:30 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a4a5080e
Drop userpriv; Add independent USE flag
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 0a24116..b2d1099 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -13,7 +13,7 @@ KEYWORDS="~amd64"
LICENSE="ArrayFire"
SLOT="0"
-IUSE="+examples +cpu cuda test"
+IUSE="+examples +cpu cuda independent test"
RDEPEND="
>=sys-devel/gcc-4.7.3-r1
@@ -28,12 +28,6 @@ S="${WORKDIR}/${P}"
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
-if use cuda; then
- RESTRICT="userpriv"
-fi
-
src_prepare() {
if use cpu; then
epatch "${FILESDIR}/FindCBLAS.patch"
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-10 18:03 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-10 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 4d9d7ca441227c9ab7ceefa120882b403594cbbb
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 12:41:50 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 12:41:50 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4d9d7ca4
Fix arrayfire's metadata.xml
---
sci-libs/arrayfire/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/arrayfire/metadata.xml b/sci-libs/arrayfire/metadata.xml
index 3daddf2..45fc556 100644
--- a/sci-libs/arrayfire/metadata.xml
+++ b/sci-libs/arrayfire/metadata.xml
@@ -9,7 +9,7 @@
<use>
<flag name="cpu">
Enable CPU Build.
- </flag>flag>
+ </flag>
<flag name="cuda">
Enable CUDA Build.
</flag>
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-10 18:03 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-10 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 3e25721b735521f1fcdf66f1409ce86b2e6f3aee
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 15:22:31 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 15:22:31 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3e25721b
Make use of PATCHES array
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 0022657..f485b12 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -26,16 +26,10 @@ DEPEND="${RDEPEND}
CMAKE_BUILD_TYPE=Release
-src_prepare() {
- if use cpu; then
- epatch "${FILESDIR}/FindCBLAS.patch"
- fi
- if use examples; then
- epatch "${FILESDIR}/CMakeLists_examples.patch"
- fi
-
- cmake-utils_src_prepare
-}
+PATCHES=(
+ "${FILESDIR}"/FindCBLAS.patch
+ "${FILESDIR}"/CMakeLists_examples.patch
+)
src_configure() {
if use cuda; then
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-10 18:03 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-10 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 84f3d219fb5cb7d15f5c4758f3dbdd41fb85c233
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 17:45:02 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 17:45:02 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=84f3d219
Add pkg_pretend + further fixes
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index dbdca1f..a1af26b 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -14,7 +14,7 @@ KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
-IUSE="+examples +cpu cuda independent test"
+IUSE="+examples +cpu cuda test"
RDEPEND="
>=sys-devel/gcc-4.7.3-r1
@@ -31,11 +31,23 @@ CMAKE_BUILD_TYPE=Release
PATCHES=(
"${FILESDIR}"/FindCBLAS.patch
"${FILESDIR}"/CMakeLists_examples.patch
- "${FILESDIR}"/build_gtest.patch
+ "${FILESDIR}"/build_gtest.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
+ git-r3_src_unpack
if use test; then
mkdir -p "${BUILD_DIR}"/third_party/src/ || die
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-10 18:03 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-10 18:03 UTC (permalink / raw
To: gentoo-commits
commit: a9059a2c00cddaf0480c13de70bd226ca401f987
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 16:09:31 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 16:09:31 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a9059a2c
Use dobin instead of doins for bin2cpp exectuable
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index f485b12..667ca0b 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -51,6 +51,5 @@ src_configure() {
src_install() {
cmake-utils_src_install
- exeinto /usr/bin
- doexe "build/bin2cpp"
+ dobin "bin2cpp"
}
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-10 18:03 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-10 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 969d55c75afbca055209bf22fd46f0b2ff8c7dd3
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 15:21:02 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 15:21:02 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=969d55c7
Further cleanup
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index b2d1099..0022657 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit cmake-utils eutils git-r3
+inherit cmake-utils git-r3
DESCRIPTION="A general purpose GPU library."
HOMEPAGE="http://www.arrayfire.com/"
@@ -24,8 +24,6 @@ RDEPEND="
DEPEND="${RDEPEND}
test? ( dev-vcs/subversion )"
-S="${WORKDIR}/${P}"
-BUILD_DIR="${S}/build"
CMAKE_BUILD_TYPE=Release
src_prepare() {
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
@ 2015-01-10 18:03 Justin Lecher
0 siblings, 0 replies; 57+ messages in thread
From: Justin Lecher @ 2015-01-10 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 8c3bb69148954714ff4e8614fce7acbb02e95bd8
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 12:03:12 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 12:03:12 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8c3bb691
Get arrayfire working
---
sci-libs/arrayfire/arrayfire-9999.ebuild | 68 ++++++++++----------------------
sci-libs/arrayfire/metadata.xml | 4 +-
2 files changed, 23 insertions(+), 49 deletions(-)
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 06295ca..0a24116 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit cmake-utils eutils git-r3 toolchain-funcs
+inherit cmake-utils eutils git-r3
DESCRIPTION="A general purpose GPU library."
HOMEPAGE="http://www.arrayfire.com/"
@@ -13,7 +13,7 @@ KEYWORDS="~amd64"
LICENSE="ArrayFire"
SLOT="0"
-IUSE="+examples +cpu cuda"
+IUSE="+examples +cpu cuda test"
RDEPEND="
>=sys-devel/gcc-4.7.3-r1
@@ -21,7 +21,12 @@ RDEPEND="
virtual/cblas
cuda? ( >=dev-util/nvidia-cuda-toolkit-6.0 )
sci-libs/fftw:3.0"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ test? ( dev-vcs/subversion )"
+
+S="${WORKDIR}/${P}"
+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
@@ -29,23 +34,14 @@ if use cuda; then
RESTRICT="userpriv"
fi
-S="${WORKDIR}/${P}"
-
-QA_PREBUILT="/usr/share/arrayfire/examples/helloworld_cpu
- /usr/share/arrayfire/examples/pi_cpu
- /usr/share/arrayfire/examples/vectorize_cpu
- /usr/share/arrayfire/examples/helloworld_cuda
- /usr/share/arrayfire/examples/pi_cuda
- /usr/share/arrayfire/examples/vectorize_cuda"
-
-src_unpack() {
- git-r3_src_unpack
-}
-
src_prepare() {
if use cpu; then
epatch "${FILESDIR}/FindCBLAS.patch"
fi
+ if use examples; then
+ epatch "${FILESDIR}/CMakeLists_examples.patch"
+ fi
+
cmake-utils_src_prepare
}
@@ -56,20 +52,14 @@ src_configure() {
addwrite /dev/nvidia-uvm
fi
- local mycmakeargs="
- -DCMAKE_BUILD_TYPE=Release
- $(cmake-utils_use_build cpu CPU)
- $(cmake-utils_use_build cuda CUDA)
- -DBUILD_OPENCL=OFF
- $(cmake-utils_use_build examples EXAMPLES)
- -DBUILD_TEST=OFF
- "
-
- BUILD_DIR="${S}/build" cmake-utils_src_configure
-}
-
-src_compile() {
- BUILD_DIR="${S}/build" cmake-utils_src_compile
+ local mycmakeargs=(
+ $(cmake-utils_use_build cpu CPU)
+ $(cmake-utils_use_build cuda CUDA)
+ -DBUILD_OPENCL=OFF
+ $(cmake-utils_use_build examples EXAMPLES)
+ $(cmake-utils_use_build test TEST)
+ )
+ cmake-utils_src_configure
}
src_install() {
@@ -77,20 +67,4 @@ src_install() {
exeinto /usr/bin
doexe "build/bin2cpp"
-
- if use examples; then
- ebegin "Installing examples"
- exeinto /usr/share/arrayfire/examples/
- if use cpu; then
- doexe "build/examples/helloworld_cpu"
- doexe "build/examples/pi_cpu"
- doexe "build/examples/vectorize_cpu"
- fi
- if use cuda; then
- doexe "build/examples/helloworld_cuda"
- doexe "build/examples/pi_cuda"
- doexe "build/examples/vectorize_cuda"
- fi
- eend
- fi
-}
\ No newline at end of file
+}
diff --git a/sci-libs/arrayfire/metadata.xml b/sci-libs/arrayfire/metadata.xml
index cf929e4..3daddf2 100644
--- a/sci-libs/arrayfire/metadata.xml
+++ b/sci-libs/arrayfire/metadata.xml
@@ -11,7 +11,7 @@
Enable CPU Build.
</flag>flag>
<flag name="cuda">
- Enable CUDA Build.
- </flag>
+ Enable CUDA Build.
+ </flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 57+ messages in thread
end of thread, other threads:[~2024-01-22 12:00 UTC | newest]
Thread overview: 57+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 7:11 [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2024-01-22 12:00 Horea Christian
2021-01-20 8:40 Andrew Ammerlaan
2021-01-19 2:04 Aisha Tammy
2020-12-23 2:46 Aisha Tammy
2020-09-25 12:16 Aisha Tammy
2020-09-25 2:33 Aisha Tammy
2020-09-25 2:33 Aisha Tammy
2020-09-25 2:33 Aisha Tammy
2020-09-25 2:33 Aisha Tammy
2020-09-25 2:33 Aisha Tammy
2020-09-25 2:33 Aisha Tammy
2017-03-26 8:18 Justin Lecher
2017-01-02 8:42 Marius Brehler
2016-11-29 10:16 Marius Brehler
2016-11-24 10:55 Marius Brehler
2016-05-20 14:03 Marius Brehler
2016-05-19 7:14 Marius Brehler
2016-01-12 11:07 Marius Brehler
2016-01-12 11:07 Marius Brehler
2016-01-08 13:16 Marius Brehler
2015-12-19 12:36 Marius Brehler
2015-12-04 17:44 Marius Brehler
2015-11-28 18:21 Marius Brehler
2015-11-24 14:36 Marius Brehler
2015-11-02 7:49 Marius Brehler
2015-10-06 21:38 Marius Brehler
2015-10-06 21:38 Marius Brehler
2015-10-01 6:06 Justin Lecher
2015-09-17 21:56 Jauhien Piatlicki
2015-09-15 13:34 Justin Lecher
2015-09-13 18:34 Justin Lecher
2015-09-09 7:11 Justin Lecher
2015-08-27 15:01 Justin Lecher
2015-06-05 10:47 Justin Lecher
2015-06-03 10:21 Justin Lecher
2015-05-24 8:14 Justin Lecher
2015-02-20 2:02 Christoph Junghans
2015-02-02 12:06 Justin Lecher
2015-01-22 10:14 Justin Lecher
2015-01-22 0:09 Christoph Junghans
2015-01-15 6:53 Justin Lecher
2015-01-13 2:06 Christoph Junghans
2015-01-13 2:06 Christoph Junghans
2015-01-13 2:06 Christoph Junghans
2015-01-13 2:06 Christoph Junghans
2015-01-13 2:06 Christoph Junghans
2015-01-11 9:09 Justin Lecher
2015-01-11 9:09 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
2015-01-10 18:03 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox