From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MIv1HFTR7mDpEQAAgWs5BA (envelope-from ) for ; Wed, 14 Jul 2021 13:58:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OKytGFTR7mCYRwAAB5/wlQ (envelope-from ) for ; Wed, 14 Jul 2021 11:58: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 08873147B7 for ; Wed, 14 Jul 2021 13:58:12 +0200 (CEST) Received: from localhost ([::1]:49414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3dWl-0000fQ-23 for larch@yhetil.org; Wed, 14 Jul 2021 07:58:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3dWc-0000fA-3Q for guix-patches@gnu.org; Wed, 14 Jul 2021 07:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3dWb-0006cb-SJ for guix-patches@gnu.org; Wed, 14 Jul 2021 07:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3dWb-0004fV-Lo for guix-patches@gnu.org; Wed, 14 Jul 2021 07:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49443] [PATCH] gnu: Add blitz. References: <20210706165607.31598-1-i.gankevich@spbu.ru> In-Reply-To: <20210706165607.31598-1-i.gankevich@spbu.ru> Resent-From: Ivan Gankevich Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Jul 2021 11:58:01 +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: 49443@debbugs.gnu.org Cc: Ivan Gankevich Received: via spool by 49443-submit@debbugs.gnu.org id=B49443.162626387117927 (code B ref 49443); Wed, 14 Jul 2021 11:58:01 +0000 Received: (at 49443) by debbugs.gnu.org; 14 Jul 2021 11:57:51 +0000 Received: from localhost ([127.0.0.1]:43251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3dWR-0004f3-DI for submit@debbugs.gnu.org; Wed, 14 Jul 2021 07:57:51 -0400 Received: from mail.spbu.ru ([195.70.197.23]:54215 helo=cgp2.pu.ru) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3dWO-0004eg-Kq for 49443@debbugs.gnu.org; Wed, 14 Jul 2021 07:57:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=spbu.ru; s=20180812; bh=vm9Rw38hdb57EPOCNU+n5Svh7ja6JZrXFFIBRbqN9tc=; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From; b=mZSJI/BCd4dJUVoEb5YdvTcfHulaYS9yV9Z3pLwZI4a5+9qBq/MnymKKYu0ynHO0NpazSbyxkl Rb5ovhFpXqF6r6CX2+KscjAbexqaLQQgIH7fhYbiV64oglNadSzwTTVgRUcUVTh0PnfEp0K89U3lU eWd8nZjaeGcIz60+9bvnf6EpZC2TutR7HeW3Fi9tToP2ux0NdNbgYqiErY5+zBgEXR9kbyih4JENS V46J7VFN6C9KwLcgLDfVhlxVymo5bHgTChLbHGzSocfeXIN3EhhlqPNVlKBvr5Yz6Z8XKuiAFunpq uxlOew/mR6EQHRtp3PDYdG6RhwChGazzXGOtg== 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 171650560; Wed, 14 Jul 2021 14:57:39 +0300 From: Ivan Gankevich Date: Wed, 14 Jul 2021 14:57:14 +0300 Message-Id: <20210714115713.24675-1-i.gankevich@spbu.ru> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626263892; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jERVb+FcfVEvrEUEfqgJFrDvHIdaoSGERvuGv/U24Zg=; b=TZ1jYUHPsiWQFs73sN/osoY8U09ii1FAzq7VNOGv69dkYfnicmgY/C7M6DGp/cBq+2vr/8 ouvesS/+GNoaCk3nKWZtkvVjQxsN8yU4r9OtanqzmIMROPGTk3HFnnIuAZiZJoD7DtAezX AF04rHG9u/NNxqAt6YRwPT6I10IlxQSz9SW7EikeM1+VyQyZTo3dcsbu1kqdG7qK4ejjAS 5LWuLsyeSe+yroncmdemzzxXXg5fXYKn7QZaiVTuk5f3aeB4NQOYEs3dBL8J8Jw8P4qgC0 xhpxiYhpj70cti/JOgQNS9WXNl3Jdrhfzqj9blwnfNUAvuyPdaj6rExL6YsMhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626263892; a=rsa-sha256; cv=none; b=c/7AI6j0DEr1a8JuuoMHWlZrapgmes/aE385cG0BlwDV4yU4zU3JrLqrc628dH1SIrC7bw tal0qBwNBsDS84W9XpCf6SWf46lxEwHHGzKB8U/1vIfH4qrEoB/lPSyNc6YkcRztMci3yg h9vasAv2gsYEhcQGZv0P+44d4NfiB7i9dnl7PRdbOX/IZa7N6HRUtPnVDsJkMa4hvY+ZZY TmTDjpOoJl40eb0/W+bV3fIFTwDBBrqn0qgtvnYATHW0OMh7X5jpy+XPhGQnnOOUCkFjxk 4kpyzAE2ROCF+KPxcFv+LCnZ6TRBKx0T2cs6GPeAtNfMbmkVa4kG+u2aIk7bOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spbu.ru header.s=20180812 header.b="mZSJI/BC"; dmarc=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-Migadu-Spam-Score: 3.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spbu.ru header.s=20180812 header.b="mZSJI/BC"; dmarc=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-Migadu-Queue-Id: 08873147B7 X-Spam-Score: 3.60 X-Migadu-Scanner: scn1.migadu.com X-TUID: D7aC7jBEG2GV * gnu/packages/maths.scm (blitz): New variable. --- gnu/packages/maths.scm | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index b4cf0b5409..eb92fb083a 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6440,3 +6440,57 @@ 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" + "-DDISABLE_REFMAN_PDF=ON" ;; refman.pdf requires array-2016-10-06.sty + "-DBUILD_TESTING=ON") + ;; default "check" target also includes examples and benchmarks + #:test-target "check-testsuite" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-locations + (lambda _ + ;; replace "texinfo.tex" location + (substitute* "doc/CMakeLists.txt" + (("/usr/share/texmf/tex/texinfo/") + (format #f "~a/share/texmf-dist/tex/texinfo/" + (assoc-ref %build-inputs "texlive-tex-texinfo")))) + #t)) + (add-after 'build 'build-doc + (lambda _ + (define jobs (format #f "-j~a" (parallel-job-count))) + (invoke "make" jobs "blitz-doc") + #t)) + (add-after 'check 'check-examples + (lambda _ + (define jobs (format #f "-j~a" (parallel-job-count))) + (invoke "make" jobs "check-examples") + #t))))) + (native-inputs + `(("python" ,python) + ("texinfo" ,texinfo) + ("texlive-tex-texinfo" ,texlive-tex-texinfo) + ("texlive" ,(texlive-union (list texlive-epsf))) ;; for texi2dvi + ("texi2html" ,texi2html) + ("doxygen" ,doxygen) + ("graphviz" ,graphviz))) + (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+)))) -- 2.32.0