From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wFdfGuVtC2VQOAEAG6o9tA:P1 (envelope-from ) for ; Thu, 21 Sep 2023 00:10:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wFdfGuVtC2VQOAEAG6o9tA (envelope-from ) for ; Thu, 21 Sep 2023 00:10:45 +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 58C645AF5C for ; Thu, 21 Sep 2023 00:10:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RUF2nmgb; 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-Seal: i=1; s=key1; d=yhetil.org; t=1695247845; a=rsa-sha256; cv=none; b=U2uPowCzVH96dxD9Utg03d/+W2vv7OI7aHFrLG326ULqnfVFjajtLADs33B0Z/Jh20BwRx loO9Vf+6s0oSReSXBAMT3HLhPxFPEGhlscBvlzHWM4HP0Xl/sWwUVlA/XrF2S9vKt3QA1I wYs24NXj6jNhzPS4nmtcxaq/O4xayzujhEm50l9kQ0QcZBOG1vrEKa4lOXBA4OFk1qcWAD uzKsKOtZNe9k+OJsDptPsXBeQJkCxpQ/SDRlh3AplY+UB4hGXfu++9SX5RKao/qv7JEAfd nM3sS2tWmpLRdXG3DL5vCv9tL3BUbpjxuNZqWwmpXNwByba79w7rPvCpluBlwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695247845; 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=z1wDIDPKmHw9qMH1f2FwLKm5dvWP5EUHxAWGRRjJ8Ac=; b=aIwb9SEhucqIrqI7lo43HrHR5pES3HGy2sBuwami/EsVny4Ik/rcTXJM7Q17Mzx45yDqG2 O1c/y3I8bZfQykUsrbMewttEq1XZgQmBumSRm25FC8g8+3dly6UHmSu4eRcICXHgIaiYeq rIk2PH7GhX1HH8cG/kj36yTUEcnrmOcyc/NUnYh8o3MrOGCoAVV7AoBVpM0ceHM+kw5shD Lip7td2o+OuU+k8FznB0aADKH0ZynEjB4zWKBwuQ2jUnAataSJyE3pCkn9xVSHLnAng8Rz xMsii4YiwhDpWT60crNCdkO+IuUFTDvQ52xE0LqReytOky2Z3VwgYWhQ5un/ww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RUF2nmgb; 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 1qj5OO-0007lR-Cf; Wed, 20 Sep 2023 18:09:56 -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 1qj5OM-0007jx-Ky for guix-patches@gnu.org; Wed, 20 Sep 2023 18:09:54 -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 1qj5OK-0005R7-RP for guix-patches@gnu.org; Wed, 20 Sep 2023 18:09:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qj5OU-0005Wj-Ea for guix-patches@gnu.org; Wed, 20 Sep 2023 18:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66129] [PATCH 14/20] gnu: Add suitesparse-klu. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Sep 2023 22:10:02 +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.169524777121145 (code B ref 66129); Wed, 20 Sep 2023 22:10:02 +0000 Received: (at 66129) by debbugs.gnu.org; 20 Sep 2023 22:09:31 +0000 Received: from localhost ([127.0.0.1]:60535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj5Nz-0005Ut-0r for submit@debbugs.gnu.org; Wed, 20 Sep 2023 18:09:31 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj5NV-0005Qe-Tl for 66129@debbugs.gnu.org; Wed, 20 Sep 2023 18:09:03 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2640D240028 for <66129@debbugs.gnu.org>; Thu, 21 Sep 2023 00:08:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695247725; bh=+6LY2D/qBOfYYUq7nF5MG6Q7wxGmFi4MDkiR25sl+08=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=RUF2nmgb5/qH8h76+va3plM2VKCToluFHVp1e2CBcnJYRdTjmc3CrJBRr+ksxUxkN 4QCAJxTaSSh40yhrPUnJ491Yxxu7dHedfMsez5+fN7VakbVCPheRD7L7K4ix5yVZHs zk4gsIKtLUZSaKvOVxG0R6Gn4/RIuw7yt3Gx7aEDwErf/AbSC/Zm7VE6moEZ3j6uQo ipVRsTYXcw6hJxYdWYx4Pw8y3mUqgOjRzDHFhuIvZG05Cv4UIaPh/Q1SpLa+HfR+Bu iHwnRnn3mORVYfeRg+gsTB8xik8MkUVCX+eVnk4dMxAV2NfOtlNhvAeGJUtbtMI+hh 0G/cYC50ocspA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RrXjm5M5nz6v3j; Thu, 21 Sep 2023 00:08:44 +0200 (CEST) From: David Elsing Date: Wed, 20 Sep 2023 22:08:04 +0000 Message-ID: <6a2c9a11789ab3a57d043d017265aca9b079c0ad.1695246169.git.david.elsing@posteo.net> In-Reply-To: References: 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: -3.80 X-Spam-Score: -3.80 X-Migadu-Queue-Id: 58C645AF5C X-Migadu-Scanner: mx2.migadu.com X-TUID: wQ/8Z6/77tUv * gnu/packages/maths.scm (suitesparse-klu): New variable. --- gnu/packages/maths.scm | 61 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 57e3f82fa8..cfa631b975 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5392,6 +5392,67 @@ (define-public suitesparse-cxsparse direct methods on both real and complex matrices.") (license license:lgpl2.1+))) +(define-public suitesparse-klu + (package + (name "suitesparse-klu") + (version "2.2.0") + (source + (suitesparse-package-src name "KLU")) + (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 " + (string-join + (map (lambda (path) + (string-append path "/lib/cmake/SuiteSparse")) + (list #$suitesparse-amd + #$suitesparse-btf + #$suitesparse-camd + #$suitesparse-ccolamd + #$suitesparse-cholmod + #$suitesparse-colamd + #$suitesparse-config))) + ")\nset(DUMMY\n"))))) + (add-after 'build 'build-doc + (lambda _ + (substitute* "../source/Doc/Makefile" + (("\\.\\./\\.\\./BTF/Include/btf.h") + (string-append #$suitesparse-btf "/include/btf.h"))) + (with-directory-excursion "../source/Doc" + (invoke "make")))) + (add-after 'install 'install-doc + (lambda _ + (install-file "../source/Doc/KLU_UserGuide.pdf" + (string-append #$output "/share/doc/" + #$name "-" #$version)))) + (replace 'install-license-files + (lambda _ + (install-file "../source/Doc/License.txt" + (string-append #$output "/share/doc/" + #$name "-" #$version))))))) + (inputs + (list suitesparse-amd + suitesparse-btf + suitesparse-camd + suitesparse-ccolamd + suitesparse-cholmod + suitesparse-colamd + suitesparse-config)) + (native-inputs (list (texlive-updmap.cfg '()))) + (home-page "https://people.engr.tamu.edu/davis/suitesparse.html") + (synopsis "Routines for solving sparse linear problems with a LU factorization") + (description "KLU is a method for computing the LU factorization of sparse +for real and complex matrices.") + (license license:lgpl2.1+))) + (define-public suitesparse (package (name "suitesparse") -- 2.41.0