This is an archive of the discontinued LLVM Phabricator instance.

Make lld cmake not compute commit revision twice
ClosedPublic

Authored by thakis on Jan 15 2020, 12:57 PM.

Details

Summary

r354605 moved LLD to the unified revision handling introduced in
rL353268 / r352729 and removed uses of LLD_REPOSITORY_STRING and
LLD_REVISION_STRING.

After this change, we no longer compute the (now-unused) values
of these two variables.

Since this removes the only use of llvm/utils/GetRepositoryPath,
remove that too (it's redundant with the system added in r354605).

While here, also remove LLD_VERSION_MAJOR and LLD_VERSION_MINOR.
Their uses were removed in r285163.

Also remove LLD_VERSION from Version.inc which as far as I can
tell has been unused since the file was added in r219277.

No behavior change.

Diff Detail

Event Timeline

thakis created this revision.Jan 15 2020, 12:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 15 2020, 12:57 PM
Herald added a subscriber: mgorny. · View Herald Transcript
hans accepted this revision.Jan 16 2020, 6:49 AM
This revision is now accepted and ready to land.Jan 16 2020, 6:49 AM
This revision was automatically updated to reflect the committed changes.
lld/CMakeLists.txt