Date: Fri, 07 Jan 2022 19:58:18 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 260993] lib/clang/liblldb: stable/12 fails to build: DiagnosticIDs.h:71:10: fatal error: 'clang/ Basic/DiagnosticCommonKinds.inc' file not found Message-ID: <bug-260993-29464-G9dbFzPWsT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260993-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-260993-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260993 --- 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} =3D=3D "no" MK_CLANG:=3D no MK_INCLUDES:=3D no MK_LLD:=3D no MK_LLDB:=3D no MK_LLVM_BINUTILS:=3D no .endif The Cirrus-CI builds use the following command for quick builds: su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=3Dllvm13 WITHOUT_TOOLCHAIN=3Dyes 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 --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260993-29464-G9dbFzPWsT>