This is an archive of the discontinued LLVM Phabricator instance.

[gn build] add llvm_install_cctools_symlinks arg
ClosedPublic

Authored by thakis on Mar 23 2022, 6:39 AM.

Details

Summary

It behaves (mostly) like the LLVM_INSTALL_CCTOOLS_SYMLINKS option
in cmake.

The minor difference is that the llvm-objcopy symlinks bitcode_strip
and install_name_tool symlink to llvm-objcopy directly in the GN build,
while it's a bitcode_strip -> llvm-bitcode-strip -> objcopy chain
in the CMake build (and analogous for install_name_tool).

The implementation is very similar to the implementation of the
existing llvm_install_binutils_symlinks arg.

Diff Detail

Event Timeline

thakis created this revision.Mar 23 2022, 6:39 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ormris. · View Herald Transcript
thakis requested review of this revision.Mar 23 2022, 6:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2022, 6:39 AM
Herald added a subscriber: MaskRay. · View Herald Transcript
aeubanks accepted this revision.Mar 23 2022, 10:02 AM
aeubanks added inline comments.
llvm/utils/gn/secondary/llvm/tools/cctools_symlinks.gni
2
This revision is now accepted and ready to land.Mar 23 2022, 10:02 AM
This revision was automatically updated to reflect the committed changes.
thakis marked an inline comment as done.