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.
This commit is contained in:
parent
324de7d4e2
commit
fb3a446a37
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/clang900-import/; revision=351965
14
lib/clang/include/VCSVersion.inc
Normal file
14
lib/clang/include/VCSVersion.inc
Normal file
@ -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"
|
@ -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"
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user