aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/VampirTrace/VampirTrace-5.14.3.ebuild')
-rw-r--r--dev-util/VampirTrace/VampirTrace-5.14.3.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild
index 4331320ee..02a8faa88 100644
--- a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild
+++ b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild
@@ -4,9 +4,7 @@
EAPI=5
-use cuda && _CUDA_CLASS=cuda
-
-inherit eutils ${_CUDA_CLASS}
+inherit eutils cuda
DESCRIPTION="An open source library that allows detailed logging of program execution for parallel applications"
HOMEPAGE="http://www.tu-dresden.de/die_tu_dresden/zentrale_einrichtungen/zih/forschung/software_werkzeuge_zur_unterstuetzung_von_programmierung_und_optimierung/vampirtrace"
@@ -21,6 +19,10 @@ DEPEND="
virtual/mpi
cuda? ( >=dev-util/nvidia-cuda-toolkit-4.0.0 )"
+src_prepare() {
+ use cuda && cuda_src_prepare
+}
+
src_configure() {
econf $(use_with cuda cuda-dir "${EPREFIX}"/opt/cuda)
}