From owner-freebsd-current@freebsd.org Mon Jan 29 19:56:50 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 3F173EDB2F0 for ; Mon, 29 Jan 2018 19:56:50 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id D717983686 for ; Mon, 29 Jan 2018 19:56:49 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.23.186] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 134A9587 for ; Mon, 29 Jan 2018 22:56:49 +0300 (MSK) To: freebsd-current Reply-To: lev@FreeBSD.org From: Lev Serebryakov Subject: How to avoid building of all llvm/clang-related stuff on recent CURRENT? Organization: FreeBSD Message-ID: <1eddd30d-2743-890f-3e9b-eff06a1d9a41@FreeBSD.org> Date: Mon, 29 Jan 2018 22:56:48 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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 19:56:50 -0000 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? -- // Lev Serebryakov