penblas: fix link error in dependent packages. (#21561)
This commit is contained in:
parent
0760c7c704
commit
b802e75274
@ -277,6 +277,10 @@ def make_defs(self):
|
||||
if self.spec.satisfies('%gcc@:4.8.4'):
|
||||
make_defs.append('NO_AVX2=1')
|
||||
|
||||
# Fujitsu Compiler dose not add Fortran runtime in rpath.
|
||||
if self.spec.satisfies('%fj'):
|
||||
make_defs.append('LDFLAGS=-lfj90i -lfj90f -lfjsrcinfo -lelf')
|
||||
|
||||
# Newer versions of openblas will try to find ranlib in the compiler's
|
||||
# prefix, for instance, .../lib/spack/env/gcc/ranlib, which will fail.
|
||||
if self.spec.satisfies('@0.3.13:'):
|
||||
|
Loading…
Reference in New Issue
Block a user