zoltan: Add PGI runtime libs to LDFLAGS (#20547)
* Add PGI runtime libs to LDFLAGS when '%pgi' in spec. * Revert "Add PGI runtime libs to LDFLAGS when '%pgi' in spec." This reverts commit 31c3ef8ea22156fdeef6f82a29e9cea8ac86f006. * Add PGI runtime libs to LDFLAGS when '%pgi' in spec.
This commit is contained in:
parent
5add3a2f4d
commit
e9f0473e26
1 changed files with 6 additions and 1 deletions
|
@ -90,6 +90,10 @@ def configure_args(self):
|
|||
'-g' if '+debug' in spec else '',
|
||||
]
|
||||
|
||||
config_ldflags = []
|
||||
# PGI runtime libraries
|
||||
if '%pgi' in spec:
|
||||
config_ldflags.append('-pgf90libs')
|
||||
if '+shared' in spec:
|
||||
config_args.extend([
|
||||
'RANLIB=echo',
|
||||
|
@ -142,7 +146,8 @@ def configure_args(self):
|
|||
config_args.extend([
|
||||
'--with-cflags={0}'.format(' '.join(config_cflags)),
|
||||
'--with-cxxflags={0}'.format(' '.join(config_cflags)),
|
||||
'--with-fcflags={0}'.format(' '.join(config_fcflags))
|
||||
'--with-fcflags={0}'.format(' '.join(config_fcflags)),
|
||||
'--with-ldflags={0}'.format(' '.join(config_ldflags))
|
||||
])
|
||||
return config_args
|
||||
|
||||
|
|
Loading…
Reference in a new issue