From patchwork Tue Jul 6 16:56:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Gankevich X-Patchwork-Id: 31197 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 DB35D27BC81; Tue, 6 Jul 2021 18:04:30 +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,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 A68F227BC78 for ; Tue, 6 Jul 2021 18:04:30 +0100 (BST) Received: from localhost ([::1]:38412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0oUn-00007i-OG for patchwork@mira.cbaines.net; Tue, 06 Jul 2021 13:04:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0oNa-000314-2L for guix-patches@gnu.org; Tue, 06 Jul 2021 12:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0oNZ-0008Jn-R3 for guix-patches@gnu.org; Tue, 06 Jul 2021 12:57:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0oNZ-0004H5-Pm for guix-patches@gnu.org; Tue, 06 Jul 2021 12:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49443] [PATCH] Add blitz. Resent-From: Ivan Gankevich Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Jul 2021 16:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49443@debbugs.gnu.org Cc: Ivan Gankevich X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162559061016412 (code B ref -1); Tue, 06 Jul 2021 16:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jul 2021 16:56:50 +0000 Received: from localhost ([127.0.0.1]:49915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0oNO-0004Ge-6V for submit@debbugs.gnu.org; Tue, 06 Jul 2021 12:56:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:60334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0oNM-0004GW-DH for submit@debbugs.gnu.org; Tue, 06 Jul 2021 12:56:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0oNM-0002LR-09 for guix-patches@gnu.org; Tue, 06 Jul 2021 12:56:48 -0400 Received: from mail.spbu.ru ([195.70.197.23]:56951 helo=cgp2.pu.ru) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1m0oNI-0008Hu-O4 for guix-patches@gnu.org; Tue, 06 Jul 2021 12:56:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=spbu.ru; s=20180812; bh=x2zCVrQDRxBg1xMe7pHbS4Bi/zA/Em6RH16LDQd2NPs=; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From; b=GddM+iqAKaw9LQVrdnAa++f8xA9OowvCLtZuPoFyF1oPI5nlJp2ZvAZo5RxdhCGDM0HUiJynaF MmDqg2HqMcdBrSOkw/jAPhfgmgDkbM1Y7FS6prMok4AqXvc0ZRBJpZKreSnXB2jk5WQ3eFEIS854Y +0A68/4e6IUI4f5vdnjm7mc50pn8lLs2fk0EYB88KrdkNToKNrNKZ6HlS0BBB6B+t82Yp/++yNT61 pbGiPVFcoK72SQh6facDsdirtj/it+z3JUNgZXZrV4DX2W7OcBPtzoRYY8Y8oGqL3RAG07vwy57IK BPURRadacdKG9nWSZyNMqvfIgzhJJo8YJjWzQ== Received: from [172.27.221.159] (account st018947@spbu.ru HELO surge.ws.pu.ru) by spbu.ru (CommuniGate Pro SMTP 6.2.15) with ESMTPSA id 169792490; Tue, 06 Jul 2021 19:56:36 +0300 From: Ivan Gankevich Date: Tue, 6 Jul 2021 19:56:08 +0300 Message-Id: <20210706165607.31598-1-i.gankevich@spbu.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Received-SPF: pass client-ip=195.70.197.23; envelope-from=i.gankevich@spbu.ru; helo=cgp2.pu.ru X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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 --- gnu/packages/maths.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 93b8ee2ad4..12d758c4c4 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6408,3 +6408,40 @@ 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 gnu-build-system) + (arguments + `(#:configure-flags '("--enable-shared" "--disable-fortran") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-configure + (lambda _ + ;; remove non-working configure script + (if (file-exists? "configure") (delete-file "configure")) + ;; remove broken symlinks + (for-each + (lambda (file) + (if (eq? (stat:type (lstat file)) 'symlink) + (delete-file file))) + (find-files "m4" "\\.m4$")) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("python2" ,python-2))) + (synopsis "C++ template class library for multidimensional arrays") + (description + "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+))))