Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2019 20:38:25 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r351965 - in projects/clang900-import/lib/clang: . include include/lld/Common
Message-ID:  <201909062038.x86KcPqH003925@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909062038.x86KcPqH003925>