unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26614: [PATCH] gnu: Add volk.
@ 2017-04-22 21:35 Danny Milosavljevic
  2017-04-23  0:37 ` Leo Famulari
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Danny Milosavljevic @ 2017-04-22 21:35 UTC (permalink / raw)
  To: 26614

* gnu/packages/engineering.scm (volk): New variable.
---
 gnu/packages/engineering.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index dd56af99d..69937146b 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -774,3 +774,30 @@ render model libraries.")
 educational use.  As such, there is an emphasis on capabilities that improve
 the 'showing the effect of'-style of operation.")
     (license license:gpl2+)))
+
+(define-public volk
+  (package
+    (name "volk")
+    (version "1.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "http://libvolk.org/releases/volk-"
+                            version
+                            ".tar.gz"))
+        (sha256
+          (base32
+            "1bz3ywc6y5wmz3i8p4z2wbzhns8bc0ywdkl9qnxpcvfcscarbdlh"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("boost" ,boost)))
+    (native-inputs
+     `(("python-2", python-2)
+       ("python2-cheetah" ,python2-cheetah)))
+    (home-page "http://libvolk.org/")
+    (synopsis "Vector-Optimized Library of Kernels")
+    (description
+      "@code{volk} contains procedures with machine-specific optimizations
+for mathematical functions.  It also provides an machine-independent
+interface to select the best such procedures to use on a given system.")
+    (license license:gpl3+)))

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

* bug#26614: [PATCH] gnu: Add volk.
  2017-04-22 21:35 bug#26614: [PATCH] gnu: Add volk Danny Milosavljevic
@ 2017-04-23  0:37 ` Leo Famulari
  2017-04-24 14:28 ` Marius Bakke
  2017-04-24 18:21 ` bug#26614: [PATCH v2] " Danny Milosavljevic
  2 siblings, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2017-04-23  0:37 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 26614

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

On Sat, Apr 22, 2017 at 11:35:47PM +0200, Danny Milosavljevic wrote:
> * gnu/packages/engineering.scm (volk): New variable.

LGTM overall!

> +        (uri (string-append "http://libvolk.org/releases/volk-"
> +                            version
> +                            ".tar.gz"))

We can combine these last two lines, right?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#26614: [PATCH] gnu: Add volk.
  2017-04-22 21:35 bug#26614: [PATCH] gnu: Add volk Danny Milosavljevic
  2017-04-23  0:37 ` Leo Famulari
@ 2017-04-24 14:28 ` Marius Bakke
  2017-04-24 18:21 ` bug#26614: [PATCH v2] " Danny Milosavljevic
  2 siblings, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2017-04-24 14:28 UTC (permalink / raw)
  To: Danny Milosavljevic, 26614

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

Danny Milosavljevic <dannym@scratchpost.org> writes:

> * gnu/packages/engineering.scm (volk): New variable.

[...]

> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (string-append "http://libvolk.org/releases/volk-"
> +                            version
> +                            ".tar.gz"))
> +        (sha256
> +          (base32
> +            "1bz3ywc6y5wmz3i8p4z2wbzhns8bc0ywdkl9qnxpcvfcscarbdlh"))))

Indentation is off in this section.

> +    (build-system cmake-build-system)
> +    (inputs
> +     `(("boost" ,boost)))
> +    (native-inputs
> +     `(("python-2", python-2)
> +       ("python2-cheetah" ,python2-cheetah)))
> +    (home-page "http://libvolk.org/")
> +    (synopsis "Vector-Optimized Library of Kernels")
> +    (description
> +      "@code{volk} contains procedures with machine-specific optimizations
        ^^^
...and here (should align with the d).

Sorry! :D

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#26614: [PATCH v2] gnu: Add volk.
  2017-04-22 21:35 bug#26614: [PATCH] gnu: Add volk Danny Milosavljevic
  2017-04-23  0:37 ` Leo Famulari
  2017-04-24 14:28 ` Marius Bakke
@ 2017-04-24 18:21 ` Danny Milosavljevic
  2017-04-24 20:45   ` Leo Famulari
  2 siblings, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2017-04-24 18:21 UTC (permalink / raw)
  To: 26614

* gnu/packages/engineering.scm (volk): New variable.
---
 gnu/packages/engineering.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index dd56af99d..20efe11a2 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -774,3 +774,29 @@ render model libraries.")
 educational use.  As such, there is an emphasis on capabilities that improve
 the 'showing the effect of'-style of operation.")
     (license license:gpl2+)))
+
+(define-public volk
+  (package
+    (name "volk")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://libvolk.org/releases/volk-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1bz3ywc6y5wmz3i8p4z2wbzhns8bc0ywdkl9qnxpcvfcscarbdlh"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("boost" ,boost)))
+    (native-inputs
+     `(("python-2", python-2)
+       ("python2-cheetah" ,python2-cheetah)))
+    (home-page "http://libvolk.org/")
+    (synopsis "Vector-Optimized Library of Kernels")
+    (description
+     "@code{volk} contains procedures with machine-specific optimizations
+for mathematical functions.  It also provides an machine-independent
+interface to select the best such procedures to use on a given system.")
+    (license license:gpl3+)))

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

* bug#26614: [PATCH v2] gnu: Add volk.
  2017-04-24 18:21 ` bug#26614: [PATCH v2] " Danny Milosavljevic
@ 2017-04-24 20:45   ` Leo Famulari
  0 siblings, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2017-04-24 20:45 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 26614

[-- Attachment #1: Type: text/plain, Size: 139 bytes --]

On Mon, Apr 24, 2017 at 08:21:49PM +0200, Danny Milosavljevic wrote:
> * gnu/packages/engineering.scm (volk): New variable.

LGTM, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2017-04-24 20:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-22 21:35 bug#26614: [PATCH] gnu: Add volk Danny Milosavljevic
2017-04-23  0:37 ` Leo Famulari
2017-04-24 14:28 ` Marius Bakke
2017-04-24 18:21 ` bug#26614: [PATCH v2] " Danny Milosavljevic
2017-04-24 20:45   ` Leo Famulari

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