
Package repositories now look like this: top-level-dir/ repo.yaml packages/ libelf/ package.py mpich/ package.py ... This leaves room at the top level for additional metadata, source, per-repo configs, indexes, etc., and it makes it easy to see that something is a spack repo (just look for repo.yaml and packages).
19 lines
541 B
Python
19 lines
541 B
Python
from spack import *
|
|
|
|
class Lwm2(Package):
|
|
"""LWM2: Light Weight Measurement Module. This is a PMPI module
|
|
that can collect a number of time-sliced MPI and POSIX I/O
|
|
measurements from a program.
|
|
"""
|
|
homepage = "https://jay.grs.rwth-aachen.de/redmine/projects/lwm2"
|
|
|
|
version('torus', hg='https://jay.grs.rwth-aachen.de/hg/lwm2', revision='torus')
|
|
|
|
depends_on("papi")
|
|
depends_on("mpi")
|
|
|
|
def install(self, spec, prefix):
|
|
configure("--prefix=%s" % prefix)
|
|
make()
|
|
make("install")
|