aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2013-01-21 13:29:42 -0700
committerChristoph Junghans <ottxor@gentoo.org>2013-01-21 13:29:42 -0700
commit3dd370c0dde951870d1cca039320e87452c1d8a8 (patch)
tree8d135163f1bec61bebcf6b20bba8f89cf6d88438
parentfixed sci-chemistry/gromacs[test] (diff)
downloadsci-3dd370c0dde951870d1cca039320e87452c1d8a8.tar.gz
sci-3dd370c0dde951870d1cca039320e87452c1d8a8.tar.bz2
sci-3dd370c0dde951870d1cca039320e87452c1d8a8.zip
sci-chemistry/gromacs: use cuda.eclass
Package-Manager: portage-2.2.0_alpha158
-rw-r--r--sci-chemistry/gromacs/ChangeLog3
-rw-r--r--sci-chemistry/gromacs/gromacs-4.6.9999.ebuild8
2 files changed, 8 insertions, 3 deletions
diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog
index a4af5c4db..e8db8840d 100644
--- a/sci-chemistry/gromacs/ChangeLog
+++ b/sci-chemistry/gromacs/ChangeLog
@@ -3,6 +3,9 @@
# $Header: $
21 Jan 2013; Christoph Junghans <ottxor@gentoo.org> gromacs-4.6.9999.ebuild:
+ sci-chemistry/gromacs: use cuda.eclass
+
+ 21 Jan 2013; Christoph Junghans <ottxor@gentoo.org> gromacs-4.6.9999.ebuild:
fixed sci-chemistry/gromacs[test]
21 Jan 2013; Alexey Shvetsov <alexxy@gentoo.org> gromacs-4.6.9999.ebuild:
diff --git a/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild b/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
index 9f124103b..eae143b61 100644
--- a/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
@@ -9,7 +9,7 @@ MANUAL_PV="4.6"
CMAKE_MAKEFILE_GENERATOR="ninja"
-inherit bash-completion-r1 cmake-utils eutils multilib toolchain-funcs
+inherit bash-completion-r1 cmake-utils cuda eutils multilib toolchain-funcs
if [[ $PV = *9999* ]]; then
EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
@@ -45,14 +45,14 @@ CDEPEND="
x11-libs/libICE
)
blas? ( virtual/blas )
- cuda? ( dev-util/nvidia-cuda-toolkit )
+ cuda? ( >=dev-util/nvidia-cuda-toolkit-4.2.9-r1 )
fftw? ( sci-libs/fftw:3.0 )
gsl? ( sci-libs/gsl )
lapack? ( virtual/lapack )
mkl? ( sci-libs/mkl )
mpi? ( virtual/mpi )
openmm? (
- dev-util/nvidia-cuda-toolkit
+ >=dev-util/nvidia-cuda-toolkit-4.2.9-r1
sci-libs/openmm[cuda,opencl]
)"
DEPEND="${CDEPEND}
@@ -93,6 +93,8 @@ src_prepare() {
#add user patches from /etc/portage/patches/sci-chemistry/gromacs
epatch_user
+ use cuda && cuda_src_prepare
+
GMX_DIRS=""
use single-precision && GMX_DIRS+=" float"
use double-precision && GMX_DIRS+=" double"