From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6JcyOZhUGl9pPQAA0tVLHw (envelope-from ) for ; Fri, 24 Jul 2020 03:25:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +DEjNZhUGl/2VwAA1q6Kng (envelope-from ) for ; Fri, 24 Jul 2020 03:25:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 878D89400B1 for ; Fri, 24 Jul 2020 03:25:12 +0000 (UTC) Received: from localhost ([::1]:49288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyoKb-0005Ka-Lq for larch@yhetil.org; Thu, 23 Jul 2020 23:25:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyoKU-0005KR-Fd for guix-patches@gnu.org; Thu, 23 Jul 2020 23:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyoKU-0000qs-6c for guix-patches@gnu.org; Thu, 23 Jul 2020 23:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyoKU-0000qy-0x for guix-patches@gnu.org; Thu, 23 Jul 2020 23:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42502] [PATCH] gnu: Add sleef. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Jul 2020 03:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42502 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42502@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15955610803248 (code B ref -1); Fri, 24 Jul 2020 03:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jul 2020 03:24:40 +0000 Received: from localhost ([127.0.0.1]:46410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyoK7-0000qK-L5 for submit@debbugs.gnu.org; Thu, 23 Jul 2020 23:24:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:36724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyoK3-0000q9-D7 for submit@debbugs.gnu.org; Thu, 23 Jul 2020 23:24:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyoK3-0005Ho-6m for guix-patches@gnu.org; Thu, 23 Jul 2020 23:24:35 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54700) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyoK0-0000oM-Lk for guix-patches@gnu.org; Thu, 23 Jul 2020 23:24:34 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 39BF316005C for ; Fri, 24 Jul 2020 05:24:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595561070; bh=asNCl594vAueA8ynuA54y7EN9DE8gIJpef4bHjtRttA=; h=From:To:Cc:Subject:Date:From; b=crjXNIq5+gD4vqcb3EBIHLjwkrYnuOdRapcMfZgkPQEihqMLLUy7mLrocJgoCZE01 xR8xtQVDLhl+NsvAtE24Goc1Pxh7Q4aRDGetgenkwifU3KWPCJwYvYKlqKT3GJQQwn yE1/UBTmwUk/5BMjAICE1Kg+8w8p7WzLSewYiG2XTWdeX6dMIfbAlNObUlTKD0WNL6 drnK/x3O68KYqXS20jc6kvEwYBi0j1xAn9B7pCZ/bDarzw9ZxIKdJNn/zMjIKHHlq9 /6MKwBLXScU9mRz/B/uNbU9LFdEqUXxMgZOtLH7UXecu89BIDvBXpbddMJ8bfsT/Xu GCGpTfs7iqA9Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BCZLh3kb2z6tm9; Fri, 24 Jul 2020 05:24:28 +0200 (CEST) From: Vinicius Monego Date: Fri, 24 Jul 2020 00:24:15 -0300 Message-Id: <20200724032415.27595-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/23 23:24:30 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=crjXNIq5; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: 2PML7bQtHGxf * gnu/packages/maths.scm (sleef): New variable. --- gnu/packages/maths.scm | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index e5b336ac3b..b9bf0fc849 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020 Nicolò Balzarotti ;;; Copyright © 2020 B. Wilson +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -511,6 +512,50 @@ differential equations, linear algebra, Fast Fourier Transforms and random numbers.") (license license:gpl3+))) +(define-public sleef + (package + (name "sleef") + (version "3.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shibatch/sleef") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gvf7cfvszmgjrsqivwmyy1jnp3hy80dmszxx827lhjz8yqq5019")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags (list "-DCMAKE_BUILD_TYPE=Release" + (string-append "-DCMAKE_INSTALL_LIBDIR=" + (assoc-ref %outputs "out") + "/lib") + (string-append "-DCMAKE_INSTALL_PREFIX=" + (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + ;; SLEEF generates a header library during the build process and writes + ;; to it via shell redirection. Make the checkout writable so the + ;; build can succeed. + (add-after 'unpack 'make-git-checkout-writable + (lambda _ + (for-each make-file-writable (find-files ".")) + #t))))) + (inputs + `(("fftw" ,fftw) + ("gmp" ,gmp) + ("mpfr" ,mpfr) + ("openssl" ,openssl))) + (home-page "https://sleef.org/") + (synopsis "SIMD library for evaluating elementary functions and DFT") + (description + "SLEEF (SIMD Library for Evaluating Elementary Functions) is a library that +implements vectorized versions of all C99 real floating point math functions. +It can utilize SIMD instructions that are available on modern processors.") + (license (list license:boost1.0 ;sleef + license:cc-by4.0)))) ;simplex algorithm + (define-public glpk (package (name "glpk") -- 2.20.1