From owner-freebsd-current@freebsd.org Sat Aug 18 23:59:40 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 EC7B510797AA for ; Sat, 18 Aug 2018 23:59:39 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34A937C5EE for ; Sat, 18 Aug 2018 23:59:38 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id w7INxPZs016525; Sat, 18 Aug 2018 23:59:25 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id w7INxPT5016524; Sat, 18 Aug 2018 16:59:25 -0700 (PDT) (envelope-from david) Date: Sat, 18 Aug 2018 16:59:25 -0700 From: David Wolfskill To: Dhananjay Balan Cc: freebsd-current@freebsd.org Subject: Re: Sharing compiled builds between multiple 12-CURRENT boxes. Message-ID: <20180818235925.GR1190@albert.catwhisker.org> Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, Dhananjay Balan , freebsd-current@freebsd.org References: <20180818223420.rjisst4vuxzxbcrl@kazhap> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="36AFPy6HsFnek/nA" Content-Disposition: inline In-Reply-To: <20180818223420.rjisst4vuxzxbcrl@kazhap> User-Agent: Mutt/1.10.1 (2018-07-13) 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: Sat, 18 Aug 2018 23:59:40 -0000 --36AFPy6HsFnek/nA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 19, 2018 at 12:34:20AM +0200, Dhananjay Balan wrote: > Hi, >=20 > I run 12-CURRENT on few machines, some more powerful that other (all > of them x86_64, march varies).=20 >=20 > 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? > .... There are ways (note plural) to do this kind of thing, yes. Depending on a lot of factors, some may be more feasible than others. While the machines for which I do something similar run stable (at present, stable/11), I believe that the approach I use, and which is described at may (at least) be a useful case study. There is also a log (of sorts) of the successful updates at . Note that I explicitly avoid optimizations that would not work for all of the machines in question. That's probably obvious, but.... :-) As Cy Schubert pointed out, paths need to be set up to look identical; setting that up initially may be a little more "interesting" than one might prefer, but in my experience, once that's done, things Just Work (at least, using the approach I use). I'll skip trying to mention other approaches, as I don't actually use them. Peace, david --=20 David H. Wolfskill david@catwhisker.org Trump is gaslighting us: https://www.bbc.com/news/world-us-canada-44959300 See http://www.catwhisker.org/~david/publickey.gpg for my public key. --36AFPy6HsFnek/nA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlt4stxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ 7hc2lggAzuycMjuY1mg/+IGnMIA5j8V97vPxcpif8dUmITwfBsiwC8dZGo5Zjvcr sAVWIj08EdfRJcdhF3InbKbrYxSQoJw27dWQX4lG/2ytShC8+gaGE6LibZdzTf0Y A0RNiuG+KkCTYzDzrJIn/qvrlZtHSHiDw2shRO6uFrxUiKcTtOXIyvBkgcL2Brg0 M/32s54S/WCtC/uR8haaXzaAEc7tRVYJy7+PQ4Y3QVjhqMkx+syyIzDPC+/uB3RH pX0MfA4/F2cwQnXCuDjYkeGLuIwVOpz3otuRrQbu0ch+rt8zjzCNSknh+qWbp//y NqGcAC0WagBvXma6Z9tnSYi5VR5Y3w== =qUYb -----END PGP SIGNATURE----- --36AFPy6HsFnek/nA--