blktrace: use Spack compiler wrappers (#17365)
This commit is contained in:
parent
2cd9e1eb62
commit
986f68f7ed
@ -27,5 +27,12 @@ class Blktrace(MakefilePackage):
|
|||||||
|
|
||||||
depends_on('libaio')
|
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):
|
def install(self, spec, prefix):
|
||||||
install_tree('.', prefix)
|
install_tree('.', prefix)
|
||||||
|
Loading…
Reference in New Issue
Block a user