This is an archive of the discontinued LLVM Phabricator instance.

[llvm] [cmake] Use current directory in GenerateVersionFromVCS
ClosedPublic

Authored by mgorny on Feb 9 2019, 5:26 AM.

Details

Summary

Find dependent scripts of GenerateVersionFromVCS in current directory
rather than ../../cmake/modules. I do not see any reason why the former
would not work and The latter is incorrect when GenerateVersionFromVCS
is used from install directory (i.e. in stand-alone builds).

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny created this revision.Feb 9 2019, 5:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 9 2019, 5:26 AM
phosek accepted this revision.Feb 9 2019, 2:10 PM

LGTM

This revision is now accepted and ready to land.Feb 9 2019, 2:10 PM
This revision was automatically updated to reflect the committed changes.