diff options
Diffstat (limited to 'lib/spack/docs/tutorial/examples/1.package.py')
-rw-r--r-- | lib/spack/docs/tutorial/examples/1.package.py | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/spack/docs/tutorial/examples/1.package.py b/lib/spack/docs/tutorial/examples/1.package.py index 30f708be2f..359a457567 100644 --- a/lib/spack/docs/tutorial/examples/1.package.py +++ b/lib/spack/docs/tutorial/examples/1.package.py @@ -25,7 +25,7 @@ from spack import * -class Mpileaks(AutotoolsPackage): +class Mpileaks(Package): """Tool to detect and report MPI objects like MPI_Requests and MPI_Datatypes.""" @@ -35,14 +35,9 @@ class Mpileaks(AutotoolsPackage): version('1.0', '8838c574b39202a57d7c2d68692718aa') # FIXME: Add dependencies if required. - # depends_on('m4', type='build') - # depends_on('autoconf', type='build') - # depends_on('automake', type='build') - # depends_on('libtool', type='build') # depends_on('foo') - def configure_args(self): - # FIXME: Add arguments other than --prefix - # FIXME: If not needed delete the function - args = [] - return args + def install(self, spec, prefix): + # FIXME: Unknown build system + make() + make('install') |