python: Fix post-install script without C++ compiler (#14481)
This commit is contained in:
parent
5b1297378c
commit
8660b0b5b8
@ -396,7 +396,8 @@ def filter_compilers(self):
|
|||||||
]
|
]
|
||||||
|
|
||||||
filter_file(spack_cc, self.compiler.cc, *filenames, **kwargs)
|
filter_file(spack_cc, self.compiler.cc, *filenames, **kwargs)
|
||||||
filter_file(spack_cxx, self.compiler.cxx, *filenames, **kwargs)
|
if spack_cxx and self.compiler.cxx:
|
||||||
|
filter_file(spack_cxx, self.compiler.cxx, *filenames, **kwargs)
|
||||||
|
|
||||||
@run_after('install')
|
@run_after('install')
|
||||||
def symlink(self):
|
def symlink(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user