From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 08:26:19 2022 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 To: 55283@debbugs.gnu.org Subject: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manifest=2Esh?= =?utf-8?Q?=E2=80=99?= fails on aarch64-linux 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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