git: 5761fecb4ee3 - stable/12 - Don't build and install {llvm,clang,lldb}-tblgen for the target
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Dec 2021 11:55:50 UTC
The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=5761fecb4ee34c7f24db5c0db1ed078dbed92b60 commit 5761fecb4ee34c7f24db5c0db1ed078dbed92b60 Author: Alex Richardson <arichardson@FreeBSD.org> AuthorDate: 2021-09-06 08:31:58 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> 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 <src.opts.mk> +.if ${MK_CLANG} != "no" SUBDIR+= clang -SUBDIR+= clang-tblgen -SUBDIR+= llvm-tblgen - -.if ${MK_LLDB} != "no" -SUBDIR+= lldb-tblgen .endif .if !defined(TOOLS_PREFIX)