From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sJfOFt4sH2WBfAEAG6o9tA:P1 (envelope-from ) for ; Thu, 05 Oct 2023 23:38:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sJfOFt4sH2WBfAEAG6o9tA (envelope-from ) for ; Thu, 05 Oct 2023 23:38:38 +0200 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 12A553864C for ; Thu, 5 Oct 2023 23:38:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=LtaULI6y; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696541918; 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=y9W99e7ssJS84rMpDj7cQ6HA42ek2dO+SHLW4QRpG1k=; b=pe1KPkS/Q1tD5WJiZZ734JJx8FH5TS6TymFdHEPqy6UCXAYEecCw5dYQ1LTzzuCPdPskR2 u6UpniV4q6/9LCXPuJQEJAtimFyyZ1OIhV5RC0eHeuI0WA5CeFQ1voGNp8NocOCfXcVUev 0+SzXZ7PxVcqGBy54EwOmmHc02KUBoycLif9M7FiBv3qngE0KU5BBou5vgug+6ivE9Zq0S YH8or1ui13G9rsYvLhbR01yBGE4WmxWhPnYELbyWkyOmhbMmC3NFr/kDEFuyAKfpPrt9iz exPjjXERU1vA4UuhRPIqHfN1mMxN8VeW4qPoMKWJ5mVZynVRl8/QM+1ibr/fRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696541918; a=rsa-sha256; cv=none; b=aJDAmNtjC0xv0AMDTnRJbSdIeTuQn5Ebb0n51q/dQ+na5WS2cXPgJIiPPhc/TCvOazSnYk WRmXq/If+/gNEafjlXdJBcAqKIAhFL+hr3mEe1klGBz4gjBs4Zt/JATXmVtr+X0LD1+cVF rvLOeBcZrSQoWmBEvFcULuPQxPPRm1J+s7suRiEPxnFMCLcuNFpGx2KzLqivNlqZksFUIk 6wxRcrRUdxB7u9JL+1iQK0e2BE0Oyr8zZzkve+KZt3s6lPofTW8RX5IcUqEu6VGxlnKcQ/ /Ca42yNT+D0+a6xEtWtOSImcRTOpg2X+g7X+e75FaEotAV7nPfO4u+5DQlz3RQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=LtaULI6y; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoW2b-0003Hv-Bn; Thu, 05 Oct 2023 17:37:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoW2Y-0003Ff-VG for guix-patches@gnu.org; Thu, 05 Oct 2023 17:37:51 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qoW2Y-00045S-NL for guix-patches@gnu.org; Thu, 05 Oct 2023 17:37:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoW2r-0002e5-3i for guix-patches@gnu.org; Thu, 05 Oct 2023 17:38:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66129] [PATCH v3 16/20] gnu: Add suitesparse-rbio. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Oct 2023 21:38:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66129 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66129@debbugs.gnu.org Cc: David Elsing Received: via spool by 66129-submit@debbugs.gnu.org id=B66129.16965418379958 (code B ref 66129); Thu, 05 Oct 2023 21:38:09 +0000 Received: (at 66129) by debbugs.gnu.org; 5 Oct 2023 21:37:17 +0000 Received: from localhost ([127.0.0.1]:48752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoW20-0002aS-JG for submit@debbugs.gnu.org; Thu, 05 Oct 2023 17:37:16 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoW1r-0002X3-Dv for 66129@debbugs.gnu.org; Thu, 05 Oct 2023 17:37:09 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 58FD4240028 for <66129@debbugs.gnu.org>; Thu, 5 Oct 2023 23:36:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696541803; bh=kU/59wtXys/xiaMseXv7cmces7aWYwZaQpf66eyNyPs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=LtaULI6ye+qHJaEoj6cAt0GwBeLsO3nC6nCqjfKIy5/4rqeIwi1zNLZUEcfnBC7K7 CC3ScGXIudVLTQpzwdLxjYM4w/ik88voW+aormSxHi0Oz2OngQvVYs4ndbVkNf/ts4 pOuFwCErQLY3PlFrydxk43gqLrBHIjo5nDQ4z1dPMs+wcOGcArFrh47Ci86mINyjW0 8Js3DSapB13sUH4kXuHnjfLneYdT7rnWwJHNR58F/FbX/tYVXZXsc43DBWZb3DO8pM Fsjs/G80L1sXUdC4pLJxPefTYHTk3PxcPlRzuFVrVaR+EdgAPmaCZzLCUmdZ8xanqA JJeRmONUMqjyg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S1lHt6hnkz9rxQ; Thu, 5 Oct 2023 23:36:42 +0200 (CEST) From: David Elsing Date: Thu, 5 Oct 2023 21:34:59 +0000 Message-ID: <04c0796fdb0b6afc6c68eae4aafcbdd5d9e34a1b.1696541452.git.david.elsing@posteo.net> In-Reply-To: <7ylecgah6b.fsf@posteo.net> References: <7ylecgah6b.fsf@posteo.net> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 4.06 X-Migadu-Spam-Score: 4.06 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 12A553864C X-TUID: fUs9RSBLZIlG * gnu/packages/maths.scm (suitesparse-rbio): New variable. --- gnu/packages/maths.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 988bf28ac2..2cb1f01358 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5684,6 +5684,44 @@ (define-public suitesparse-ldl code.") (license license:lgpl2.1+))) +(define-public suitesparse-rbio + (package + (name "suitesparse-rbio") + (version "4.2.0") + (source suitesparse-source) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "RBio"))) + (add-after 'chdir 'set-cmake-module-path + (lambda _ + (substitute* "CMakeLists.txt" + (("set.*CMAKE_MODULE_PATH.*") + (string-append + "set(CMAKE_MODULE_PATH " + (string-join + (map (lambda (path) + (string-append path "/lib/cmake/SuiteSparse")) + (list #$suitesparse-config))) + ")\nset(DUMMY\n"))))) + (replace 'install-license-files + (lambda _ + (let ((out (string-append #$output + "/share/doc/" #$name "-" #$version))) + (install-file "../RBio/Doc/License.txt" out) + (install-file "../RBio/Doc/gpl.txt" out))))))) + (inputs (list suitesparse-config)) + (home-page "https://people.engr.tamu.edu/davis/suitesparse.html") + (synopsis "Library for the Rutherford/Boeing sparse matrix format") + (description "This package provides the C library of RBio. It can be used +for reading and writing sparse matrices in the Rutherford/Boeing format.") + (license license:gpl2+))) + (define-public suitesparse (package (name "suitesparse") -- 2.41.0