blktrace: use Spack compiler wrappers (#17365)
This commit is contained in:
parent
2cd9e1eb62
commit
986f68f7ed
1 changed files with 7 additions and 0 deletions
|
@ -27,5 +27,12 @@ class Blktrace(MakefilePackage):
|
|||
|
||||
depends_on('libaio')
|
||||
|
||||
def edit(self, spec, prefix):
|
||||
makefiles = ['Makefile', 'btreplay/Makefile',
|
||||
'btt/Makefile', 'iowatcher/Makefile']
|
||||
for m in makefiles:
|
||||
makefile = FileFilter(m)
|
||||
makefile.filter('CC.*=.*', 'CC = {0}'.format(spack_cc))
|
||||
|
||||
def install(self, spec, prefix):
|
||||
install_tree('.', prefix)
|
||||
|
|
Loading…
Reference in a new issue