freebsd-dev/usr.bin
Dimitry Andric ab80f0b21f Ensure .inc files are regenerated when llvm/clang tblgen binaries change
When doing a fully incremental build (with WITHOUT_CLEAN enabled), from
a commit before llvm 15 was merged (3264f6b88f), to a commit after
that, a number of .inc files were not regenerated. This could lead to
unexpected compilation errors when these .inc files were included from
llvm-project sources, similar to:

  In file included from /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:8268:
  /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Basic/arm_mve_builtin_cg.inc:279:18: error: no matching constructor for initialization of 'clang::CodeGen::Address'
    Address Val2 = Address(Val1, CharUnits::fromQuantity(2));
                   ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Work around this by making the .inc files dependent on the tblgen binary
used for generating them. E.g., we can relatively safely assume that if
the binary gets updated, the .inc files must also be updated. (Although
this is not 100% optimal, the gain by complicating things even more is
probaby not worth the effort.)

MFC after:	3 days
Reviewed by:	emaste
Differential Revision: https://reviews.freebsd.org/D38770
2023-02-26 15:56:07 +01:00
..
addr2line pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
alias
apply
ar
asa
at
atm
awk
backlight
banner
basename
bc
beep
biff
bintrans
bluetooth
bmake Merge bmake-20230208 2023-02-09 17:23:23 -08:00
brandelf
bsdcat
bsddialog
bsdiff bspatch.1: fix missing argument 2022-12-22 11:13:32 -06:00
bzip2
bzip2recover
c89
c99
caesar
calendar
cap_mkdb
chat
chkey
chpass
cksum
clang Ensure .inc files are regenerated when llvm/clang tblgen binaries change 2023-02-26 15:56:07 +01:00
cmp cmp: Increase buffer size for non-mmap case. 2023-01-31 01:29:05 +01:00
col
colrm
column
comm
compile_et
compress
cpio
cpuset Revert "cpuset: add --count" 2023-02-16 18:18:49 +00:00
csplit
ctags
ctlstat Change "ctlstat -P"'s schema 2023-02-13 09:18:38 -07:00
cut Update HISTORY and AUTHORS sections for cut(1) and paste(1) 2022-11-07 11:23:33 +01:00
cxxfilt pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
dc
diff diff: restyle loop a bit 2022-12-13 19:31:21 -06:00
diff3
dirname
dpv
drill
dtc
du
ee
elfctl
elfdump
enigma
env
etdump
expand
factor
false
fetch
file
file2c
find find: Logic nit in man page. 2023-01-24 09:53:35 +01:00
finger
fmt
fold
fortune
from
fstat fuser: fix loop over kinfo_proc array 2023-01-09 08:40:20 -08:00
fsync
ftp
gcore
gencat
getaddrinfo
getconf
getent
getopt
gh-bc gh-bc: don't disable LTO on powerpc64 2023-02-25 00:49:27 +01:00
gprof
grdc
grep grep: properly switch EOL indicator with -z 2023-01-03 23:37:54 -06:00
gzip gzip: Add support for decompressing zstd files. 2022-11-04 13:42:09 +01:00
head
hesinfo
hexdump
host
iconv
id
ident
indent
ipcrm
ipcs
iscsictl Add missing check for xo_parse_args return code. 2023-01-30 15:43:01 -05:00
join
jot
kdump
keylogin
keylogout
killall killall(1): allow sending signals to processes with control terminal on pts(4) 2022-12-01 04:42:35 +02:00
ktrace
ktrdump
kyua Explicitly set CXXSTD to c++11 for old C++ code using std::auto_ptr<>. 2022-12-04 16:25:21 -08:00
lam
last
lastcomm
ldd Restricting xargs to '-n1' is much slower and isn't needed for file(1) 2022-12-28 15:54:29 -08:00
ldd32
leave
less zless(1): handle uncompressed files 2023-02-20 11:15:09 +01:00
lessecho
lesskey
lex
limits
locale
localedef
locate
lock
lockf
logger
login
logins
logname
look
lorder
lsvfs
lzmainfo
m4
mail
man man(1): Support zstd compressed manpages using zstdcat 2023-01-30 13:12:36 -05:00
mandoc
mesg
ministat
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg
mkstr
mktemp mktemp: skip later TMPDIR check if -p is specified 2022-11-09 00:04:04 -06:00
mkuzip
morse
msgs
mt
nc
ncal cal: don't print terminal control characters unless stdout is a TTY 2023-01-13 14:30:00 -07:00
ncurses
netstat netstat.1: Clarify -i and -I priorities 2023-02-18 18:01:34 +01:00
newgrp
newkey
nfsstat
nice
nl
nm pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
nohup
number
objcopy pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
ofed
pagesize
pamtest
passwd
paste Update HISTORY and AUTHORS sections for cut(1) and paste(1) 2022-11-07 11:23:33 +01:00
patch patch: omit filename if the prompt was ignored 2023-02-13 00:15:08 -06:00
pathchk
perror
pom
posixshmcontrol posixshmcontrol(1): for regular shmfd, report used pages number 2022-12-09 14:17:12 +02:00
pr
primes
printenv
printf
proccontrol
procstat
protect
quota
random
rctl
readelf pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
renice
resizewin
rev
revoke
rpcgen rpcgen: Unindent a line not guarded by if (mtflag). 2022-12-04 16:32:03 -08:00
rpcinfo
rs rs: Test actual output in the tests. 2022-11-15 21:20:18 -08:00
rup
ruptime
rusers
rwall
rwho
script script: Handle a missing 's' stamp gracefully. 2022-10-27 20:11:36 +00:00
sdiff
sdiotool
sed
seq
shar
showmount
size pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
smbutil pkgbase: Create a FreeBSD-smbutils package 2023-02-08 08:48:28 +01:00
sockstat
soelim
sort
split split: reset errno prior to getline() 2022-10-27 12:17:59 -05:00
ssh-copy-id
stat usr.bin/stat: Fix error message formatting. 2023-01-29 14:37:25 -08:00
stdbuf
strings
su
systat tcp: retire TCPDEBUG 2022-12-14 09:54:06 -08:00
tabs
tail tail: Retry kevent if the system call was interrupted 2023-02-18 20:09:26 -07:00
talk
tar
tcopy
tee tee.1: Add a HISTORY section 2022-10-30 11:29:59 +01:00
telnet
tests
tftp tftp: cleanup 2022-11-18 17:01:30 +01:00
time
tip
top top: fix sorting by pid (-o pid) 2023-02-13 00:43:32 -06:00
touch
tr
true
truncate
truss truss: Add preadv(2) and pwritev(2). 2023-02-21 22:40:14 +13:00
tsort
tty
ul
uname
unexpand
unifdef
uniq uniq(1): use strtonum to parse options 2023-02-25 10:25:51 -07:00
units
unvis
unzip unzip: Document optional member list 2023-01-02 13:17:27 +09:00
usbhidaction
usbhidctl
users
vacation
vgrind
vi
vis
vmstat vmstat: fix overflow of interrupt name buffer 2023-01-20 04:51:13 +02:00
vtfontcvt
w w: Unlike err(3), xo_err(3) won't accept a null format string. 2023-01-25 18:03:00 +01:00
wall
wc wc: Make the read buffer static. 2023-02-16 00:40:45 +00:00
wg wg: drop -Wno-cast-qual from CFLAGS 2022-11-04 22:46:55 -05:00
what
whereis
which
who
whois
write
xargs
xinstall
xo
xohtml Import Juniper libxo-1.6.0 2023-01-30 13:37:33 -05:00
xolint
xopo
xstr
xz Disable sandboxing when building with WITHOUT_CAPSICUM. 2023-01-28 10:53:47 -08:00
xzdec
yacc byacc: Update to 20230201. 2023-02-20 23:35:32 +01:00
yes
ypcat
ypmatch
ypwhich
zstd MFV: zstd 1.5.2 2023-01-27 17:22:31 +00:00
Makefile timeout: Move from /usr/bin to /bin 2023-02-02 18:34:35 +01:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc