From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oFCLKaWQG2GrKAAAgWs5BA (envelope-from ) for ; Tue, 17 Aug 2021 12:34:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8KBOJaWQG2GlawAAB5/wlQ (envelope-from ) for ; Tue, 17 Aug 2021 10:34:13 +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 EE32F1F49F for ; Tue, 17 Aug 2021 12:34:11 +0200 (CEST) Received: from localhost ([::1]:37168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFwQ7-0000EO-1p for larch@yhetil.org; Tue, 17 Aug 2021 06:34:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFwPy-0000E9-AU for guix-patches@gnu.org; Tue, 17 Aug 2021 06:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFwPy-0005gi-3Y for guix-patches@gnu.org; Tue, 17 Aug 2021 06:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFwPy-0004bC-0j for guix-patches@gnu.org; Tue, 17 Aug 2021 06:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50091] [PATCH 01/21] utils: Define 'target-riscv?' predicate. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Aug 2021 10:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 50091@debbugs.gnu.org Received: via spool by 50091-submit@debbugs.gnu.org id=B50091.162919638517593 (code B ref 50091); Tue, 17 Aug 2021 10:34:01 +0000 Received: (at 50091) by debbugs.gnu.org; 17 Aug 2021 10:33:05 +0000 Received: from localhost ([127.0.0.1]:51892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFwP3-0004Zh-7Y for submit@debbugs.gnu.org; Tue, 17 Aug 2021 06:33:05 -0400 Received: from flashner.co.il ([178.62.234.194]:46004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFwP1-0004YV-Gw for 50091@debbugs.gnu.org; Tue, 17 Aug 2021 06:33:03 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id BD053402E0; Tue, 17 Aug 2021 10:32:57 +0000 (UTC) Date: Tue, 17 Aug 2021 13:28:15 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Maxime Devos , 50091@debbugs.gnu.org References: <5c0e6f9eebff9720a75f735470c1b0db11092d1e.camel@telenet.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7mk516RFsbHVGivo" Content-Disposition: inline In-Reply-To: <5c0e6f9eebff9720a75f735470c1b0db11092d1e.camel@telenet.be> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629196452; 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; bh=8x4yTRHHmapEjG31y7aqAQUnWJnH1dEBchYAtvg1CXE=; b=lfiOj8nFWF1YleEG3CCYQGjoDe+dGGgL0rdujUEKP4jBEHjvHHCcTF4sqJoaSqqHh49jkA 1tz7jESd3p3ok5digBXtQOZAH3CgF9//Xr7p+SyFjdLv0BrVPM6ZDRPtPt/mPMfW/IDRlG QF3Iji3hmGawUHww3yMlhnHrqrGMHdfGPXi/2lqGumJhEt5OKf4SKQzrhMsTqScOmnODXj xovnqTaVfWVWP3fmD0BJLLRxYwZoSb1UrN3Jmny2SY8LL9lWPbLiWd3z5PTE0atrdN7C2T qPSekjd3KMq1VC+1fKppnOLBU+wJ17m3sgBuSy9Jil2Dr8WCPg6Hx61P4ZxpPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629196452; a=rsa-sha256; cv=none; b=a6XU0tCXLCuPppc1CqDBu8ZnfDFcnJExA7wvB6wZDHBcMWoym9SVG0Nayb6uKvUDSU7F3R t85+Fd1EtXq9IkWwqrXjOzbnpUejQTOV1LfiN4AdXGPwWZbQ4d8wZDRu1aHVeOiKRbM4pC Jsejzy8xHwG/7EIzZm97cfJ0kZufaFTryMqEPx+mKwb3F9DSb9HEolzhTLvgSBjr1ilekK KHCXz7buog3UsS9LM0x1r5Vm1Ze04yeph2Qkw6OlyUunHsDUET8/M7j9MNoq+i0asKWduf Ye8DbnRooUwgjyotbFV+YHR+YzEqw23T3Xm9K7VQUBsSUYe4bamBIK0iHlByAA== ARC-Authentication-Results: i=1; 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-Migadu-Spam-Score: -4.01 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-Migadu-Queue-Id: EE32F1F49F X-Spam-Score: -4.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: hv2zRdTFzxzf --7mk516RFsbHVGivo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 17, 2021 at 12:27:17PM +0200, Maxime Devos wrote: > Efraim Flashner schreef op di 17-08-2021 om 13:18 [+0300]: > > * guix/utils.scm (target-riscv?): New predicate. > > --- > > guix/utils.scm | 6 ++++++ > > 1 file changed, 6 insertions(+) > >=20 > > diff --git a/guix/utils.scm b/guix/utils.scm > > index 32fcff72ea..134879feb1 100644 > > --- a/guix/utils.scm > > +++ b/guix/utils.scm > > @@ -96,6 +96,7 @@ > > target-arm? > > target-ppc32? > > target-powerpc? > > + target-riscv? > > target-64bit? > > cc-for-target > > cxx-for-target > > @@ -699,6 +700,11 @@ architecture (x86_64)?" > > (%current-system)))) > > (string-prefix? "powerpc" target)) > > =20 > > +(define* (target-riscv? #:optional (target (or (%current-target-system) > > + (%current-system)))) > > + "Is the architecture of TARGET a 'riscv' architecture variant?" > > + (string-prefix? "riscv" target)) > > + > > (define* (target-64bit? #:optional (system (or (%current-target-system) > > (%current-system)))) > > (any (cut string-prefix? <> system) '("x86_64" "aarch64" "mips64" "p= owerpc64"))) >=20 > The next patch adds a =E2=80=98riscv64-linux-gnu=E2=80=99 target. riscv6= 4 seems 64-bit to me. > It would seem riscv64 needs to be added to target-64bit?. >=20 > Greetings, > Maxime. The next patch also adds riscv64-linux to target-64bit?, since that's pretty much "when it begins to exist". --=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 --7mk516RFsbHVGivo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmEbjz8ACgkQQarn3Mo9 g1HzKA/+Mc6Fhad94IQ7jNjKnYZSvqn0u2FVuUetRBxYyxSn+pngjNVE4iHz2Of7 9Sx9X6QucFr65XENNHDEx/mV3JtoxK1Y7OJIbwKhi4OKBNnOndNE6CHF6B647ylX GySDhJKoiq26prURGCiuDEEeGzlTyszCVkp0z3azi0X0mWTVpFh1thlfS+LC0ift nyxlYutQOWDGagHJWSIni21l7rtk1hgfhC7QawGAZgIx0k/lTBqhj1GKZGCOrWpM I2FG+o5zW95pgLVU/32Hjj9VtVpS32Prxaxs+SBLaSfL2xGB2nelqwl52r6deIXC 2xRF2U1g7rajEolaQWfny/6JKIdWMGyElt55VVRKVnqloqHjk5EKCrLhjSV/bxrd dfkujVY8AAyB77F9gp0ouxf8Dy6eyLZs2NTIngpYv86CtUuGTRklhTxC4xjyd8K8 /jhxfM9MaC0Bk8sPMUeH6HLg36RchyZ9cMvQ/s4u8c5J8NAlr4kf7ZDxosKqgxv7 +9/Xf6tgxwPDibnUMETHVQDnV30i6qymrIYhtbvNXD1vYhi7SV7umt/dhg6rSZgC jSdrv+bWwV6vujJRQqR5d9i6G/tl6Eep3ds/e+iCXGaVTQOK7VKcanI3T8ZiQLlm pZZoxDxXmIAeJGCdfsQmWlAmOohCaWj00qGniH3DMn3CKAO6b18= =B3sK -----END PGP SIGNATURE----- --7mk516RFsbHVGivo--