diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-08-05 10:15:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-05 10:15:18 -0500 |
commit | c7df12f69826448fd9af875e44348b8f8d0ff067 (patch) | |
tree | 55ab6e582d463f2c45f7935f5c15362d50b7470d /var/spack/repos/builtin/packages/damselfly/package.py | |
parent | 17cdb73be7a781b7ec49fa02703a0e324ee2eaba (diff) | |
download | spack-c7df12f69826448fd9af875e44348b8f8d0ff067.tar.gz spack-c7df12f69826448fd9af875e44348b8f8d0ff067.tar.bz2 spack-c7df12f69826448fd9af875e44348b8f8d0ff067.tar.xz spack-c7df12f69826448fd9af875e44348b8f8d0ff067.zip |
Massive conversion from Package to CMakePackage (#4975)
Diffstat (limited to 'var/spack/repos/builtin/packages/damselfly/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/damselfly/package.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/damselfly/package.py b/var/spack/repos/builtin/packages/damselfly/package.py index e78bb21f44..05cbee4a4e 100644 --- a/var/spack/repos/builtin/packages/damselfly/package.py +++ b/var/spack/repos/builtin/packages/damselfly/package.py @@ -25,7 +25,7 @@ from spack import * -class Damselfly(Package): +class Damselfly(CMakePackage): """Damselfly is a model-based parallel network simulator.""" homepage = "https://github.com/llnl/damselfly" url = "https://github.com/llnl/damselfly" @@ -33,10 +33,4 @@ class Damselfly(Package): version('1.0', '05cf7e2d8ece4408c0f2abb7ab63fd74c0d62895', git='https://github.com/llnl/damselfly.git', tag='v1.0') - depends_on('cmake', type='build') - - def install(self, spec, prefix): - with working_dir('spack-build', create=True): - cmake('-DCMAKE_BUILD_TYPE=release', '..', *std_cmake_args) - make() - make('install') + depends_on('cmake@2.6:', type='build') |