madgraph5amc package: use Spack compiler wrapper (#27523)

This fix allows madgraph5amc to build with Clang.
This commit is contained in:
Joseph Wang
2021-12-02 04:18:07 +08:00
committed by GitHub
parent 041f91b176
commit d7b21fc40b

View File

@@ -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: