madgraph5amc package: use Spack compiler wrapper (#27523)
This fix allows madgraph5amc to build with Clang.
This commit is contained in:
parent
041f91b176
commit
d7b21fc40b
@ -90,6 +90,9 @@ def build(self, spec, prefix):
|
||||
make(parallel=False)
|
||||
|
||||
with working_dir(join_path('vendor', 'StdHEP')):
|
||||
for m in ['mcfio/arch_mcfio', 'src/stdhep_arch']:
|
||||
arch = FileFilter(m)
|
||||
arch.filter('CC.*=.*', 'CC = {0}'.format(spack_cc))
|
||||
make(parallel=False)
|
||||
|
||||
if '+atlas' in spec:
|
||||
|
Loading…
Reference in New Issue
Block a user