From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kM80JTPw9GJSkAAAbAwnHQ (envelope-from ) for ; Thu, 11 Aug 2022 14:04:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8AY+JTPw9GIFNgEA9RJhRA (envelope-from ) for ; Thu, 11 Aug 2022 14:04:03 +0200 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 7F8D02A536 for ; Thu, 11 Aug 2022 14:03:54 +0200 (CEST) Received: from localhost ([::1]:38610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oM6un-0006eD-Nr for larch@yhetil.org; Thu, 11 Aug 2022 08:03:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM6ty-0006dy-RK for guix-patches@gnu.org; Thu, 11 Aug 2022 08:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oM6ty-0006zZ-8X for guix-patches@gnu.org; Thu, 11 Aug 2022 08:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oM6tx-0003rr-UX for guix-patches@gnu.org; Thu, 11 Aug 2022 08:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57050] [PATCH v2 09/13] gnu: chez-scheme-for-racket: Suport all systems. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Aug 2022 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57050 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath , 57050@debbugs.gnu.org Cc: Liliana Marie Prikler , Thiago Jung Bauermann Received: via spool by 57050-submit@debbugs.gnu.org id=B57050.166021937914858 (code B ref 57050); Thu, 11 Aug 2022 12:03:01 +0000 Received: (at 57050) by debbugs.gnu.org; 11 Aug 2022 12:02:59 +0000 Received: from localhost ([127.0.0.1]:51986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM6tv-0003rZ-4w for submit@debbugs.gnu.org; Thu, 11 Aug 2022 08:02:59 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:3257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM6tt-0003rS-H7 for 57050@debbugs.gnu.org; Thu, 11 Aug 2022 08:02:58 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4M3QRf3zDqz3wXB; Thu, 11 Aug 2022 14:02:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1660219374; bh=ck9tS6dz17BhKb7a0+bYwHjqj5mOCAWI5TldWbkKfZY=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Q93b3ZyALxR/7aNZzl5SV1g3WT/6xaZUrLqAu8WlXhLb4SVb+kz/eP2wHwg3hDwum pVZPfOLWngC428xdiDAgDx0B8qSybHB8M53Y4sJ9EZEc/xXwRrnDKR33I2ZL1NWke2 YQeWhLQe/uuJjyA3C4Y0UhKrzH1n6TvdjZQsJwYo= Message-ID: <4cd27ff2354ca8b109455be0cddda620f5a36486.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Thu, 11 Aug 2022 14:02:53 +0200 In-Reply-To: <4d63cf22559de641440810e451b9366aa6091774.1660215295.git.philip@philipmcgrath.com> References: <4d63cf22559de641440810e451b9366aa6091774.1660215295.git.philip@philipmcgrath.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660219434; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ck9tS6dz17BhKb7a0+bYwHjqj5mOCAWI5TldWbkKfZY=; b=gA2gpICq8efLDUvKoHI3ugrAOkpMu7b/o/C5yDhhy4/Ilxb/DKIRb+4Cw7WkpEOchjUbET Dh4gxo5VGqLA70a0POIHIha4DbtuR3052auqhldZK8tOUnc+AenHmBgWe0mhTkNvskMwkU u0QuHW577uAt0qnIJsvIakNESkGPCUlOE0uyZzsfoEuH588tiC2mNqGXbMjQ94Uq7IqfZp T+ugXE7pbj6QmK+H+ur8JfCQLt5EXvnYjPeo9m7hCSOXyg78GoaDM2ykk5qgvXLtt+7tPN h8JIS/vyd/KIRPQIXxu29PFqih71A7RXw3eo1u/kpEUxRYP3yOTlzTA5b/NaWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660219434; a=rsa-sha256; cv=none; b=jb2emWMqrH5l0kuXabi1+D0IE6JZ71SFc1xdRs0CYSlEXIEyjJKwuvMsrjud4UR0azhhfV oCPNuCZMRaKh04F40BmhqdtmHF6VeQks0v/Y+ALE5fofRdvF0FXeg9RHKODzOi8nxHBXez fk1TsdMhAk7cQ4Ug7oqJNc0hhDlgA9MzZM6vop7WW9o2rFadYD12YFEfawjqRvGLm/zL2o P1+J/PAh2Bb4v6uOwIMsYAXhdqL7Eqh6NFHSpSN7kvIJey8ZAuHpyL4EEb2jZ/hTLdoRpv QOuRD6Vg6CH1l2nSKBTfcY5SIpXqZOdesmrmZIprl5DxFwZ9fgIfPhd1B2RlQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Q93b3ZyA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 8.12 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Q93b3ZyA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7F8D02A536 X-Spam-Score: 8.12 X-Migadu-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-TUID: p/6ir/O2tc5T Am Donnerstag, dem 11.08.2022 um 07:08 -0400 schrieb Philip McGrath: > On systems for which Racket's variant of Chez Scheme cannot generate > native code, it can use a 'pbarch' machine type: a variant of the > ``portable bytecode'' backend specialized to word size and > endianness. > This allows Racket CS to replace Racket BC on those systems while > maintaining comparable performance. (Racket BC lacks JIT support for > those systems anyway.) It also lets us provide a Chez Scheme package > on > all systems Guix supports. > > This patch adds 'pbarch' support to both 'chez-scheme-for-racket' and > 'racket-vm-cs', but it does not change the Racket VM implementation > used > for the 'racket' and 'racket-minimal' packages. > > * gnu/packages/chez.scm (nix-system->pbarch-machine-type): New > variable. > (chez-scheme-for-racket)[inputs]: Use 'libffi' for non-native > systems. > [arguments]<#:configure-flags>: Always supply '-m='. Add applicable > flags for non-native systems. > [supported-systems]: Use '%supported-systems'. As a follow-up, you could probably inline %supported-systems now, no? Cheers