From patchwork Wed Mar 20 22:38:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 62091 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E915D27BBEA; Wed, 20 Mar 2024 22:41:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5F7D027BBE2 for ; Wed, 20 Mar 2024 22:41:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rn4bw-00062M-Lc; Wed, 20 Mar 2024 18:40:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rn4bn-0005xo-Gy for guix-patches@gnu.org; Wed, 20 Mar 2024 18:40:31 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rn4bn-0007cx-7L for guix-patches@gnu.org; Wed, 20 Mar 2024 18:40:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rn4cP-0006E1-Ny for guix-patches@gnu.org; Wed, 20 Mar 2024 18:41:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH v3 16/32] gnu: nnpack: Update to commit 70a77f4. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Mar 2024 22:41:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69591@debbugs.gnu.org Cc: David Elsing Received: via spool by 69591-submit@debbugs.gnu.org id=B69591.171097443223613 (code B ref 69591); Wed, 20 Mar 2024 22:41:09 +0000 Received: (at 69591) by debbugs.gnu.org; 20 Mar 2024 22:40:32 +0000 Received: from localhost ([127.0.0.1]:36819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn4bo-00068g-7A for submit@debbugs.gnu.org; Wed, 20 Mar 2024 18:40:32 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn4bO-00063b-Fh for 69591@debbugs.gnu.org; Wed, 20 Mar 2024 18:40:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9F6C1240101 for <69591@debbugs.gnu.org>; Wed, 20 Mar 2024 23:39:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710974359; bh=g7c8ViSBxJrVhbk9bURoSF0xQIhzKVUp6ap2u9kNJ+8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=TpznqsrJgMtw/JTvS7YqB2+HR1V6ZC20ixFNj8A+1kPtHsmPSeUWYA+kksLJVntGO fTW3SLgsufHHK3Ctp6FrRJ1sDKM4RFcLx5KAWW1Ospf6YQAcMFQRxqKI5+AX4wlICJ PmZ79TxF42DnNlQBGqCmP7FJ/MDGFZlWqYFFgIj0hxqwevwG07A7blHvejEnUoTyXt cmAI+bQ4gUoy4zVsgWH2yxl7m7iGLTPgLBOqR2hR3hqNzxzpKaI4gmpu4/vHZTFJGW gXLP2/7jZk7xftIkYxGBIsZ/piZGGmtMZDnVnLeiDJFzh9D6iPbo3L/Y/z3zbbo9EI JN6ESAN81DXdA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V0Nn32LRLz6tn4; Wed, 20 Mar 2024 23:39:19 +0100 (CET) From: David Elsing Date: Wed, 20 Mar 2024 22:38:41 +0000 Message-ID: <20240320223906.13214-16-david.elsing@posteo.net> In-Reply-To: <20240320223737.12883-1-david.elsing@posteo.net> References: <20240320223737.12883-1-david.elsing@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/machine-learning.scm (nnpack): Update to commit 70a77f4. [supported-systems]: New field. --- gnu/packages/machine-learning.scm | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 6da189616d..4b3ebff474 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -3973,10 +3973,11 @@ (define-public python-umap-learn also for general non-linear dimension reduction.") (license license:bsd-3))) +;; Requires AVX2 on x86_64-linux. (define-public nnpack (let ((version "0.0") - (commit "c07e3a0400713d546e0dea2d5466dd22ea389c73") - (revision "1")) + (commit "70a77f485e8b934224f3a79efd8edcd84cd377b8") + (revision "2")) (package (name "nnpack") (version (git-version version revision commit)) @@ -3987,19 +3988,11 @@ (define-public nnpack (file-name (git-file-name name version)) (sha256 (base32 - "0s0kk3a35w3yzf0q447p72350sbsh4qhg6vm3y2djbj4xpg7jc8v")) + "0c4pw926279s3rlx7mg4l4vhnfy6dh374n6w7zqhcn0bxpym1hv1")) (patches (search-patches "nnpack-system-libraries.patch")))) (build-system cmake-build-system) - ;; XXX: The test suite runs but it's very expensive, and on x86_64 CPUs - ;; that lack the right ISA extensions, tests fail with: - ;; - ;; Expected equality of these values: - ;; nnp_status_success - ;; Which is: 0 - ;; status - ;; Which is: 51 - ;; - ;; where 51 is 'nnp_status_unsupported_hardware'. + ;; XXX: The test suite runs but it's very expensive. On x86_64-linux, it + ;; requires AVX2 instructions. (arguments '(#:tests? #f)) (synopsis "Acceleration package for neural network computations") (description @@ -4020,6 +4013,8 @@ (define-public nnpack googletest)) (native-inputs (list python python-peachpy python-six)) + ;; Supported for Linux. + (supported-systems '("x86_64-linux" "armhf-linux" "aarch64-linux")) (license license:bsd-2)))) (define-public xnnpack