From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/
Date: Sat, 10 Jan 2015 18:03:23 +0000 (UTC) [thread overview]
Message-ID: <1420911902.84f3d219fb5cb7d15f5c4758f3dbdd41fb85c233.jlec@gentoo> (raw)
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
next reply other threads:[~2015-01-10 18:03 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-10 18:03 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-22 12:00 [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/ 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-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1420911902.84f3d219fb5cb7d15f5c4758f3dbdd41fb85c233.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox