From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2icf-0005En-4Q for guix-patches@gnu.org; Mon, 24 Apr 2017 14:22:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2icc-0006Sd-0s for guix-patches@gnu.org; Mon, 24 Apr 2017 14:22:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2icb-0006SU-TE for guix-patches@gnu.org; Mon, 24 Apr 2017 14:22:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d2icb-0000mQ-No for guix-patches@gnu.org; Mon, 24 Apr 2017 14:22:01 -0400 Subject: bug#26614: [PATCH v2] gnu: Add volk. Resent-Message-ID: From: Danny Milosavljevic Date: Mon, 24 Apr 2017 20:21:49 +0200 Message-Id: <20170424182149.19302-1-dannym@scratchpost.org> In-Reply-To: <20170422213547.6460-1-dannym@scratchpost.org> References: <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 | 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+)))