lbann: remove the specification of the high performance linkers (#22818)
Allow the user to put them on the command line.
This commit is contained in:
parent
97d237dafa
commit
4d417dcf2d
@ -229,15 +229,6 @@ def common_config_args(self):
|
|||||||
args.append(
|
args.append(
|
||||||
'-DCNPY_DIR={0}'.format(spec['cnpy'].prefix),
|
'-DCNPY_DIR={0}'.format(spec['cnpy'].prefix),
|
||||||
)
|
)
|
||||||
# Use a high performance linker
|
|
||||||
if self.spec.satisfies('%clang'):
|
|
||||||
args.extend([
|
|
||||||
'-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld',
|
|
||||||
'-DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=lld'])
|
|
||||||
elif self.spec.satisfies('%gcc'):
|
|
||||||
args.extend([
|
|
||||||
'-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold',
|
|
||||||
'-DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=gold'])
|
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user