adios2: Fix build with gcc@10: (#16570)
This commit is contained in:
parent
48a35409e0
commit
20b3e41831
1 changed files with 5 additions and 0 deletions
|
@ -118,6 +118,11 @@ class Adios2(CMakePackage):
|
||||||
# See https://github.com/ornladios/ADIOS2/pull/1899
|
# See https://github.com/ornladios/ADIOS2/pull/1899
|
||||||
patch('2.5-fix-clear_cache.patch', when='@2.5.0')
|
patch('2.5-fix-clear_cache.patch', when='@2.5.0')
|
||||||
|
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
# https://github.com/ornladios/ADIOS2/issues/2228
|
||||||
|
if self.spec.satisfies('%gcc@10: +fortran'):
|
||||||
|
env.set('FFLAGS', '-fallow-argument-mismatch')
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue