From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ThdFNHBFDGW3ZwAAG6o9tA:P1 (envelope-from ) for ; Thu, 21 Sep 2023 15:30:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ThdFNHBFDGW3ZwAAG6o9tA (envelope-from ) for ; Thu, 21 Sep 2023 15:30:24 +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 B94B251268 for ; Thu, 21 Sep 2023 15:30:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=AyruZGxM; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695303024; 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=MP78MtZUVCZ9U72dZZXrrUuzFIED4nNSdzoCh/NHcO0=; b=X8t5JdPlzSwMrNdBUzo1sxpEpBg760GeqaXINKVWi6vNL+o1ePbaouKQJsV9Vs+lMrNBRC 9n2vfy4wwa+HlO7//1iwKDEuq9UPy7swq/yDcmQzMrlnT48Syv+XF8sjDzCi2R2QZ4NZt2 FMsB0Ig3lwTPfIVhE9pbbYuyuxF2H/2qogSemoz0tQn5WJhDrlnSfZ8L2vrXgs0IpJlmhT Z+KrNUmNjlpA2J2EsSUOFClr/16afklrlVgS//dYtd70FSnPlZFQtt0LgP+KxhjhcJY433 FcicIi9mdTYSr+rmV+MlSJSRdvk0ohWaL3Y2KGbCnddwfz68TuicLmKgHj1oqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695303024; a=rsa-sha256; cv=none; b=jikoDMshQ1ebObOr/N3rs1OABaYtJ0dYcsRzlFUJKdaNDxF1W7RfEHkSPpf2JB/GDzTj4q lJmWlJHuDStk3S6y3VvxjLAlxG+d8MsSMkatnhfphqlOLnydDqggBRgjznM5nYbxqX81W8 6EGAxhYeVt4QWzR12WF72jNivyc0EjUURNm3PKCyPlRGT+jsqGDnNMV/kQhAfSa8jpNVP5 TQjvtZlO0W1InAII55oZohgWU4FKwYstN7xWDkEsIawWhSTis03YXuFCf6HAVELR9ihhYI BKJS4Cnh1lsF2Cx0uFkshsuoLWGp0NiL6X97013JogJD152rLLgoSOiX6/EfwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=AyruZGxM; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjJkt-0006Hc-0B; Thu, 21 Sep 2023 09:30:07 -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 1qjJkg-000606-D5 for guix-patches@gnu.org; Thu, 21 Sep 2023 09:29:55 -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 1qjJkg-0006xs-4w for guix-patches@gnu.org; Thu, 21 Sep 2023 09:29:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjJkq-0004xr-2R for guix-patches@gnu.org; Thu, 21 Sep 2023 09:30:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66129] [PATCH v2 13/20] gnu: Add suitesparse-cxsparse. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Sep 2023 13:30:04 +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.169530296018944 (code B ref 66129); Thu, 21 Sep 2023 13:30:04 +0000 Received: (at 66129) by debbugs.gnu.org; 21 Sep 2023 13:29:20 +0000 Received: from localhost ([127.0.0.1]:33086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJk7-0004vN-NJ for submit@debbugs.gnu.org; Thu, 21 Sep 2023 09:29:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJjS-0004qN-DW for 66129@debbugs.gnu.org; Thu, 21 Sep 2023 09:28:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BB6AF240029 for <66129@debbugs.gnu.org>; Thu, 21 Sep 2023 15:28:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695302902; bh=8mpFtPcCrZLkjIuzhuFL3e6gMNkDHyoBuacKte2fX4s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=AyruZGxM3AWImpqvYomqNJ/dXkOPOntco0pbpZ9/kyLDhWKmYSEE/gbcpEUD+940Y +F8+1JsmubeAhVD1jhxT7R1jjI4238pjCosh5KV1kM4vhxlXiA+H5XOCnMUKxB0Zuf DwenxtBhhgOgWGoaHTukLopg4+h9fuSMm5MC1uKQfMgvNFE2l/mYCJR7/b0Ju+hyPI YjqWFw9q0D1D2Jnmo5wxQ/jcAGRP8o1yFByE+qh73h/dwdBqcY4bWcEw5WJutbBiDS 0hnjZRled63DCGllP2FqbAc/yyJARVqsESwMjw92GtksmLzWhRguF7iKSNzoEboe4O mw0HEkQOnrROA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rrx6t1vG2z9rxS; Thu, 21 Sep 2023 15:28:22 +0200 (CEST) From: David Elsing Date: Thu, 21 Sep 2023 13:27:48 +0000 Message-ID: <9987319f1cec756d12cda0a0413b7eb49a5d35f3.1695302719.git.david.elsing@posteo.net> In-Reply-To: <2e6dce4c1faecf1e5516f477a1b372da205573ba.1695302719.git.david.elsing@posteo.net> References: <2e6dce4c1faecf1e5516f477a1b372da205573ba.1695302719.git.david.elsing@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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 4.05 X-Spam-Score: 4.05 X-Migadu-Queue-Id: B94B251268 X-Migadu-Scanner: mx0.migadu.com X-TUID: Qbio1syszxSQ * gnu/packages/maths.scm (suitesparse-cxsparse): New variable. --- gnu/packages/maths.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 271ae8137b..813f9bd568 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5371,6 +5371,37 @@ (define-public suitesparse-cholmod and other related operations.") (license (list license:gpl2+ license:lgpl2.1+)))) +(define-public suitesparse-cxsparse + (package + (name "suitesparse-cxsparse") + (version "4.2.0") + (source (suitesparse-package-src name "CXSparse")) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-cmake-module-path + (lambda _ + (substitute* "CMakeLists.txt" + (("set.*CMAKE_MODULE_PATH.*") + (string-append "set(CMAKE_MODULE_PATH " + #$suitesparse-config "/lib/cmake/SuiteSparse)\n" + "set(DUMMY\n"))))) + (replace 'install-license-files + (lambda _ + (let ((out (string-append #$output + "/share/doc/" #$name "-" #$version))) + (install-file "../source/Doc/License.txt" out) + (install-file "../source/Doc/lesser.txt" out))))))) + (inputs (list suitesparse-config)) + (home-page "https://people.engr.tamu.edu/davis/suitesparse.html") + (synopsis "Concise eXtended Sparse Matrix Package") + (description "CXSparse is a collection of sparse matrix algorithms for +direct methods on both real and complex matrices.") + (license license:lgpl2.1+))) + (define-public suitesparse (package (name "suitesparse") -- 2.41.0