Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2018 02:21:00 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        lev@FreeBSD.org,Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: How to avoid building of all llvm/clang-related stuff on recent CURRENT?
Message-ID:  <7d2992f2-3ac9-4930-b4e9-58ad78d56448.maildroid@localhost>

next in thread | raw e-mail | index | archive | help
 It is not part of ELFTOOLCHAIN?

-- 
// Lev Serebryakov

-----Original Message-----
From: Dimitry Andric <dim@FreeBSD.org>
To: lev@FreeBSD.org
Cc: freebsd-current <freebsd-current@freebsd.org>
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 <lev@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d2992f2-3ac9-4930-b4e9-58ad78d56448.maildroid>