From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 OOVSMCJFDGWG3AAA9RJhRA:P1 (envelope-from ) for ; Thu, 21 Sep 2023 15:29:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OOVSMCJFDGWG3AAA9RJhRA (envelope-from ) for ; Thu, 21 Sep 2023 15:29:06 +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 9F503513AA for ; Thu, 21 Sep 2023 15:29:06 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RbnWPXCB; 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=1695302946; 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=EJNcvXVoJmvCKVJQhErHo+sbY/wqPF8rh/Twlm+dpUE=; b=I0bgmSwmKbiO5nHCUWulpC90pTEGE9L4rIky5d5aRhnQ9le/oRDnVbR14KZIVXqmws/7hF GhTpB5/jsfQyzWOxU7zJk2umLI9dlG9TAO6c9/XtfAsWzu+kKFC0ZSyPpNWQACNDWZtLad 4K12XhfZTUMYnB99nwTWfkoCCsG23xac5ji8t/JtjkfMlxpzTqruXVSbIoK/TbBuDLkeT0 DEBCBAhkBYhrp+V5K57U6nUfEH/slN+P9tM//lKwno79ean2q2AsR0bko4kKBWnK9LTWgy 7TyUlThjLChbzZwDYViM0AH9NhBRdnef+vboDQ+C1uCRLsC0+djoUSMb0iYtoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695302946; a=rsa-sha256; cv=none; b=kNvDlsM9aMR7WPOO6z94ylVvK8fW6+NdxG04vsutBfFZubcwX/FpQTuqA62EZMRWdZfXVC 8o4MkVhtAIpc8+fbHEzB/0SCSCa1tqgw4lZURZERlUePOzRmrqXGstZAzXcjUupF9rheeH v1Z3iS4WuX8JvXQE5clb3zpzwNhGUJSiqD7ZQ2oQ9s3Zb0wTDG89idJeyPoTIzQ+YbaukY bnxfSaJfpLTZGPigUXxPvxtjtCyPDzTEFGonW4Z23yupp9ViAODSe4kULs6LWsGvy2jLXZ 9zI6r2q/McjqHJzQ4ijhKg99QK1lNfy4cBrtkEthHfhXMEg1lTt0hCyYnU4diw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RbnWPXCB; 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 1qjJjn-0004F9-NC; Thu, 21 Sep 2023 09:28:59 -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 1qjJjk-0004BA-Kr for guix-patches@gnu.org; Thu, 21 Sep 2023 09:28:56 -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 1qjJjj-0006bp-Cb for guix-patches@gnu.org; Thu, 21 Sep 2023 09:28:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjJjt-0004uC-95 for guix-patches@gnu.org; Thu, 21 Sep 2023 09:29:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66129] [PATCH v2 05/20] gnu: Add suitesparse-camd. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Sep 2023 13:29:05 +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.169530292318760 (code B ref 66129); Thu, 21 Sep 2023 13:29:05 +0000 Received: (at 66129) by debbugs.gnu.org; 21 Sep 2023 13:28:43 +0000 Received: from localhost ([127.0.0.1]:33057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJjW-0004sK-Me for submit@debbugs.gnu.org; Thu, 21 Sep 2023 09:28:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJjN-0004pg-Au for 66129@debbugs.gnu.org; Thu, 21 Sep 2023 09:28:34 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 54E79240028 for <66129@debbugs.gnu.org>; Thu, 21 Sep 2023 15:28:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695302896; bh=i0KalSraWhf1UoJrsjbDsvkQMOti2n6qTGkINcsvlno=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=RbnWPXCB0tF6pp8ZdLii2vDHDhUUClPxiPbO/Y4LvFMF9zTOoosJPq4/YHkW76+Uf qqDY1AKaMrFE0anoEQQjjg2Q8hGxCy8yGxVrqE5gkzbPTQ2fF2FcLdwnHldEjAH/Eq v0Z0Nja8mXsSV+LyWqB4kitEkWXezgb7iXnABxxZVm09ZXDTmrmV2qJU/NifzFXRnH miEkEnYLBVUlYj4JVU/ixS2LSMR68qALJMtpp4tNs/6m4ryZmzFWIvy0TSah/AuBUp btzEFqboaUH/yAj4iENOZcP+Qj+6pl1UxMa/ZoZV4QRe6Lk4TkWXAfexMkDSDAq/+B 7aOLHvZ2j4tpw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rrx6l6v0Dz6tvq; Thu, 21 Sep 2023 15:28:15 +0200 (CEST) From: David Elsing Date: Thu, 21 Sep 2023 13:27:40 +0000 Message-ID: <6e9b6a766a7953fafb9f01850c09783ea913331c.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: 9F503513AA X-Migadu-Scanner: mx0.migadu.com X-TUID: KFGTwayzLXJn * gnu/packages/maths.scm (suitesparse-camd): New variable. --- gnu/packages/maths.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index f2c6f136a8..875e7dc391 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5051,6 +5051,48 @@ (define-public suitesparse-btf matrix into block upper triangular form.") (license license:lgpl2.1+))) +(define-public suitesparse-camd + (package + (name "suitesparse-camd") + (version "3.2.0") + (source (suitesparse-package-src name "CAMD")) + (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"))))) + (add-after 'build 'build-doc + (lambda _ + (with-directory-excursion "../source/Doc" + (invoke "make")))) + (add-after 'install 'install-doc + (lambda _ + (install-file "../source/Doc/CAMD_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-config)) + (native-inputs (list (texlive-updmap.cfg '()))) + (home-page "https://people.engr.tamu.edu/davis/suitesparse.html") + (synopsis "Sparse matrix ordering for Cholesky factorization with constraints") + (description "CAMD is a set of routines for ordering a sparse matrix prior +to Cholesky factorization (or for LU factorization with diagonal pivoting). +It is a variant of AMD which has the the option to apply constraints to the +ordering.") + (license license:bsd-3))) + (define-public suitesparse (package (name "suitesparse") -- 2.41.0