From owner-freebsd-current@freebsd.org Mon Jan 29 23:21:01 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5CDFEE4978 for ; Mon, 29 Jan 2018 23:21:01 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id 46EE36C4AE; Mon, 29 Jan 2018 23:21:01 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [IPV6:2001:470:923f:2:c871:22f6:f21b:b7ba] (unknown [IPv6:2001:470:923f:2:c871:22f6:f21b:b7ba]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id E24A15DC; Tue, 30 Jan 2018 02:20:59 +0300 (MSK) Date: Tue, 30 Jan 2018 02:21:00 +0300 From: Lev Serebryakov Reply-To: lev@FreeBSD.org,lev@FreeBSD.org To: lev@FreeBSD.org,Dimitry Andric Cc: freebsd-current Message-ID: <7d2992f2-3ac9-4930-b4e9-58ad78d56448.maildroid@localhost> Subject: Re: How to avoid building of all llvm/clang-related stuff on recent CURRENT? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: MailDroid/4.81 (Android 8.0.0) User-Agent: MailDroid/4.81 (Android 8.0.0) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2018 23:21:01 -0000 It is not part of ELFTOOLCHAIN? -- // Lev Serebryakov -----Original Message----- From: Dimitry Andric To: lev@FreeBSD.org Cc: freebsd-current Sent: Tue, 30 Jan 2018 2:04 Subject: Re: How to avoid building of all llvm/clang-related stuff on recent CURRENT? On 29 Jan 2018, at 20:56, Lev Serebryakov wrote: > > I have these lines in my nanobsd config: > > WITHOUT_CROSS_COMPILER=yes > WITH_SYSTEM_COMPILER=yes > WITHOUT_CLANG=yes > WITHOUT_CLANG_EXTRAS=yes > WITHOUT_CLANG_BOOTSTRAP=yes > WITHOUT_BINUTILS=yes > WITHOUT_BINUTILS_BOOTSTRAP=yes > WITHOUT_ELFTOOLCHAIN=yes > WITHOUT_ELFTOOLCHAIN_TOOLS=yes > WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=yes > WITHOUT_LLD=yes > XCC=/usr/bin/cc > XCXX=/usr/bin/c++ > XCPP=/usr/bin/cpp > XAS=/usr/bin/as > XAR=/usr/bin/ar > XLD=/usr/bin/ld > XNM=/usr/bin/nm > XOBJDUMP=/usr/bin/objdump > XRANLIB=/usr/bin/ranlib > XSTRINGS=/usr/bin/strings > XSTRIPBIN=/usr/bin/strip > COMPILER_TYPE=clang > > And it worked some time ago. But now "buildworld" with these setting > build libllvm and other cross-tools anyway. > > Host and target are the same (amd64) and nanobsd sources are the same > as sources used to build host system. > > How to disable llvm & clang build completely? I think you also need WITHOUT_LLD_BOOTSTRAP now, if you are building for amd64 or aarch64. -Dimitry