Author: bdrewery Date: Wed Jun 27 16:57:56 2018 New Revision: 335707 URL: https://svnweb.freebsd.org/changeset/base/335707
Log: Clang: Only build needed target for bootstrap compiler. This will disable the new LLVM_TARGET_ALL option which will only enable the required target. This only impacts the bootstrap compiler in WORLDTMP, not the target compiler that will be installed. MFC after: 2 weeks Reviewed by: sbruno, dim (earlier version) Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D16021 Modified: head/Makefile.inc1 head/tools/build/options/WITH_LLVM_TARGET_ALL Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Wed Jun 27 16:57:51 2018 (r335706) +++ head/Makefile.inc1 Wed Jun 27 16:57:56 2018 (r335707) @@ -686,6 +686,9 @@ TMAKE= \ XMAKE= ${BMAKE} \ TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ MK_GDB=no MK_TESTS=no +.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL) +XMAKE+= MK_LLVM_TARGET_ALL=no +.endif # kernel-tools stage KTMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ Modified: head/tools/build/options/WITH_LLVM_TARGET_ALL ============================================================================== --- head/tools/build/options/WITH_LLVM_TARGET_ALL Wed Jun 27 16:57:51 2018 (r335706) +++ head/tools/build/options/WITH_LLVM_TARGET_ALL Wed Jun 27 16:57:56 2018 (r335707) @@ -1,2 +1,4 @@ .\" $FreeBSD$ Set to build support for all LLVM targets. +This option is always applied to the bootstrap compiler for buildworld when +LLVM is used. _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"