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
This commit is contained in:
Alex Richardson 2021-09-06 09:31:58 +01:00
parent e7e22476d1
commit 8e1c989abb
2 changed files with 6 additions and 5 deletions

View File

@ -40,6 +40,11 @@
# xargs -n1 | sort | uniq -d;
# done
# 20210906: stop installing {llvm,clang,lldb}-tblgen
OLD_FILES+=usr/bin/llvm-tblgen
OLD_FILES+=usr/bin/clang-tblgen
OLD_FILES+=usr/bin/lldb-tblgen
# 20210810: remove Pentium-related man pages and references
OLD_FILES+=usr/share/man/man3/pmc.p4.3.gz
OLD_FILES+=usr/share/man/man3/pmc.p5.3.gz

View File

@ -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)