arpack-ng: fix build with gcc@10: (#17131)
This commit is contained in:
parent
2a13bad8eb
commit
68c13d76f9
1 changed files with 6 additions and 0 deletions
|
@ -85,6 +85,12 @@ def libs(self):
|
||||||
libraries, root=self.prefix, shared=True, recursive=True
|
libraries, root=self.prefix, shared=True, recursive=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@when('@:3.7.0 %gcc@10:')
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
# version up to and including 3.7.0 are not ported to gcc 10
|
||||||
|
# https://github.com/opencollab/arpack-ng/issues/242
|
||||||
|
env.set('FFLAGS', '-fallow-argument-mismatch')
|
||||||
|
|
||||||
@when('@3.4.0:')
|
@when('@3.4.0:')
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue