From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SBUBMyUmRV+rfAAA0tVLHw (envelope-from ) for ; Tue, 25 Aug 2020 14:54:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ILW6LiUmRV8jSgAAbx9fmQ (envelope-from ) for ; Tue, 25 Aug 2020 14:54:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5EDBA9403A9 for ; Tue, 25 Aug 2020 14:54:29 +0000 (UTC) Received: from localhost ([::1]:55286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAaLD-0007CX-N7 for larch@yhetil.org; Tue, 25 Aug 2020 10:54:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAaIs-00029E-71 for guix-patches@gnu.org; Tue, 25 Aug 2020 10:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAaIr-0000Zq-Pw for guix-patches@gnu.org; Tue, 25 Aug 2020 10:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAaIr-0002SZ-OU for guix-patches@gnu.org; Tue, 25 Aug 2020 10:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43029] [PATCH v2] offload: Modify the build-machine record to accept multiple systems. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Aug 2020 14:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43029 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 43029@debbugs.gnu.org Received: via spool by 43029-submit@debbugs.gnu.org id=B43029.15983670909420 (code B ref 43029); Tue, 25 Aug 2020 14:52:01 +0000 Received: (at 43029) by debbugs.gnu.org; 25 Aug 2020 14:51:30 +0000 Received: from localhost ([127.0.0.1]:35644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAaIM-0002Rr-Ii for submit@debbugs.gnu.org; Tue, 25 Aug 2020 10:51:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAaIK-0002Rf-TB for 43029@debbugs.gnu.org; Tue, 25 Aug 2020 10:51:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39665) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAaIF-0000Qn-GJ; Tue, 25 Aug 2020 10:51:23 -0400 Received: from [2a01:e0a:19b:d9a0:51fc:698d:e660:b966] (port=45126 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kAaIE-0003ib-Nk; Tue, 25 Aug 2020 10:51:23 -0400 From: Mathieu Othacehe References: <20200824210802.12024-1-maxim.cournoyer@gmail.com> <20200824214129.13817-1-maxim.cournoyer@gmail.com> Date: Tue, 25 Aug 2020 16:51:21 +0200 In-Reply-To: <20200824214129.13817-1-maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Mon, 24 Aug 2020 17:41:29 -0400") Message-ID: <874koqu6c6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 4GMagqM97FOe Hello Maxim, > +(test-assert (machine-matches? (new-build-machine '("i686-linux")) > + (build-requirements > + (system "i686-linux")))) > + > +;;; A build machine can act as more than one system type, thanks to QEMU > +;;; emulation. > +(test-assert (machine-matches? (new-build-machine '("armhf-linux" > + "aarch64-linux" > + "i686-linux" > + "x86_64-linux")) > + (build-requirements > + (system "armhf-linux")))) This sounds really nice and the test module is very welcome. Not much to say except that it would be nice to update "machines-for-berlin.scm" in the "maintenance" repository accordingly. Thanks, Mathieu