diff options
author | Tristan Ross <tristan.ross@midstall.com> | 2024-07-25 08:18:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 08:18:14 -0700 |
commit | abc2eae68290c453e1899a94eccc4ed5ea3b69c1 (patch) | |
tree | 66b52f2daa57b42ac8d0ac8230962c12318d446a /bolt/lib/Utils/CommandLineOpts.cpp | |
parent | 51d4980a133db12888207698e39c469cb7055cac (diff) | |
download | llvm-abc2eae68290c453e1899a94eccc4ed5ea3b69c1.zip llvm-abc2eae68290c453e1899a94eccc4ed5ea3b69c1.tar.gz llvm-abc2eae68290c453e1899a94eccc4ed5ea3b69c1.tar.bz2 |
[BOLT] Enable standalone build (#97130)
Continue from #87196 as author did not have much time, I have taken over
working on this PR. We would like to have this so it'll be easier to
package for Nix.
Can be tested by copying cmake, bolt, third-party, and llvm directories
out into their own directory with this PR applied and then build bolt.
---------
Co-authored-by: pca006132 <john.lck40@gmail.com>
Diffstat (limited to 'bolt/lib/Utils/CommandLineOpts.cpp')
-rw-r--r-- | bolt/lib/Utils/CommandLineOpts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bolt/lib/Utils/CommandLineOpts.cpp b/bolt/lib/Utils/CommandLineOpts.cpp index 47375ab..435a8fa 100644 --- a/bolt/lib/Utils/CommandLineOpts.cpp +++ b/bolt/lib/Utils/CommandLineOpts.cpp @@ -11,15 +11,15 @@ //===----------------------------------------------------------------------===// #include "bolt/Utils/CommandLineOpts.h" -#include "llvm/Support/VCSRevision.h" +#include "VCSVersion.inc" using namespace llvm; namespace llvm { namespace bolt { const char *BoltRevision = -#ifdef LLVM_REVISION - LLVM_REVISION; +#ifdef BOLT_REVISION + BOLT_REVISION; #else "<unknown>"; #endif |