This is an archive of the discontinued LLVM Phabricator instance.

[bazel] Use binary_alias instead of symlinks for ld.lld and friends
ClosedPublic

Authored by anguslees on Aug 13 2023, 7:57 PM.

Details

Summary

Symlinks are poorly supported in Bazel+remote-exec. Create the links from ld.lld,
ld64.lld, lld-link, wasm-ld to lld using LLVM's binary_alias instead.

Diff Detail

Event Timeline

anguslees created this revision.Aug 13 2023, 7:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2023, 7:57 PM
anguslees requested review of this revision.Aug 13 2023, 7:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2023, 7:57 PM

(I don't have LLVM commit access, please merge for me when appropriate)

MaskRay accepted this revision.Aug 13 2023, 9:00 PM

Looks great!

This revision is now accepted and ready to land.Aug 13 2023, 9:00 PM