From nobody Sat Dec 25 11:55:50 2021 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 162A218F325A; Sat, 25 Dec 2021 11:55:54 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JLj7C6Y3Mz4lLg; Sat, 25 Dec 2021 11:55:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9BF6516F05; Sat, 25 Dec 2021 11:55:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BPBto9x006859; Sat, 25 Dec 2021 11:55:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BPBtoF2006858; Sat, 25 Dec 2021 11:55:50 GMT (envelope-from git) Date: Sat, 25 Dec 2021 11:55:50 GMT Message-Id: <202112251155.1BPBtoF2006858@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 5761fecb4ee3 - stable/12 - Don't build and install {llvm,clang,lldb}-tblgen for the target List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 5761fecb4ee34c7f24db5c0db1ed078dbed92b60 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640433352; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UJ3fNHPGigSLLGlm49qzcIGcN+py5oJ7L1vg0HM9wbU=; b=piw2SOVyHI/TvuvLhy3INabDpmI4KCa0Yjld4iYEI930M8IiEuPHF2m1sw+w1ozrc1rv/p moOdl67Fn4WqyypbICVMucLW350aALqGu08Uv8jhYkpE0v93UvQcCbcVll4nR9EqpetQER bf/ePx3m40a7J8IvgUcmZl5Yxrz4yaDLgJAhd8wm2L/88xeW4DMwkgC0m6G2M7WT9BXdna OauX996VhVCihfWuYY59FDbc7mV2nwuzY3yr64CKvy9PY1qRoAJBaTNXqJJIi/hYvBiIiL /QN2ixwUY79SnvmB3jh6BMqogRPexu2/bPxw4we/n3WxKV408mVXpAAiAKwCgA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640433352; a=rsa-sha256; cv=none; b=voR2qS7OYPyWOTNNmh/4SCn3kJql3KYvAx+MkClSOHU25FJ705rnHOCwEyIHttXDt0zFbf 61+QRBqTx8yioOgbqincRndYTgI7ii+yMM9oI8XwBnw0wB3BreUIBI0AShnAhJF1bp+m3a aCCg/IT4GPZZNVHwATNcP8epE2cgEkmUARwzgoqDkmLP94dr/9XoEF0ZtosnBg5M1p6uW0 Tqm7p4TCa94rklG6TM62qf4D4q/QQ9YjSn0ojPt8KbkRag0UB/VpGZF2i41T7jOdyRWAt6 KTju6wYvuVcDwS+rGgp25fvSWFnYhulQQygJ5wTLubJFHjzFOOq5pti5FLoBSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=5761fecb4ee34c7f24db5c0db1ed078dbed92b60 commit 5761fecb4ee34c7f24db5c0db1ed078dbed92b60 Author: Alex Richardson AuthorDate: 2021-09-06 08:31:58 +0000 Commit: Dimitry Andric CommitDate: 2021-12-25 11:51:22 +0000 Don't build and install {llvm,clang,lldb}-tblgen for the target The tablegen binaries are only needed to build software that uses LLVM's infrastructure for command line options, disassembler tables, etc. They are not user-facing binaries and should therefore not be installed by default. Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D31058 (cherry picked from commit 8e1c989abbd1db4dac5b2149886012d43e27b9a9) --- ObsoleteFiles.inc | 5 +++++ usr.bin/clang/Makefile | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 46a1bf3180e9..a6c2b78e3663 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -38,6 +38,11 @@ # xargs -n1 | sort | uniq -d; # done +# 20211222: stop installing {llvm,clang,lldb}-tblgen +OLD_FILES+=usr/bin/llvm-tblgen +OLD_FILES+=usr/bin/clang-tblgen +OLD_FILES+=usr/bin/lldb-tblgen + # 20211222: new clang import which bumps version from 12.0.0 to 12.0.1. OLD_FILES+=usr/lib/clang/12.0.0/include/cuda_wrappers/algorithm OLD_FILES+=usr/lib/clang/12.0.0/include/cuda_wrappers/complex diff --git a/usr.bin/clang/Makefile b/usr.bin/clang/Makefile index ca68c37b51c1..1c53e94965f7 100644 --- a/usr.bin/clang/Makefile +++ b/usr.bin/clang/Makefile @@ -2,12 +2,8 @@ .include +.if ${MK_CLANG} != "no" SUBDIR+= clang -SUBDIR+= clang-tblgen -SUBDIR+= llvm-tblgen - -.if ${MK_LLDB} != "no" -SUBDIR+= lldb-tblgen .endif .if !defined(TOOLS_PREFIX)