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 31c3ef8ea2
.
* Add PGI runtime libs to LDFLAGS when '%pgi' in spec.
This commit is contained in:
parent
5add3a2f4d
commit
e9f0473e26
@ -90,6 +90,10 @@ def configure_args(self):
|
|||||||
'-g' if '+debug' in spec else '',
|
'-g' if '+debug' in spec else '',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
config_ldflags = []
|
||||||
|
# PGI runtime libraries
|
||||||
|
if '%pgi' in spec:
|
||||||
|
config_ldflags.append('-pgf90libs')
|
||||||
if '+shared' in spec:
|
if '+shared' in spec:
|
||||||
config_args.extend([
|
config_args.extend([
|
||||||
'RANLIB=echo',
|
'RANLIB=echo',
|
||||||
@ -142,7 +146,8 @@ def configure_args(self):
|
|||||||
config_args.extend([
|
config_args.extend([
|
||||||
'--with-cflags={0}'.format(' '.join(config_cflags)),
|
'--with-cflags={0}'.format(' '.join(config_cflags)),
|
||||||
'--with-cxxflags={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
|
return config_args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user