unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: 63889@debbugs.gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: [bug#63889] [PATCH v3] gnu: add ruy
Date: Mon,  5 Jun 2023 23:18:40 -0700	[thread overview]
Message-ID: <cfb7a0b4356514ece5bc122aa59df4ae3de85564.1686032266.git.atai@atai.org> (raw)
In-Reply-To: <d0a1b1cd1bb624ce4feb24793dbeb5fd379f9da5.1685868317.git.atai@atai.org>

* gnu/packages/maths.scm (ruy): New variable
---
 gnu/packages/maths.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

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))))
+

base-commit: 8937898af9433c0b7a8d95a78c95e21576ae22e8
-- 
2.40.1





  parent reply	other threads:[~2023-06-06  6:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04  8:46 [bug#63889] [PATCH] gnu: add ruy Andy Tai
2023-06-04 10:15 ` [bug#63889] [PATCH v2] " Andy Tai
2023-06-06  6:18 ` Andy Tai [this message]
2023-06-06  6:45 ` [bug#63889] [PATCH v4] " Andy Tai
2023-09-08  8:46 ` bug#63889: [PATCH] " Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cfb7a0b4356514ece5bc122aa59df4ae3de85564.1686032266.git.atai@atai.org \
    --to=atai@atai.org \
    --cc=63889@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).