[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: volk: Update to 2.2.1.
From: |
guix-commits |
Subject: |
branch master updated: gnu: volk: Update to 2.2.1. |
Date: |
Tue, 14 Apr 2020 03:27:12 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 01a2911 gnu: volk: Update to 2.2.1.
01a2911 is described below
commit 01a2911e3611efd078387a86bf60114316bc35b4
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Apr 14 10:24:25 2020 +0300
gnu: volk: Update to 2.2.1.
* gnu/packages/engineering.scm (volk): Update to 2.2.1.
[source]: Download using https.
[arguments]: Add phase to wrap binary in PYTHONPATH.
[native-inputs]: Remove python-2, python2-cheetah. Add python-wrapper,
python-mako.
[home-page]: Use https.
---
gnu/packages/engineering.scm | 32 ++++++++++++++++++++++++++------
1 file changed, 26 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 5405db7..ac50efb 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1017,22 +1017,42 @@ the 'showing the effect of'-style of operation.")
(define-public volk
(package
(name "volk")
- (version "1.3")
+ (version "2.2.1")
(source
(origin
(method url-fetch)
- (uri (string-append "http://libvolk.org/releases/volk-"
+ (uri (string-append "https://www.libvolk.org/releases/volk-"
version ".tar.gz"))
(sha256
(base32
- "1bz3ywc6y5wmz3i8p4z2wbzhns8bc0ywdkl9qnxpcvfcscarbdlh"))))
+ "1wz5nhmw6np8ka30pgy1qnima3rk2ksln4klfhrj7wah3fian0k9"))))
(build-system cmake-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap-pythonpath
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (python (assoc-ref inputs "python"))
+ (file (string-append out "/bin/volk_modtool"))
+ (path (string-append
+ out
+ "/lib/python"
+ ,(version-major+minor
+ (package-version python))
+ "/site-packages:"
+ (getenv "PYTHONPATH"))))
+ (wrap-program file
+ `("PYTHONPATH" ":" prefix (,path))
+ `("PATH" ":" prefix
+ (,(string-append python "/bin:")))))
+ #t)))))
(inputs
`(("boost" ,boost)))
(native-inputs
- `(("python-2" ,python-2)
- ("python2-cheetah" ,python2-cheetah)))
- (home-page "http://libvolk.org/")
+ `(("python" ,python-wrapper)
+ ("python-mako" ,python-mako)))
+ (home-page "https://www.libvolk.org/")
(synopsis "Vector-Optimized Library of Kernels")
(description
"@code{volk} contains procedures with machine-specific optimizations
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: volk: Update to 2.2.1.,
guix-commits <=