svn commit: r351965 - in projects/clang900-import/lib/clang: . include include/lld/Common
Dimitry Andric
dim at FreeBSD.org
Fri Sep 6 20:38:26 UTC 2019
Author: dim
Date: Fri Sep 6 20:38:25 2019
New Revision: 351965
URL: https://svnweb.freebsd.org/changeset/base/351965
Log:
Add a VCSVersion.inc header with revision and repository defines,
similar to what upstream generates via CMake. Though for us it is
handier to have everything in one file.
Added:
projects/clang900-import/lib/clang/include/VCSVersion.inc (contents, props changed)
Modified:
projects/clang900-import/lib/clang/include/lld/Common/Version.inc
projects/clang900-import/lib/clang/llvm.build.mk
Added: projects/clang900-import/lib/clang/include/VCSVersion.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/clang900-import/lib/clang/include/VCSVersion.inc Fri Sep 6 20:38:25 2019 (r351965)
@@ -0,0 +1,14 @@
+// $FreeBSD$
+
+#define LLVM_REVISION "370514"
+#define LLVM_REPOSITORY "https://llvm.org/svn/llvm-project/llvm/branches/release_90"
+
+#define CLANG_REVISION "370514"
+#define CLANG_REPOSITORY "https://llvm.org/svn/llvm-project/cfe/branches/release_90"
+
+// <Upstream revision at import>-<Local identifier in __FreeBSD_version style>
+#define LLD_REVISION "370514-1300004"
+#define LLD_REPOSITORY "FreeBSD"
+
+#define LLDB_REVISION "370514"
+#define LLDB_REPOSITORY "https://llvm.org/svn/llvm-project/lldb/branches/release_90"
Modified: projects/clang900-import/lib/clang/include/lld/Common/Version.inc
==============================================================================
--- projects/clang900-import/lib/clang/include/lld/Common/Version.inc Fri Sep 6 20:16:08 2019 (r351964)
+++ projects/clang900-import/lib/clang/include/lld/Common/Version.inc Fri Sep 6 20:38:25 2019 (r351965)
@@ -4,7 +4,3 @@
#define LLD_VERSION_STRING "9.0.0"
#define LLD_VERSION_MAJOR 9
#define LLD_VERSION_MINOR 0
-
-// <Upstream revision at import>-<Local identifier in __FreeBSD_version style>
-#define LLD_REVISION "370514-1300004"
-#define LLD_REPOSITORY "FreeBSD"
Modified: projects/clang900-import/lib/clang/llvm.build.mk
==============================================================================
--- projects/clang900-import/lib/clang/llvm.build.mk Fri Sep 6 20:16:08 2019 (r351964)
+++ projects/clang900-import/lib/clang/llvm.build.mk Fri Sep 6 20:38:25 2019 (r351965)
@@ -17,6 +17,7 @@ CFLAGS+= -I${LLVM_SRCS}/include
CFLAGS+= -D__STDC_CONSTANT_MACROS
CFLAGS+= -D__STDC_FORMAT_MACROS
CFLAGS+= -D__STDC_LIMIT_MACROS
+CFLAGS+= -DHAVE_VCS_VERSION_INC
#CFLAGS+= -DNDEBUG
TARGET_ARCH?= ${MACHINE_ARCH}
More information about the svn-src-projects
mailing list