From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: guix publish wrt foreign arch Date: Wed, 18 Mar 2020 09:42:44 +0200 Message-ID: <20200318074244.GO927@E5400> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Y5wfsVCgeKAcINk2" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44071) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jETMi-0004fS-SG for guix-devel@gnu.org; Wed, 18 Mar 2020 03:43:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jETMh-0007RM-VB for guix-devel@gnu.org; Wed, 18 Mar 2020 03:43:48 -0400 Received: from flashner.co.il ([178.62.234.194]:59110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jETMh-0006tv-Oy for guix-devel@gnu.org; Wed, 18 Mar 2020 03:43:47 -0400 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Vincent Legoll Cc: guix-devel --Y5wfsVCgeKAcINk2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 17, 2020 at 03:25:24PM +0100, Vincent Legoll wrote: > Hello, >=20 > I'm wondering if guix publish (or something else) could act as local > network substitute cache for foreign arch ? >=20 > I.e. using a x86_64 host as a substitute server for, say, arm64 hosts... >=20 > Would it only serve as a local cache of source downloads ? >=20 > How would I setup that ? >=20 > Thanks I would go about it by running 'guix build --no-grafts foo --system=3Daarch64-linux'. Depending on if your x86_64 box is setup to build aarch64 binaries or not and if there are substitutes for those packages or not it'll download substitutes or sources and try to build it or fail. But in either case your x86_64 machine will serve up the substitutes it has, which in this case would include at least some aarch64 packages. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Y5wfsVCgeKAcINk2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl5x0PAACgkQQarn3Mo9 g1HXIhAAiDBf4ffvVjGPfF8CUVPI1ytkpDYG6WNjN4s4npmtP4FnmhRPYiXWe6un Zvj6tuKj6HzooVGstYVQdrXzPF0cHwMijOjj9TlvnG6+I74qq9WfAI1w3aeS7RJp jxNa8zewfUAEquAvyXU+Vix19iIvfmLJ44NQdSOSmOMcaU4bO65OtnvdYnAjQ14S xhx1aGely+psAKBg/STrKp3/Sp6aeH2WaR+Y9ujKAz7Gmgsjjbnf0v9VUZfMKXF/ CVggjBdsk7/IDzbLffv0gUHatnhcdNbusYyBRoj7sDUnH1R04SmzMUvUSYRh/35t Hr5RPUv3xmDdMrB8amlbJf0rWJjClWOm+OTJlfqwbOzO8Q+xyMcI9JxYF8BXR8H2 7PKb04YRrNtDgR88oHgbjX6QFUFg/P4dwWmshHMHIf7QVt/zzZGIW4rgY7oH4gZ+ 3p+KlIV8Sf2Ou1XuRwVhQ5Gsq/oxGHCJIz8WQUwsTTaeS61rEZ8QB0MPpsCLlIho MMg+y3LCqkeJTjz2nr9iWRYR1QzfmKxZXVOVvsw3J8NdaoNtxUIjkFyPTRufV9KU ycV8I85EG8bEX/BCS1gyGRs1ZsiU1/GfkuhMdVtx8H2kyTBnCixCf5JkzENS0l3x LESUAGYO8kNaeI7LpYPPS1wfBM2f4taH08c8HqAI3mKZJFrX1FY= =gwsJ -----END PGP SIGNATURE----- --Y5wfsVCgeKAcINk2--