From owner-freebsd-questions@freebsd.org Tue Jan 26 16:40:24 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7E8FA6E61B for ; Tue, 26 Jan 2016 16:40:23 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-io0-f177.google.com (mail-io0-f177.google.com [209.85.223.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE5FE1D22 for ; Tue, 26 Jan 2016 16:40:23 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-io0-f177.google.com with SMTP id g73so195571165ioe.3 for ; Tue, 26 Jan 2016 08:40:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; bh=wuJ2Q2wYJVAYdAOfyWWVJLkWIxnpWMI8B+HzIPfv5T0=; b=b9fcDtFYQ6IYeDRBoCJ81VvSVGUoERZPfBSluqpy4xaLgug/RlyLYz8cxdAkuimT8O 57GTpfLGtc/irOUlexcEdlAJJTxQ1n64obAOqwgc5cDbgU+7VEFMdEW+rnjKTqVNBsI9 BfYHIIrhdV0vPWu2npCd4ksRz7FmD2uMHmh9RWDmemARHr/2pFRC+CYfRnYScVjL3hgm Jgev5HmijO3zecyuUDTH3yOFtBtVQKPAFIeYyXd7gErn0Swm1KEr43ySDprjTfqm6K7Y Q5LBRyowM8xOynsolMAyy3W5KqvqiHkuUbEUFN1/p6XyXEZ+Uk4AzIbHJMirkENK9Fa9 EXkA== X-Gm-Message-State: AG10YOQtMIffFaK5TYuUcdzHoBviw6KCry81Nv+fD0LnJu7/YZUrR4YlRNhCF/mkdjdP4A== X-Received: by 10.107.16.27 with SMTP id y27mr23735958ioi.21.1453826417140; Tue, 26 Jan 2016 08:40:17 -0800 (PST) Received: from WorkBox.Home.gmail.com (75-161-216-92.mpls.qwest.net. [75.161.216.92]) by smtp.gmail.com with ESMTPSA id m6sm1634662ige.3.2016.01.26.08.40.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jan 2016 08:40:15 -0800 (PST) References: <56A532AC.3050803@tundraware.com> <56A53AA1.1010405@tundraware.com> <9D1058C8-6599-44B7-9C20-1A0F3DA48FE0@elde.net> <56A53EC5.3040805@tundraware.com> <86zivus1yv.fsf@WorkBox.Home> User-agent: mu4e 0.9.15; emacs 24.5.1 From: Brandon J. Wandersee To: Warren Block Cc: Tim Daneliuk , Terje Elde , FreeBSD Mailing List Subject: Re: [installworld] Do We need /usr/obj In-reply-to: Date: Tue, 26 Jan 2016 10:40:14 -0600 Message-ID: <86oac8fg5t.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 16:40:24 -0000 Warren Block writes: > On Sun, 24 Jan 2016, Brandon J. Wandersee wrote: >> >> Second: placing NO_CLEAN="YES" in /etc/make.conf will greatly reduce >> build time, though using it on anything but -RELEASE would probably be a >> bad idea. > > Why? I use NO_CLEAN routinely to update between versions of 10-stable. > If there is ever a problem, it's easy enough to delete /usr/obj (faster > than 'make clean') and try again. > > Actually, this is part of a fairly involved build script that automates > the normal process. Well, my reasoning was that changes between builds of the releng/* branches are fewer, farther between, and usually trivial (from a code management perspective), while changes between builds on development branches might involve more drastic fundamental changes, moreso the longer one goes without building. Since the OP wants to always minimize build time (and prefers unattended builds), the increased risk of a failed build probably wouldn't be worth it. If a build fails one can always just demolish what's already been built and start over, sure, but that's not really a favorable argument if always minimizing build time is the ultimate goal. But I have to admit I've never tried it, and if it works, then I stand corrected. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ==================================================================