From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +BD4CE2Q9WKKpgAAbAwnHQ (envelope-from ) for ; Fri, 12 Aug 2022 01:27:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SLm+CE2Q9WIsTQAAauVa8A (envelope-from ) for ; Fri, 12 Aug 2022 01:27:09 +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 002943461F for ; Fri, 12 Aug 2022 01:27:09 +0200 (CEST) Received: from localhost ([::1]:47728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMHa0-0003Kq-7c for larch@yhetil.org; Thu, 11 Aug 2022 19:27:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMHZu-0003Ke-1n for guix-patches@gnu.org; Thu, 11 Aug 2022 19:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMHZt-0003sB-Pw for guix-patches@gnu.org; Thu, 11 Aug 2022 19:27:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMHZt-0005OS-Lk for guix-patches@gnu.org; Thu, 11 Aug 2022 19:27: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: "Philip McGrath" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Aug 2022 23:27: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: "Liliana Marie Prikler" , 57050@debbugs.gnu.org Cc: Liliana Marie Prikler , Thiago Jung Bauermann Received: via spool by 57050-submit@debbugs.gnu.org id=B57050.166026036720666 (code B ref 57050); Thu, 11 Aug 2022 23:27:01 +0000 Received: (at 57050) by debbugs.gnu.org; 11 Aug 2022 23:26:07 +0000 Received: from localhost ([127.0.0.1]:55198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMHZ1-0005NG-58 for submit@debbugs.gnu.org; Thu, 11 Aug 2022 19:26:07 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:58237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMHYz-0005Mm-BL for 57050@debbugs.gnu.org; Thu, 11 Aug 2022 19:26:05 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 85D1632009DB; Thu, 11 Aug 2022 19:25:59 -0400 (EDT) Received: from imap52 ([10.202.2.102]) by compute4.internal (MEProxy); Thu, 11 Aug 2022 19:25:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1660260359; x= 1660346759; bh=Ld0KjsHHcBQgol29OO9Xf+AEmlFsj2LCD48ieuupjJo=; b=P JFzeu98h+B2T2o31iK++z1zdHeh1t8ny6AdmtDGVqe+sfvIAG04Zu4+iU4EF3egl 3pGj/2iDQstGDyFAIuNVFwjm0nM5l7DKjF9QgaGDjLTNkjx1gfek83QQK7zGLuEX lBioKAIXYZkoFQNlZw/ft3D+cnhrFZzstBzzdZvTkTXqS1DqDz2M3445qqzi4cQd m1oyLgUTz+3DkNf3zCtZcGETaVJT7nqiDVbb7EivB53H1IslqZAWNsf1RBwQrQFS uN+XN1kiWCxY5nqD/Xq3EiT4ALAtXd3Z5V+0HuDjezbXr93Yd/cxpdu3mzFWVZfR 8UjKDu+2ncJzTQ4cjQ7tg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1660260359; x=1660346759; bh=Ld0KjsHHcBQgol29OO9Xf+AEmlFs j2LCD48ieuupjJo=; b=Kc2i3/KfKIbIpglLxcQ712iqP/I5xD6Friio6KdLfFCl PzxdNbV31B8vqrZqPErl1k5NriWcJExyCMFFYT3ODLg/sOZlfkaWFpC08QF+9wBu Vvn0w929rQkI/eVSra96JjyRVRbNxwCpspJT4AhUb1Zr5aKvTPXvu3RuaEZW4o7e oe67XNIvWFpXAIvAlpL2UJ0BgVNm8+KJmZt5G3HNdkb+2wp5WWbQ3nHzNgaDD1PM a4BrOJc4T32E+DE8I4cEmsREwhp8u+Pm7V+VnWCF+LK4YNeH0AeFoW226yIW3je5 qmKpd4+5/8VmhdD5/m7JKxGUCfmwiMohUFf+diCRRQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeghedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfrfhh ihhlihhpucfotgfirhgrthhhfdcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthh drtghomheqnecuggftrfgrthhtvghrnhepvdejvdetfeeghfejleduieevleekfefhteeh jeevkeetffdvtddviedvgeeghfefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepphhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id CA66BC60091; Thu, 11 Aug 2022 19:25:58 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-811-gb808317eab-fm-20220801.001-gb808317e Mime-Version: 1.0 Message-Id: <1c56ce0f-f781-4e5d-953c-b0eb1742091d@www.fastmail.com> In-Reply-To: <4cd27ff2354ca8b109455be0cddda620f5a36486.camel@ist.tugraz.at> References: <4d63cf22559de641440810e451b9366aa6091774.1660215295.git.philip@philipmcgrath.com> <4cd27ff2354ca8b109455be0cddda620f5a36486.camel@ist.tugraz.at> Date: Thu, 11 Aug 2022 19:25:37 -0400 From: "Philip McGrath" Content-Type: text/plain 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=1660260429; 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: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=Ld0KjsHHcBQgol29OO9Xf+AEmlFsj2LCD48ieuupjJo=; b=t4O7ysDMdc8/YAaDmUPq0Fz1rQCkm+oH4yrKXfaQEEXwqKHyn1vH5qNnxtZwIuvI0CF7Cf 7GwKK1JJc/ax5mn1snGr40Dy5729xQSBMNwoa9Zip4Ip+71RN5ui8hrZwPf/KqltIc1klp 0FY6FNZvYyNfXPVkeFJwNpRG5ys1EL5UzoqUwwmmZFPznhusKYEt1c4V9VvIFLotftO8VA XxW+pnHz7Ly6DiyM8vBihr2Wo6QyyETXctZvmYoXDF9oNJOLAwHAGDKc90mNz4Vs7wRbWq RFcGXlBvTByBM82x4iJUqrIV+iikCpQxCv3WDZ8iLXKrgksso8ftDl7tNP84WQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660260429; a=rsa-sha256; cv=none; b=ttD/D1uF9CR+Ul6A9gu4ffSolSTQN49Tjpc29/Dbfi6Fh8QWD6IS5yfEkx/KQum/2qyNEl FdZ7y3lX3FwnACqn2ILK2pSPff8ZTa/FuwV0pb3WJPSaS//r1EBDnGsws0lyAVssd/GS4d j9WibL6IRSSeGfRh6sU1KF+clTM44fFKGbGdWGZRcda7NOEDTllIKeNcmPkpD9drTvfRZT CbzG1tNhKr97vDO7YZ7Yy3ssxW6I9NuLky2gwwjE25dmPMHGlMVsCjarLZDYqCiLaXZd/K bBpB1GohyGE9xnopk1C1rfZOpNwOtK3+1aWlpp7vPDBl6jcJrnZtshkj7l9GPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="P JFzeu9"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="Kc2i3/Kf"; dmarc=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: 3.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="P JFzeu9"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="Kc2i3/Kf"; dmarc=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: 002943461F X-Spam-Score: 3.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: lfetlRz8lfjG On Thu, Aug 11, 2022, at 8:02 AM, Liliana Marie Prikler wrote: > 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? > I'm not sure I understand what you mean. We need the -for-racket packages to not inherit the supported systems from upstream Chez. -Philip