Massive conversion from Package to CMakePackage (#4975)
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user