Skip to content

Commit 8ca9b98

Browse files
authored
Revert "[llvm] Include LLVM_REPOSITORY and LLVM_REVISION in tool version (#84…"
This reverts commit 6885810.
1 parent 36146d2 commit 8ca9b98

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

Diff for: llvm/lib/Support/CMakeLists.txt

-3
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,6 @@ add_llvm_component_library(LLVMSupport
288288
${LLVM_MAIN_INCLUDE_DIR}/llvm/Support
289289
${Backtrace_INCLUDE_DIRS}
290290

291-
DEPENDS
292-
llvm_vcsrevision_h
293-
294291
LINK_LIBS
295292
${system_libs} ${imported_libs} ${delayload_flags}
296293

Diff for: llvm/lib/Support/CommandLine.cpp

+1-10
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#include "llvm/Support/Path.h"
4040
#include "llvm/Support/Process.h"
4141
#include "llvm/Support/StringSaver.h"
42-
#include "llvm/Support/VCSRevision.h"
4342
#include "llvm/Support/VirtualFileSystem.h"
4443
#include "llvm/Support/raw_ostream.h"
4544
#include <cstdlib>
@@ -2539,15 +2538,7 @@ class VersionPrinter {
25392538
#else
25402539
OS << "LLVM (http://llvm.org/):\n ";
25412540
#endif
2542-
OS << PACKAGE_NAME << " version " << PACKAGE_VERSION;
2543-
#ifdef LLVM_REPOSITORY
2544-
OS << " (" << LLVM_REPOSITORY;
2545-
#ifdef LLVM_REVISION
2546-
OS << ' ' << LLVM_REVISION;
2547-
#endif
2548-
OS << ')';
2549-
#endif
2550-
OS << "\n ";
2541+
OS << PACKAGE_NAME << " version " << PACKAGE_VERSION << "\n ";
25512542
#if LLVM_IS_DEBUG_BUILD
25522543
OS << "DEBUG build";
25532544
#else

0 commit comments

Comments
 (0)