madgraph5amc package: use Spack compiler wrapper (#27523)
This fix allows madgraph5amc to build with Clang.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user