gnu: Add volk.

Fixes <http://bugs.gnu.org/26614>.

* gnu/packages/engineering.scm (volk): New variable.
This commit is contained in:
Danny Milosavljevic 2017-04-22 23:35:47 +02:00
parent fadae857b7
commit 2766f9e84f
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 26 additions and 0 deletions

View File

@ -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+)))