Merge pull request #190 from bhatele/feature/networktools
Add damselfly package
This commit is contained in:
commit
7392e1af59
14
var/spack/packages/damselfly/package.py
Normal file
14
var/spack/packages/damselfly/package.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
from spack import *
|
||||||
|
|
||||||
|
class Damselfly(Package):
|
||||||
|
"""Damselfly is a model-based parallel network simulator."""
|
||||||
|
homepage = "https://github.com/scalability-llnl/damselfly"
|
||||||
|
url = "https://github.com/scalability-llnl/damselfly"
|
||||||
|
|
||||||
|
version('1.0', '05cf7e2d8ece4408c0f2abb7ab63fd74c0d62895', git='https://github.com/scalability-llnl/damselfly.git', tag='v1.0')
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
with working_dir('spack-build', create=True):
|
||||||
|
cmake('-DCMAKE_BUILD_TYPE=release', '..', *std_cmake_args)
|
||||||
|
make()
|
||||||
|
make('install')
|
Loading…
Reference in New Issue
Block a user