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 4PTwEaptC2Vm8QAAG6o9tA:P1 (envelope-from ) for ; Thu, 21 Sep 2023 00:09:46 +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 4PTwEaptC2Vm8QAAG6o9tA (envelope-from ) for ; Thu, 21 Sep 2023 00:09:46 +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 3B51250D39 for ; Thu, 21 Sep 2023 00:09:46 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=NGAAYma6; 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=1695247786; 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=VK02prTd8sBlXZE5Na2nSooglzQOuIi6lx91pCb1ePM=; b=Oik4ikCYfRWkNW0bJ6qh+4DCojans3dBDcgG94o5vQCP5DF2cNlSSM0wl0Qf4k4DrTZt1i sVUpzONvpUax7hOgnmpgzv4bLlVkGYD48Odlgfx+uDihAqXTNCEnccF1iuiEtuwPW5/j5n M6mHsJZx/DQHteJZWKB/fvnIwKpmh6qLMoS4bIgJEVOq9AJb7EWi+sQsNUq6Yj5nU9XakQ OCWwmKusreVMzUYS2EL3v+k7tJbkfA0bg+nuGiuz/+3mXkeYAo2V71ZOgLfX9188qpVFDS yy0rz/BXSAgoLhMVCpFXdeKWbB6eqVKE2huZYEpqUG1clQ17hDfltmTd6TR4Uw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695247786; a=rsa-sha256; cv=none; b=XEHxt/OI7aREWjf+TlZEwb3dfuKQMBqgJtEbuv0B2/qJDoCygBIRJltJalCiDoNiJUc1uX DMj49uxgxjpHXiyCVWjMl1dcrP35En3upjfkxr8r0aFbVsr+fF55W2bxIuQGduzrm492B1 CEz+xlZ3w+9P1gHlGsdkvayV28PBGuumVfjVOnxqo1riDF5oCn1mamvz4Wcp1YDmgtyITN JkRwT6yWSmaxzNUQyqfRMB6YUaOki9YZzmtC32/A6aodvts8HTqCkrIt5ZHtJq3W7yUmMs 9ESvjykdvW//kcMiU41c0lQ3qY/8nEFBri+ORunQcEhAVruLqB8gv8hWYMA1JQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=NGAAYma6; 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 1qj5NT-00076F-E3; Wed, 20 Sep 2023 18:08: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 1qj5NS-00075n-Ng for guix-patches@gnu.org; Wed, 20 Sep 2023 18:08:58 -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 1qj5NR-0005Ab-FX for guix-patches@gnu.org; Wed, 20 Sep 2023 18:08:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qj5Nb-0005Tl-2u for guix-patches@gnu.org; Wed, 20 Sep 2023 18:09:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66129] [PATCH 07/20] gnu: Add suitesparse-ccolamd. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Sep 2023 22:09:07 +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.169524774120944 (code B ref 66129); Wed, 20 Sep 2023 22:09:07 +0000 Received: (at 66129) by debbugs.gnu.org; 20 Sep 2023 22:09:01 +0000 Received: from localhost ([127.0.0.1]:60505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj5NU-0005Rd-Q5 for submit@debbugs.gnu.org; Wed, 20 Sep 2023 18:09:01 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj5NO-0005Pc-Nr for 66129@debbugs.gnu.org; Wed, 20 Sep 2023 18:08:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 766B7240101 for <66129@debbugs.gnu.org>; Thu, 21 Sep 2023 00:08:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695247719; bh=PJNoib38tE3pFlzR3R4/nH0uJr5D0c+qxw9lidJOQ4c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=NGAAYma6Sp/UZlkKxH1RBlN3Aa2fnj8mCh5XQi5SN/VQRpWCZbzfr38uHm3Kwk1Jk uBOA0zBxcAw8jCZlPzwnN7lLwiUdnPFxF1lRSTz/QgcEdJxh3y8T2+fDfP0ObXu73B fKK1JDi/6AwSJ3d7YqOQwbs+BeJ6wGsEDzv6WaTNXZMuXbKvdNfCF4462G35d+xzda 7WqBqEtBlIlKlbgRUbhAnE4m795lIfTQl2pk7Miis/e84Nx2gR+C8mgrB3Cuo6/3aW JU4JVBwUUkca7uIlCES0ng85hYtMtO+f4Jb+7x6fmyVEVNkIEZblJgRt9vPucEpfkt N8LDyY55TAevw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RrXjg0g83z6ty8; Thu, 21 Sep 2023 00:08:39 +0200 (CEST) From: David Elsing Date: Wed, 20 Sep 2023 22:07:57 +0000 Message-ID: <5f57cf3264823354212a4077a8c8bb71a31ef554.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: 4.06 X-Spam-Score: 4.06 X-Migadu-Queue-Id: 3B51250D39 X-Migadu-Scanner: mx0.migadu.com X-TUID: O5gkBN23pbEQ * gnu/packages/maths.scm (suitesparse-ccolamd): 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 9a48a1fc65..8f27134ba8 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5123,6 +5123,37 @@ (define-public suitesparse-colamd matrix with which the LU factorization becomes sparser.") (license license:bsd-3))) +(define-public suitesparse-ccolamd + (package + (name "suitesparse-ccolamd") + (version "3.2.0") + (source (suitesparse-package-src name "CCOLAMD")) + (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 _ + (install-file "../source/Doc/License.txt" + (string-append #$output "/share/doc/" + #$name "-" #$version))))))) + (inputs (list suitesparse-config)) + (home-page "https://people.engr.tamu.edu/davis/suitesparse.html") + (synopsis "Column Approximate Minimum Degree Ordering with constraints") + (description "CCOLAMD is library for computing a permutation vector for a +matrix with which the LU factorization becomes sparser. It is a variant of +COLAMD which has the the option to apply constraints to the ordering.") + (license license:bsd-3))) + (define-public suitesparse (package (name "suitesparse") -- 2.41.0