Massive conversion from Package to CMakePackage (#4975)
This commit is contained in:
@@ -25,18 +25,13 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class Cram(Package):
|
||||
class Cram(CMakePackage):
|
||||
"""Cram runs many small MPI jobs inside one large MPI job."""
|
||||
homepage = "https://github.com/llnl/cram"
|
||||
url = "http://github.com/llnl/cram/archive/v1.0.1.tar.gz"
|
||||
|
||||
version('1.0.1', 'c73711e945cf5dc603e44395f6647f5e')
|
||||
|
||||
extends('python')
|
||||
depends_on("mpi")
|
||||
depends_on('cmake', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
cmake(".", *std_cmake_args)
|
||||
make()
|
||||
make("install")
|
||||
extends('python@2.7:')
|
||||
depends_on('mpi')
|
||||
depends_on('cmake@2.8:', type='build')
|
||||
|
Reference in New Issue
Block a user