From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 iGoACMYsH2U+GwEA9RJhRA:P1 (envelope-from ) for ; Thu, 05 Oct 2023 23:38:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iGoACMYsH2U+GwEA9RJhRA (envelope-from ) for ; Thu, 05 Oct 2023 23:38:14 +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 E23FE409E2 for ; Thu, 5 Oct 2023 23:38:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=WjbVvaBl; 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=1696541893; 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=ToSHbpFm6KF1UfBjwfSQT0qQeG0RZt8Fwo41YwtxNB0=; b=CLc+Ts17tdzr+J842gSZA93kMLNRJNNODvnoQiSHttUEnZit5WeqhPwIT5lvGKbBY0dupF ffBEWnXWKfjmFCgBnxKuUQvK9rLtC6UWvzuZIhNOkSKE3YSbFFxXcsA2Zzl300Sr6DtuHn mLTGKGEdSC3qqT0LYpB1uey7LuV0faesYMjxtDUk068ejx9evs+UmkVSRgD3w7XkeywCls sF+LVOgS4uzjK6XliwOKUULkSYwIOekM7pig5vjM+JKib5/L0fDCKF6XomfL40hUMNPzVR aCkwFjf4VHeCm1EAegSuKJ4b15cb7LjnTaRPBVUCl/dmfdu3iWfhDXvQfV0CnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=WjbVvaBl; 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=1696541893; a=rsa-sha256; cv=none; b=AhVcbuo7nGIQGVHRInPomqp8qF2fKO08w2tKWGYd7wU7XHZagZYP/DJMVHb9KDsF4P6Y31 nTtaLbSjQivk1WNEIpZaXUvzMSsAGLhO3Re1pNbUdc1ayeH3NmzGe2SOJaJ/3vbO89/CzO riZPbwkeIV5UJUwOZ4fjqFN4t+Chn7dqLDCKJYbf/EVXtWR5NY9/vpn6awgn8QOU3Mxn2X xb8zJWLt/uRp1I2nz+IJLRZATUdzbFEDkhF24Y077ZrKZgwLc35UBxo+cW/sFKAZJXdohJ /p5NXyjsEpGRUUC2W8mXrRj0ALB8uPdHQJjoWemP8GB5b3tJ47dEZaNwyvBypg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoW2U-0003B5-Dz; Thu, 05 Oct 2023 17:37:46 -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 1qoW2S-0003A4-Sw for guix-patches@gnu.org; Thu, 05 Oct 2023 17:37:44 -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 1qoW2S-00042S-KY for guix-patches@gnu.org; Thu, 05 Oct 2023 17:37:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoW2l-0002cN-0s for guix-patches@gnu.org; Thu, 05 Oct 2023 17:38:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66129] [PATCH v3 09/20] gnu: Add metis-5.2. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Oct 2023 21:38: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.16965418269819 (code B ref 66129); Thu, 05 Oct 2023 21:38:02 +0000 Received: (at 66129) by debbugs.gnu.org; 5 Oct 2023 21:37:06 +0000 Received: from localhost ([127.0.0.1]:48715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoW1p-0002Y6-6F for submit@debbugs.gnu.org; Thu, 05 Oct 2023 17:37:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoW1i-0002VZ-9l for 66129@debbugs.gnu.org; Thu, 05 Oct 2023 17:36:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 20D8B240101 for <66129@debbugs.gnu.org>; Thu, 5 Oct 2023 23:36:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696541798; bh=l2QGEWfJsHPv9LXeye+9LMerVkls6pFsJuApH/lL7Ns=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=WjbVvaBlXvqnhq/a8OfwboHd6EfJOWmT7ThGYDNC7Lk8IEIM+YAU6MaoJpKK7F/Ij kPuKquwTIUNqKdF2ajuVKNrpp4WT7saqvUDOfiDxLeiEg33mrcwAyIoks7GSNpmQVD z0dGc4mK6b66E/IioIm60qAXO4ozybdhWqIsN/AqGoJieeESl1o5fB23Nr6IKoHszp jtlmlacYAn6mtk0iz6hGXljx0RfPZCDq94ytLKLUq94bZbLcIcO7WdPd3UsxNLjTf2 7xc8DmXXEIRWJKYQ5NoMhLm3W1dsuiNK45BP5gi4T8w0VnCA6QIAXtJscfndsLJYaH F/tYqvxvpI0jw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S1lHn4Zcwz9rxH; Thu, 5 Oct 2023 23:36:37 +0200 (CEST) From: David Elsing Date: Thu, 5 Oct 2023 21:34:52 +0000 Message-ID: <5dd10e61fd6612e04353b474e5dcf134b27bb8d0.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.79 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: E23FE409E2 X-Spam-Score: -3.79 X-TUID: i2kro5hHb0hs * gnu/packages/maths.scm (metis-5.2): New variable. --- gnu/packages/maths.scm | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index cef899fc8a..76d770466f 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4381,6 +4381,7 @@ (define-public gklib software from KarypisLab, such as METIS.") (license license:asl2.0)))) +;; XXX: Remove once the full SuiteSparse package is replaced. (define-public metis (package (name "metis") @@ -4414,6 +4415,53 @@ (define-public metis schemes.") (license license:asl2.0))) ;As of version 5.0.3 +(define-public metis-5.2 + (package + (name "metis") + (version "5.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/KarypisLab/METIS") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "19vi1wsi2gp2m5vb715yfnzd2g7brm4r40qxg65ysrzgl13lpmvr")) + (snippet + #~(delete-file "manual/manual.pdf")))) + (build-system cmake-build-system) + (inputs (list gklib openblas)) + (arguments + (list + #:tests? #f ; Tests are not automatic + #:configure-flags + #~(list "-DSHARED=ON" + (string-append "-DGKLIB_PATH=" #$gklib)) + #:phases + #~(modify-phases %standard-phases + ;; The original Makefile copies some files and invokes CMake. + (add-before 'configure 'prepare-cmake + (lambda _ + (substitute* "Makefile" + (("config: distclean") "config:") + (("BUILDDIR =.*") + "BUILDDIR = .\n") + ((".*cmake.*") "")) + (substitute* "CMakeLists.txt" + (("build/") "../source/")) + (invoke "make" "config")))))) + (home-page "http://glaros.dtc.umn.edu/gkhome/metis/metis/overview") + (synopsis "Graph partitioning and fill-reducing matrix ordering library") + (description + "METIS is a set of serial programs for partitioning graphs, partitioning +finite element meshes, and producing fill-reducing orderings for sparse +matrices. The algorithms implemented in METIS are based on the multilevel +recursive-bisection, multilevel k-way, and multi-constraint partitioning +schemes.") + (license license:asl2.0))) + (define-public p4est (package (name "p4est") -- 2.41.0