ucx: use bfd instead of lld with %aocc (#26254)
This commit is contained in:
parent
3c14d130ca
commit
b4b3b256bc
@ -90,6 +90,7 @@ class Ucx(AutotoolsPackage, CudaPackage):
|
|||||||
msg='gdrcopy currently requires cuda support')
|
msg='gdrcopy currently requires cuda support')
|
||||||
depends_on('xpmem', when='+xpmem')
|
depends_on('xpmem', when='+xpmem')
|
||||||
depends_on('knem', when='+knem')
|
depends_on('knem', when='+knem')
|
||||||
|
depends_on('binutils+ld', when='%aocc', type='build')
|
||||||
|
|
||||||
configure_abs_path = 'contrib/configure-release'
|
configure_abs_path = 'contrib/configure-release'
|
||||||
|
|
||||||
@ -145,4 +146,8 @@ def configure_args(self):
|
|||||||
config_args.extend(self.with_or_without('xpmem',
|
config_args.extend(self.with_or_without('xpmem',
|
||||||
activation_value='prefix'))
|
activation_value='prefix'))
|
||||||
|
|
||||||
|
# lld doesn't support '-dynamic-list-data'
|
||||||
|
if '%aocc' in spec:
|
||||||
|
config_args.append('LDFLAGS=-fuse-ld=bfd')
|
||||||
|
|
||||||
return config_args
|
return config_args
|
||||||
|
Loading…
Reference in New Issue
Block a user