From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 8 13:29:57 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DF03CAB2 for ; Mon, 8 Apr 2013 13:29:57 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id A78CFE09 for ; Mon, 8 Apr 2013 13:29:57 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:900d:c887:884e:713b]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 383444AC57 for ; Mon, 8 Apr 2013 17:29:56 +0400 (MSK) Date: Mon, 8 Apr 2013 17:29:53 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1654361502.20130408172953@serebryakov.spb.ru> To: freebsd-hackers@freebsd.org Subject: building world and kernel without ebuilding ("bootstrap"?) clang? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2013 13:29:57 -0000 Hello, Freebsd-hackers. I need to rebuild world and kernel often for experiments with NanoBSD, and I want to use clang. But clang bootstrap is drastically slow. And second clang build is not any faster. Whole "buildworld" with lots of parts, like gcc toolchain, games, examples, etc., switched off, takes about 90 (!) minutes in my case. And I don't need "in world" clang too, as it will not be installed on target device. My build host is very closely related to sources which I build -- both are amd64 CURRENT, build host is not as fresh as sources for NanoBSD, but clang is always the same (I rebuild host on every clang change). Is it possible to build NanoBSD faster? Use system compiler, and don't build bootstrap compiler at all? -- // Black Lion AKA Lev Serebryakov