Page MenuHomePhabricator

[CMake] Handle absolute paths for symlinks
AbandonedPublic

Authored by sebastian-ne on Jul 21 2022, 5:26 AM.

Details

Reviewers
Ericson2314
Summary

The binary installation path can already be absolute. In that case,
we must not prepend CMAKE_INSTALL_PREFIX. extend_path is used in other
places to handle that, this patch adds it when creating symlinks like
clang++ or llvm-readelf.

Diff Detail

Event Timeline

sebastian-ne created this revision.Jul 21 2022, 5:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2022, 5:26 AM
Herald added a subscriber: mgorny. · View Herald Transcript
sebastian-ne requested review of this revision.Jul 21 2022, 5:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2022, 5:26 AM
sebastian-ne abandoned this revision.Jul 25 2022, 9:10 AM

This is a duplicate of D101070, so I’ll close it.