[Bug 260993] lib/clang/liblldb: stable/12 fails to build: DiagnosticIDs.h:71:10: fatal error: 'clang/ Basic/DiagnosticCommonKinds.inc' file not found
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Jan 2022 19:58:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260993
--- Comment #14 from Ed Maste <emaste@freebsd.org> ---
(In reply to Eugene Grosbein from comment #12)
If you don't need a toolchain in the target just set WITHOUT_TOOLCHAIN. It
covers these (from share/mk/src.opts.mk):
.if ${MK_TOOLCHAIN} == "no"
MK_CLANG:= no
MK_INCLUDES:= no
MK_LLD:= no
MK_LLDB:= no
MK_LLVM_BINUTILS:= no
.endif
The Cirrus-CI builds use the following command for quick builds:
su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm13
WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
If you want to just use whatever the host compiler is, and avoid building
toolchain for the target, I think you could use:
WITHOUT_CLANG_BOOTSTRAP
WITHOUT_LLD_BOOTSTRAP
WITHOUT_ELFTOOLCHAIN_BOOTSTRAP # this one won't save much
WITHOUT_TOOLCHAIN
--
You are receiving this mail because:
You are on the CC list for the bug.