diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-04-04 15:00:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 15:00:35 -0500 |
commit | 3866dba2650114e0a50b66def40da02cba531758 (patch) | |
tree | 00520d8d3a85a088a0105a048284972cc1d5eb2d /var | |
parent | 3c578620849137940b1cf3af0be99091f66d2cd1 (diff) | |
download | spack-3866dba2650114e0a50b66def40da02cba531758.tar.gz spack-3866dba2650114e0a50b66def40da02cba531758.tar.bz2 spack-3866dba2650114e0a50b66def40da02cba531758.tar.xz spack-3866dba2650114e0a50b66def40da02cba531758.zip |
Convert STREAM to MakefilePackage (#3692)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/stream/package.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/stream/package.py b/var/spack/repos/builtin/packages/stream/package.py index 8b3f32af8a..7e24071356 100644 --- a/var/spack/repos/builtin/packages/stream/package.py +++ b/var/spack/repos/builtin/packages/stream/package.py @@ -25,7 +25,7 @@ from spack import * -class Stream(Package): +class Stream(MakefilePackage): """The STREAM benchmark is a simple synthetic benchmark program that measures sustainable memory bandwidth (in MB/s) and the corresponding computation rate for simple vector kernels.""" @@ -36,7 +36,7 @@ class Stream(Package): variant('openmp', default=False, description='Build with OpenMP support') - def patch(self): + def edit(self, spec, prefix): makefile = FileFilter('Makefile') # Use the Spack compiler wrappers @@ -54,8 +54,6 @@ class Stream(Package): makefile.filter('FFLAGS = .*', 'FFLAGS = {0}'.format(fflags)) def install(self, spec, prefix): - make() - # Manual installation mkdir(prefix.bin) install('stream_c.exe', prefix.bin) |