aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/VampirTrace/VampirTrace-5.14.3.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild
index b1b1eb8bd..4331320ee 100644
--- a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild
+++ b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild
@@ -4,7 +4,9 @@
EAPI=5
-inherit eutils
+use cuda && _CUDA_CLASS=cuda
+
+inherit eutils ${_CUDA_CLASS}
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"
@@ -19,10 +21,6 @@ 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)
}