From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d22iH-0001rY-FK for guix-patches@gnu.org; Sat, 22 Apr 2017 17:37:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d22iE-0004bC-Br for guix-patches@gnu.org; Sat, 22 Apr 2017 17:37:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36599) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d22iE-0004b2-8l for guix-patches@gnu.org; Sat, 22 Apr 2017 17:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d22iD-0003eo-Vk for guix-patches@gnu.org; Sat, 22 Apr 2017 17:37:01 -0400 Subject: bug#26614: [PATCH] gnu: Add volk. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d22hA-0001ny-W5 for guix-patches@gnu.org; Sat, 22 Apr 2017 17:35:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d22h7-0004O7-OR for guix-patches@gnu.org; Sat, 22 Apr 2017 17:35:57 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:60620) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d22h7-0004Nh-DG for guix-patches@gnu.org; Sat, 22 Apr 2017 17:35:53 -0400 From: Danny Milosavljevic Date: Sat, 22 Apr 2017 23:35:47 +0200 Message-Id: <20170422213547.6460-1-dannym@scratchpost.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26614@debbugs.gnu.org * 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+)))