From patchwork Thu Jul 15 13:39:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 31431 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 709A627BC6B; Thu, 15 Jul 2021 14:40:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E53EF27BC82 for ; Thu, 15 Jul 2021 14:40:10 +0100 (BST) Received: from localhost ([::1]:33202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m41az-0006lG-Re for patchwork@mira.cbaines.net; Thu, 15 Jul 2021 09:40:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m41as-0006kl-NX for guix-patches@gnu.org; Thu, 15 Jul 2021 09:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m41as-0003di-GA for guix-patches@gnu.org; Thu, 15 Jul 2021 09:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m41as-000818-EQ for guix-patches@gnu.org; Thu, 15 Jul 2021 09:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49443] [PATCH v3 1/1] gnu: Add blitz. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Jul 2021 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ivan Gankevich Cc: Arun Isaac , 49443@debbugs.gnu.org Received: via spool by 49443-submit@debbugs.gnu.org id=B49443.162635638130779 (code B ref 49443); Thu, 15 Jul 2021 13:40:02 +0000 Received: (at 49443) by debbugs.gnu.org; 15 Jul 2021 13:39:41 +0000 Received: from localhost ([127.0.0.1]:47118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m41aW-00080M-NJ for submit@debbugs.gnu.org; Thu, 15 Jul 2021 09:39:40 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m41aT-000805-7s for 49443@debbugs.gnu.org; Thu, 15 Jul 2021 09:39:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AMwz/t0urO3IW5tEJchYnIjfT1Yhd63eB9Vxh3TtViY=; b=GEehsQKildABqdRmjhVkV6AWBx N8f8DGFs+Mpa7Tmk+Sj9GlKUqrYaVAKHpT4HRFeYLd4tOX3fRJ4WW39DTgSt/XrscB1/XEWo04TFX 6LB7vLhv6EVAHPzAuzvpxGV2ue6qIUmX28KY7zunNP/3Suds701v4btIYs9jw9BZkoqhm4owXQ8zW 43zhEBMXBawD7V/71s+2ULD+B85LTwacp4SlmK75J5FIafoIauMSdpDEp/H7qf1xmw7sXzKV83q2y ex8WYGT2laQ8ADKOdUKLt36qmnalXBISqU7jmizGInMbw3GY7dVJKcxJQe62lwDz+DlOxB4C6S18W 5vdhACjw==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m41aP-0006C5-OZ; Thu, 15 Jul 2021 19:09:33 +0530 From: Arun Isaac Date: Thu, 15 Jul 2021 19:09:31 +0530 Message-Id: <20210715133931.31555-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210714115713.24675-1-i.gankevich@spbu.ru> References: <20210714115713.24675-1-i.gankevich@spbu.ru> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Ivan Gankevich * gnu/packages/maths.scm (blitz): New variable. Signed-off-by: Arun Isaac --- gnu/packages/maths.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index b4cf0b5409..628b967eff 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -46,6 +46,7 @@ ;;; Copyright © 2021 Franck Pérignon ;;; Copyright © 2021 Philip McGrath ;;; Copyright © 2021 Paul A. Patience +;;; Copyright © 2021 Ivan Gankevich ;;; ;;; This file is part of GNU Guix. ;;; @@ -6440,3 +6441,39 @@ to source-code analysis of C software. The Frama-C analyzers assist you in various source-code-related activities, from the navigation through unfamiliar projects up to the certification of critical software.") (license license:lgpl2.1+))) + +(define-public blitz + (package + (name "blitz") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/blitzpp/blitz") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0c88gc72j3zggyk4yrrip6i0v7xkx97l140vpy3xhxs2i7xy1461")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DBUILD_DOC=ON" + "-DBUILD_TESTING=ON") + ;; The default "check" target also includes examples and benchmarks. + #:test-target "check-testsuite" + #:phases + (modify-phases %standard-phases + (add-after 'build 'build-doc + (lambda _ + (invoke "make" "-j" (number->string (parallel-job-count)) + "blitz-doc")))))) + (native-inputs + `(("python" ,python) + ("texinfo" ,texinfo))) + (synopsis "C++ template class library for multidimensional arrays") + (description "Blitz++ is a C++ template class library that provides +high-performance multidimensional array containers for scientific computing.") + (home-page "https://github.com/blitzpp/blitz") + (license (list license:artistic2.0 + license:bsd-3 + license:lgpl3+))))