GNU bug report logs - #63889
[PATCH] gnu: add ruy

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Sun, 4 Jun 2023 08:47:01 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63889 in the body.
You can then email your comments to 63889 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63889; Package guix-patches. (Sun, 04 Jun 2023 08:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andy Tai <atai <at> atai.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 04 Jun 2023 08:47:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: guix-patches <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH] gnu: add ruy
Date: Sun,  4 Jun 2023 01:46:17 -0700
* gnu/packages/maths.scm (ruy): New variable
---
 gnu/packages/maths.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 4e34124469..264797d0c6 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -8501,3 +8501,31 @@ (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)
+      (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: b3492964c2573993b65c20f6e7d16c29cfd6f4f5
-- 
2.40.1





Information forwarded to guix-patches <at> gnu.org:
bug#63889; Package guix-patches. (Sun, 04 Jun 2023 10:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 63889 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 63889 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v2] gnu: add ruy
Date: Sun,  4 Jun 2023 03:15:30 -0700
* 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: b3492964c2573993b65c20f6e7d16c29cfd6f4f5
-- 
2.40.1





Added indication that bug 63889 blocks63897 Request was from Andy Tai <atai <at> atai.org> to control <at> debbugs.gnu.org. (Sun, 04 Jun 2023 23:43:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#63889; Package guix-patches. (Tue, 06 Jun 2023 06:19:02 GMT) Full text and rfc822 format available.

Message #13 received at 63889 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 63889 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v3] gnu: add ruy
Date: Mon,  5 Jun 2023 23:18:40 -0700
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#63889; Package guix-patches. (Tue, 06 Jun 2023 06:46:01 GMT) Full text and rfc822 format available.

Message #16 received at 63889 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 63889 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v4] gnu: add ruy
Date: Mon,  5 Jun 2023 23:45:11 -0700
* gnu/packages/maths.scm (ruy): New variable
---
 gnu/packages/maths.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 4e34124469..7904d9e8e3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -8501,3 +8501,37 @@ (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 "-DRUY_FIND_CPUINFO=ON"
+                                        ;; needs to make sure code is relocatable for
+                                        ;; use in tensorflow
+                                       "-DCMAKE_CXX_FLAGS=-fPIC ")))
+      (inputs (list cpuinfo googletest))
+      (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





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Fri, 08 Sep 2023 08:49:02 GMT) Full text and rfc822 format available.

Notification sent to Andy Tai <atai <at> atai.org>:
bug acknowledged by developer. (Fri, 08 Sep 2023 08:49:02 GMT) Full text and rfc822 format available.

Message #21 received at 63889-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 63889-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: add ruy
Date: Fri, 08 Sep 2023 10:46:40 +0200
Applied with minor changes:

- removed recursive git fetch
- changed formatting of arguments
- reflowed paragraph in description
- moved googletest to native-inputs
- corrected commit message
- fixed typos in comments

Thanks!

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Oct 2023 11:24:19 GMT) Full text and rfc822 format available.

This bug report was last modified 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.