From 3866dba2650114e0a50b66def40da02cba531758 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 4 Apr 2017 15:00:35 -0500 Subject: Convert STREAM to MakefilePackage (#3692) --- var/spack/repos/builtin/packages/stream/package.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'var') 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) -- cgit v1.2.3-70-g09d2