Remove -Wmissing-format-attribute if compiling with nvhpc (#24873)
This commit is contained in:
parent
be90bdc355
commit
fefedbe653
@ -57,3 +57,8 @@ def import_module_test(self):
|
|||||||
if '+python' in self.spec:
|
if '+python' in self.spec:
|
||||||
with working_dir('spack-test', create=True):
|
with working_dir('spack-test', create=True):
|
||||||
python('-c', 'import libxslt')
|
python('-c', 'import libxslt')
|
||||||
|
|
||||||
|
def patch(self):
|
||||||
|
# Remove flags not recognized by the NVIDIA compiler
|
||||||
|
if self.spec.satisfies('%nvhpc'):
|
||||||
|
filter_file('-Wmissing-format-attribute', '', 'configure')
|
||||||
|
Loading…
Reference in New Issue
Block a user