From owner-svn-src-projects@freebsd.org Fri Sep 6 20:38:26 2019 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4FF10D6827 for ; Fri, 6 Sep 2019 20:38:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Q8XL1SWTz4rrX; Fri, 6 Sep 2019 20:38:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1548E226B8; Fri, 6 Sep 2019 20:38:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x86KcPO3003928; Fri, 6 Sep 2019 20:38:25 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x86KcPqH003925; Fri, 6 Sep 2019 20:38:25 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201909062038.x86KcPqH003925@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Fri, 6 Sep 2019 20:38:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r351965 - in projects/clang900-import/lib/clang: . include include/lld/Common X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang900-import/lib/clang: . include include/lld/Common X-SVN-Commit-Revision: 351965 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2019 20:38:26 -0000 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" + +// - +#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 - -// - -#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}