Page MenuHomePhabricator

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

Authored by mgorny on Sat, Feb 9, 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.Sat, Feb 9, 5:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptSat, Feb 9, 5:26 AM
phosek accepted this revision.Sat, Feb 9, 2:10 PM

LGTM

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