all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#63889] [PATCH] gnu: add ruy
@ 2023-06-04  8:46 Andy Tai
  2023-06-04 10:15 ` [bug#63889] [PATCH v2] " Andy Tai
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andy Tai @ 2023-06-04  8:46 UTC (permalink / raw)
  To: 63889; +Cc: Andy Tai

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#63889] [PATCH v2] gnu: add ruy
  2023-06-04  8:46 [bug#63889] [PATCH] gnu: add ruy Andy Tai
@ 2023-06-04 10:15 ` Andy Tai
  2023-06-06  6:18 ` [bug#63889] [PATCH v3] " Andy Tai
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Andy Tai @ 2023-06-04 10:15 UTC (permalink / raw)
  To: 63889; +Cc: Andy Tai

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#63889] [PATCH v3] gnu: add ruy
  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
  2023-06-06  6:45 ` [bug#63889] [PATCH v4] " Andy Tai
  2023-09-08  8:46 ` bug#63889: [PATCH] " Ricardo Wurmus
  3 siblings, 0 replies; 5+ messages in thread
From: Andy Tai @ 2023-06-06  6:18 UTC (permalink / raw)
  To: 63889; +Cc: Andy Tai

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#63889] [PATCH v4] gnu: add ruy
  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 ` [bug#63889] [PATCH v3] " Andy Tai
@ 2023-06-06  6:45 ` Andy Tai
  2023-09-08  8:46 ` bug#63889: [PATCH] " Ricardo Wurmus
  3 siblings, 0 replies; 5+ messages in thread
From: Andy Tai @ 2023-06-06  6:45 UTC (permalink / raw)
  To: 63889; +Cc: Andy Tai

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#63889: [PATCH] gnu: add ruy
  2023-06-04  8:46 [bug#63889] [PATCH] gnu: add ruy Andy Tai
                   ` (2 preceding siblings ...)
  2023-06-06  6:45 ` [bug#63889] [PATCH v4] " Andy Tai
@ 2023-09-08  8:46 ` Ricardo Wurmus
  3 siblings, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2023-09-08  8:46 UTC (permalink / raw)
  To: 63889-done

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-08  8:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [bug#63889] [PATCH v3] " Andy Tai
2023-06-06  6:45 ` [bug#63889] [PATCH v4] " Andy Tai
2023-09-08  8:46 ` bug#63889: [PATCH] " Ricardo Wurmus

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.