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:
Brian Van Essen 2021-04-07 00:14:06 -07:00 committed by GitHub
parent 97d237dafa
commit 4d417dcf2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,15 +229,6 @@ def common_config_args(self):
args.append(
'-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