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.
This commit is contained in:
parent
c206b83985
commit
01a2911e36
1 changed files with 26 additions and 6 deletions
|
@ -1017,22 +1017,42 @@ the 'showing the effect of'-style of operation.")
|
||||||
(define-public volk
|
(define-public volk
|
||||||
(package
|
(package
|
||||||
(name "volk")
|
(name "volk")
|
||||||
(version "1.3")
|
(version "2.2.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://libvolk.org/releases/volk-"
|
(uri (string-append "https://www.libvolk.org/releases/volk-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1bz3ywc6y5wmz3i8p4z2wbzhns8bc0ywdkl9qnxpcvfcscarbdlh"))))
|
"1wz5nhmw6np8ka30pgy1qnima3rk2ksln4klfhrj7wah3fian0k9"))))
|
||||||
(build-system cmake-build-system)
|
(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
|
(inputs
|
||||||
`(("boost" ,boost)))
|
`(("boost" ,boost)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-2" ,python-2)
|
`(("python" ,python-wrapper)
|
||||||
("python2-cheetah" ,python2-cheetah)))
|
("python-mako" ,python-mako)))
|
||||||
(home-page "http://libvolk.org/")
|
(home-page "https://www.libvolk.org/")
|
||||||
(synopsis "Vector-Optimized Library of Kernels")
|
(synopsis "Vector-Optimized Library of Kernels")
|
||||||
(description
|
(description
|
||||||
"@code{volk} contains procedures with machine-specific optimizations
|
"@code{volk} contains procedures with machine-specific optimizations
|
||||||
|
|
Reference in a new issue