From patchwork Tue Jun 6 06:18:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 50726 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 D9F7F27BBEA; Tue, 6 Jun 2023 07:19:26 +0100 (BST) 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 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 96D2A27BBE2 for ; Tue, 6 Jun 2023 07:19:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6Q27-0005XA-G6; Tue, 06 Jun 2023 02:19:09 -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 1q6Q22-0005Vi-FA for guix-patches@gnu.org; Tue, 06 Jun 2023 02:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6Q22-0002Yq-6k for guix-patches@gnu.org; Tue, 06 Jun 2023 02:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6Q22-0001d4-2G for guix-patches@gnu.org; Tue, 06 Jun 2023 02:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63889] [PATCH v3] gnu: add ruy References: In-Reply-To: Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Jun 2023 06:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63889@debbugs.gnu.org Cc: Andy Tai Received: via spool by 63889-submit@debbugs.gnu.org id=B63889.16860323346248 (code B ref 63889); Tue, 06 Jun 2023 06:19:02 +0000 Received: (at 63889) by debbugs.gnu.org; 6 Jun 2023 06:18:54 +0000 Received: from localhost ([127.0.0.1]:50733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Q1t-0001ch-MV for submit@debbugs.gnu.org; Tue, 06 Jun 2023 02:18:53 -0400 Received: from mail-pl1-f177.google.com ([209.85.214.177]:48143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Q1s-0001cT-Pc for 63889@debbugs.gnu.org; Tue, 06 Jun 2023 02:18:53 -0400 Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1b04949e5baso50296635ad.0 for <63889@debbugs.gnu.org>; Mon, 05 Jun 2023 23:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686032326; x=1688624326; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=2MQ8AhBaJVthAKJPfnA5ykGuz4/vmSkNT0IkyAPxipI=; b=C9uZ1Meu/9KigMCE0fRTB3kORowxmUxc9GFxh/JUF4p5FNKluYz+0PoCmadr9jzJcJ 5MDWDf2auF9gu3bJqCCa2llsg8pSBrAc0KYVBOpgMuCc7+JCdek+q0AzM6i8JRsxfxVH Mb1JtP4T4HYVxaC9FtrArN/+3VaoIf3x5271MEKcBXMEcNqt7eImfnFCudwR0wlqCn2+ oxxn+EYD+VcVlFpfqjfHd266RmNm7HvBGg+xUGpRgPlxLMvcFNnodmtAt2Nq/zbNzzkW eqOpHeXnJhJgp2mJwds1dzMaJBqlNACHAKuwvm2gSCixDfucRsnh9dBclth60SGcf2xb 1chA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686032326; x=1688624326; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2MQ8AhBaJVthAKJPfnA5ykGuz4/vmSkNT0IkyAPxipI=; b=bJLRrk/qqDxBwkGzdyyb/vlepMEcjyjvDYwbt9do9Xg9IOUAc25mZnMxc/fWmMFk5O HTOM9YB+kjafpnB2LKi2ko8tYux8aJm1u9jGN5N6W6iBcDW1YgzmP4bjFJAxmyOhdVxS qdsHqIlTiy9rSUTXEsBVZxEhyj1gW5X2451KcMJpg0hWG1RxvugV9xfGk70lcP1OLTHD PcKZ2UD83YNwakIV7NOFfCp6m8QUUKhTvBf5mjWxD+iPCidUSf6t59Ftj2QVdwveTB74 2nwvk4yI9TPg+0uipQKdEGwL84Gk9XMfnSt6JB9rZot0BqOFZH9QyDJ9kyRTQGAY80Ru J55Q== X-Gm-Message-State: AC+VfDwup/4g857TWAdgqEFgGEWEQilnitksZZJOki2zTAz/dwt9i9D7 mMT2jTw9LAXLmgdhjmpyCh1dyK63sys= X-Google-Smtp-Source: ACHHUZ7bmjP1PUowB1rlkmB4wFZ2Bpzg2wkp4lMOzWM9fbcPPT0HzghiykJz/dxwfVBFi8MavfoMHQ== X-Received: by 2002:a17:902:7c97:b0:1af:babd:7b84 with SMTP id y23-20020a1709027c9700b001afbabd7b84mr1072974pll.41.1686032326303; Mon, 05 Jun 2023 23:18:46 -0700 (PDT) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id ik4-20020a170902ab0400b001b03a7a40e7sm7713448plb.19.2023.06.05.23.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jun 2023 23:18:45 -0700 (PDT) From: Andy Tai Date: Mon, 5 Jun 2023 23:18:40 -0700 Message-Id: X-Mailer: git-send-email 2.40.1 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/maths.scm (ruy): New variable --- gnu/packages/maths.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) base-commit: 8937898af9433c0b7a8d95a78c95e21576ae22e8 diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 4e34124469..c6fabf1973 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -8501,3 +8501,36 @@ (define-public scilab optimization, and modeling, simulation of explicit and implicit dynamical systems and symbolic manipulations.") (license license:cecill))) ;CeCILL v2.1 + + +(define-public ruy + (let ((commit "caa244343de289f913c505100e6a463d46c174de") + (version "0") + (revision "1")) + (package + (name "ruy") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/ruy") + (commit commit) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0z9q2czk9im88zp8d9spiyx3y9l86rgqj0q0xxqq7vfg9ncypay2")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list + ;; needs to make sure code is relocatable for + ;; use in tensorflow + "-DCMAKE_CXX_FLAGS=-fPIC "))) + (home-page "https://github.com/google/ruy") + (synopsis "Matrix multiplication library") + (description + "Ruy is a matrix multiplication library. Its focus is to cover the matrix +multiplication needs of neural network inference engines. Its initial user has +been TensorFlow Lite, where it is used by default on the ARM CPU architecture.") + (license license:asl2.0)))) +