From owner-freebsd-current@freebsd.org Sun Aug 19 00:55:45 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 EE784107B3E2 for ; Sun, 19 Aug 2018 00:55:44 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 247AC7F96D for ; Sun, 19 Aug 2018 00:55:43 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from unknown (HELO leader.local) ([118.211.125.71]) by ipmail06.adl6.internode.on.net with ESMTP; 19 Aug 2018 10:25:35 +0930 Subject: Re: Sharing compiled builds between multiple 12-CURRENT boxes. To: Dhananjay Balan , freebsd-current@freebsd.org References: <20180818223420.rjisst4vuxzxbcrl@kazhap> From: Shane Ambler Message-ID: <0b28a679-b13c-149b-a7db-12c9f5f41100@ShaneWare.Biz> Date: Sun, 19 Aug 2018 10:25:33 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180818223420.rjisst4vuxzxbcrl@kazhap> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Sun, 19 Aug 2018 00:55:45 -0000 On 19/8/18 8:04 am, Dhananjay Balan wrote: > Hi, > > I run 12-CURRENT on few machines, some more powerful that other (all > of them x86_64, march varies). > > Is there is a way to avoid building CURRENT on all machines? Rather > than building everywhere, can I just build it on the big server that I > have and copy and update my laptop? You can use freebsd-update by setting up your own update server https://www.freebsd.org/doc/en/articles/freebsd-update-server This can then be paired with poudriere for pkgs - see handbook 4.6 Also be careful setting the CPUTYPE, it has to be the lowest denominator so that no cpu features are used on a machine without them. This is more important with poudriere as many ports will configure to the current cpu features, I think base always targets the lowest cpu specs. -- FreeBSD - the place to B...Software Developing Shane Ambler