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 0If0NUlqemJsjQAAbAwnHQ (envelope-from ) for ; Tue, 10 May 2022 15:36:09 +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 wJzqNUlqemLxTAEA9RJhRA (envelope-from ) for ; Tue, 10 May 2022 15:36: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 50A383630 for ; Tue, 10 May 2022 15:36:09 +0200 (CEST) Received: from localhost ([::1]:43024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noPmi-0001NB-Oi for larch@yhetil.org; Tue, 10 May 2022 09:20:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no2Te-0005iC-HP for bug-guix@gnu.org; Mon, 09 May 2022 08:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1no2Te-00064R-6Y for bug-guix@gnu.org; Mon, 09 May 2022 08:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1no2Te-0004F4-35 for bug-guix@gnu.org; Mon, 09 May 2022 08:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55283: =?UTF-8?Q?=E2=80=98tests/guix-shell-export-manifest.sh=E2=80=99?= fails on aarch64-linux References: <87ee1761ci.fsf@inria.fr> In-Reply-To: <87ee1761ci.fsf@inria.fr> Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 May 2022 12:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55283 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55283@debbugs.gnu.org Received: via spool by 55283-submit@debbugs.gnu.org id=B55283.165209917916220 (code B ref 55283); Mon, 09 May 2022 12:27:02 +0000 Received: (at 55283) by debbugs.gnu.org; 9 May 2022 12:26:19 +0000 Received: from localhost ([127.0.0.1]:56503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no2Sx-0004DY-Aj for submit@debbugs.gnu.org; Mon, 09 May 2022 08:26:19 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:36002 helo=eauchat.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no2Su-0004DJ-Ut for 55283@debbugs.gnu.org; Mon, 09 May 2022 08:26:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1652099170; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=FsxgqR+gL4O9UoBqah3oMQLmktJqfiWy+yQ10xjak3g=; b=EjKeK6HDENutZ0lisl6dD9yZkjcEFigW+WyFbYy1ye5pWlImE6HxFnBy6o1WhWHQzQzt1z w6Ysy9n+KmzP9snzktK7cff+f6XaMy+2CAeXQXv64QBTwymDnIvT9j+UeK+gWR5xkJ4DE+ qCX+ZrUUHrCl5b+KYYXmB9MnYtJLDYc= From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Date: Mon, 09 May 2022 21:04:23 +0900 Message-ID: <87zgjqc2p2.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 10 May 2022 09:19:39 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1652189769; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=FsxgqR+gL4O9UoBqah3oMQLmktJqfiWy+yQ10xjak3g=; b=B9e/ZV9nppDDqV/o+Q86X3OyVC4ybRIAKi7WR0XF0UZiLm9RxihoIJCY5mjSEzt/22Sl6q Gi19T603qNAI9/wwyQAzm8TVNx6WNXDF79qNv67MJHi52N0cHL+EAixayot1fdLNSqFT2k DB9NMqmlAdCE4f7ir3Kk1LR6M4dN81GoBmZ9NVlJC5nPvio4+8n/2WeSN9drqb+5jywRrh CG9Ba490vge4j8ixeu/bC6q2WCnGLFWk+gsfOmtCVy0PWJSmoMr30HGKrS6GgAR+INmztl LiTXCWZCQ3mcp6Pk4qtBI0oRG4rrnigoQLvRdroaVhnf2E0PA+JpoIhZmZzSFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652189769; a=rsa-sha256; cv=none; b=WIua4iaU+lvojgV0EyUY1rlRMwMy9hT3LLH7n5y5X4D3lRHqePOf2/5F6fWl4jOjWE0G3m DDCspHV6hWUP18pE4USS0vXLsntNoYtni2fXe2SshhvlDeQK/e1lME7aJe0fQW0kEnbRO6 fIKJ8UPbp5ZHMd3GWddOMX1IkMBVVRxSYWZz0DktMeL1STY7iwKlHVM6v78KQ65ycSLbmC vi5RTdo5KtqKl53sp+z8aqTf9/JRRNq9LJz5EXH9PzyzTcZ8b3LVmM53kL6imuxZ2J69Mr CBTu2ujNrmvhPp7xJZ5mAEbeV8MoXocTXp3IuqUzbwJUAcIZkwI++ehLW5Mqxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=EjKeK6HD; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=EjKeK6HD; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 50A383630 X-Spam-Score: 7.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: /BrXnxdfYN15 Hello all, > I have a WIP patch for adding CPU detection for aarch64. Perhaps it'll > help with the issues? > Just confirming this works on rock64. --- sl@matrixbox ~/guix [env]$ ./pre-inst-env guix shell --export-manifest gsl = openblas gcc-toolchain --tune ;;; ("aarch64" #f #f #f #< vhash: # insert: # ref: #>) guix shell: tuning gsl@2.7 for CPU armv8-a ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (use-modules (guix transformations)) (define transform1 (options->transformation '((tune . "armv8-a")))) (packages->manifest (list (transform1 (specification->package "gsl")) (transform1 (specification->package "openblas")) (transform1 (specification->package "gcc-toolchain")))) --- In case this is still useful, on the same rock64 /proc/cpuinfo is: sl@matrixbox ~$ cat /proc/cpuinfo processor : 0 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 1 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 2 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 3 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 Cheers! S=C3=A9bastien