From: | Kacper Kowalik <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] proj/sci:master commit in: dev-util/VampirTrace/ |
Date: | Wed, 01 May 2013 20:09:41 |
Message-Id: | 1367432963.9d423fc0b72551e4597916718b5306dc6a8faf5e.xarthisius@gentoo |
1 | commit: 9d423fc0b72551e4597916718b5306dc6a8faf5e |
2 | Author: Andreas Schäfer <gentryx <AT> gmx <DOT> de> |
3 | AuthorDate: Wed May 1 18:29:23 2013 +0000 |
4 | Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org> |
5 | CommitDate: Wed May 1 18:29:23 2013 +0000 |
6 | URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9d423fc0 |
7 | |
8 | refactoring CUDA interaction |
9 | |
10 | --- |
11 | dev-util/VampirTrace/VampirTrace-5.14.3.ebuild | 8 +++++--- |
12 | 1 files changed, 5 insertions(+), 3 deletions(-) |
13 | |
14 | diff --git a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild |
15 | index 4331320..b1b1eb8 100644 |
16 | --- a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild |
17 | +++ b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild |
18 | @@ -4,9 +4,7 @@ |
19 | |
20 | EAPI=5 |
21 | |
22 | -use cuda && _CUDA_CLASS=cuda |
23 | - |
24 | -inherit eutils ${_CUDA_CLASS} |
25 | +inherit eutils |
26 | |
27 | DESCRIPTION="An open source library that allows detailed logging of program execution for parallel applications" |
28 | HOMEPAGE="http://www.tu-dresden.de/die_tu_dresden/zentrale_einrichtungen/zih/forschung/software_werkzeuge_zur_unterstuetzung_von_programmierung_und_optimierung/vampirtrace" |
29 | @@ -21,6 +19,10 @@ DEPEND=" |
30 | virtual/mpi |
31 | cuda? ( >=dev-util/nvidia-cuda-toolkit-4.0.0 )" |
32 | |
33 | +src_prepare() { |
34 | + use cuda && cuda_src_prepare |
35 | +} |
36 | + |
37 | src_configure() { |
38 | econf $(use_with cuda cuda-dir "${EPREFIX}"/opt/cuda) |
39 | } |