Date: Tue, 3 Nov 2020 13:55:27 +0100 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Mateusz Piotrowski <0mp@FreeBSD.org> Cc: Stefan Esser <se@freebsd.org>, "ports@freebsd.org" <ports@FreeBSD.org> Subject: Re: What are the benefits of NO_ARCH? Message-ID: <20201103125527.wob6nyfc7x5jc4tf@ivaldir.net> In-Reply-To: <62c1ec76-450e-15d9-e464-4adb3a9711e4@FreeBSD.org> References: <823586a7-dfd7-55b2-a7d3-0775a1f2533f@FreeBSD.org> <da2e24cf-a300-2cd6-8a20-afa709d66882@freebsd.org> <20201102145018.6jsnumr26feffvgn@ivaldir.net> <7df97983-31fd-2529-171d-c411a137e756@FreeBSD.org> <62c1ec76-450e-15d9-e464-4adb3a9711e4@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--tjgizfd7biylsqs3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 03, 2020 at 01:41:54PM +0100, Mateusz Piotrowski wrote: > On 11/3/20 11:24 AM, Mateusz Piotrowski wrote: > > On 11/2/20 3:50 PM, Baptiste Daroussin wrote: > > > On Mon, Nov 02, 2020 at 03:48:34PM +0100, Stefan Esser wrote: > > > > Am 02.11.20 um 15:33 schrieb Mateusz Piotrowski: > > > > > I wonder if setting NO_ARCH=3Dyes brings any significant benefits= to how > > > > > our ports collection works. I'd be grateful if you could shed som= e light > > > > > on the importance of setting NO_ARCH whenever possible. > > > > NO_ARCH means that there is no need to build packages for each of t= he > > > > supported architectures, e.g. for pure interpreted scripts or data = files > > > > that do not depend on byte-order and word-size (e.g. many font file > > > > formats). > > > >=20 > > > > The result is reduced resources spent on building the packages, net= work > > > > traffic, disk space on mirrors and on distribution media. > > > Yes that is the goal, in practice it is not yet the case, so it is pu= rely > > > informational, but that what we are aiming at yes. > >=20 > > Thanks! > >=20 > I've added a note to the porter's handbook based on the information you p= rovided: >=20 > https://svnweb.freebsd.org/doc?view=3Drevision&revision=3D54671 >=20 I think you have been a little too fast. The point of no arch is not only that. pkg checks if a package is a valid A= BI for the system it will install to. This is done via globing on the ABI vari= able. When a package is set to NO_ARCH: you end up this is line: "FreeBSD:13:*" meaning the package can actually be installed on any freebsd 13 system. so = it is already useful as of today. what Stefan describe is other things we might benefit one day thanks to have the NO_ARCH packages already in the futur. best regards, Bapt --tjgizfd7biylsqs3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl+hUzwACgkQY4mL3PG3 Plpo+g//WwXrbjt4DBAAKiy/VZ8C9eUuXPwnMcW5nhp+V086u3bVQcNFbzQc6Wcn SEM01AyUBPN+twBicboygwDr8iD/MU2Z172HhCy7LfGMqOiMGqEIjrIBR7sA3RKg ynIJRMq+sRlk7w02V1b7NCN0sbcP1YDp/JhOcquRqxxk94+rE52ulAIYR+LqFyd7 MmGwsYGfiwtqwDUdmkw95sMni8pq595OAzd0lYhvCr1Usert9Y4m6CsoADptW7tC +Io2aEdAyA0hyeXFCVRWqWPS6GukLcNcyh56Z3ZJW481hFVKc0zfteZyf3TngnNN Pl72BUj40chLmaR5+citj/CEHcqj/U4ndBFSWUQ+f6Y6QbZPT0zenfkx/OcxDnhs 9AgTwwNiPRij74BXtoC4S+tlsEw4oiwAS8W03UfLObZOWJ6QiQP9f92Nh+XWi3eq bS1kBL0VPiw+T5ZOlQexb5OwPNOJXvVF1EgpD/kbMMh/ZWXa1n1946i07gQYP5Mi 40/Nsk7CRgfmX3yavnTaBPbqCfOD1LTNyzWGyoJWdLLzrPKHT7x7Yd9/EXppp+hF Jes1k4d9wJEBT7BYUVZURmaGV+WoCuEqaTn8eD0rq86zOtCZnOSplx0A61L5sUQ+ 2xuJO8FZuhMtdOUOx5vfAlte9ei+sydNcrrypFsXlAwTJDR7ddE= =VHc5 -----END PGP SIGNATURE----- --tjgizfd7biylsqs3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201103125527.wob6nyfc7x5jc4tf>