From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 oLgiB6xtC2Vk9gAAauVa8A:P1 (envelope-from ) for ; Thu, 21 Sep 2023 00:09:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oLgiB6xtC2Vk9gAAauVa8A (envelope-from ) for ; Thu, 21 Sep 2023 00:09:48 +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 E3BE850D3A for ; Thu, 21 Sep 2023 00:09:47 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gdxtn4d+; 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=1695247787; 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=fnEmFET1QP1NxeJigRSeBh7ZxGBER4g3NLEAioyCW6o=; b=iOyqFuF8kRuhyEhw/qqCI8cfz5l4BrrV3Yx310SF+LfAQM+o9prxc5b6ufNxpvKJ7mQd7t 1cbpwxWamzrmMS1zwZ+ABtOYjJTp8YmZ7BnzNYFsDrlNHKAtpgs7r3JGFkc8iA2n2LbDlt /WT46xazz+EahHYUTTKt36faJ107RKY69tYEFXxSgfSrcVW3JwKmGQ8kIjOB79aPcG5qUq xJdQ0YddDJK2pTEJTy0/tjC88pMQLoOV6PPLauprWRdIys8+l8rrFDGkpBO+U7o756rxLY /RYVihGu9dDAnmThCKoJtdiHnHqKbXOk7x3SAawmekmyHG0d42Owc1gJS9DRfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695247787; a=rsa-sha256; cv=none; b=mC3cU6/cqg/g+2epxCx9Gi4kcye5CBrMCtFNxauBxbqbiTZS8cEhH0t+PpBJfCz6ZpY+ep aDn4gapiBO8/A2u2anfeeYDDFfnY2fjzxD/7ZbT5+eo+5RUHQ7egiaisDhyUdTMOESHR4v wlya4+uuSYOS2gC205AGDYgCxYBp7BHBkDF7zfC3brdTLV3XD9WsZCjFdTgyaM8z+2tbAd G7knwLmK1yGVgKYzSUD2DgFSV8qzR7UZ7oluud1mZMSVvXtjLxqszCFARxKdKNFBlUL1Kn +3mOYeCCj9MgiMctsWKCgKVwxoOYa2FLYwRs6dCtIPtxN40mMz8Bqt5guD1r9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gdxtn4d+; 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-00076J-OJ; 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-00075j-He 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 1qj5NS-0005At-9D for guix-patches@gnu.org; Wed, 20 Sep 2023 18:08:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qj5Nb-0005U0-SU for guix-patches@gnu.org; Wed, 20 Sep 2023 18:09:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66129] [PATCH 09/20] gnu: Add metis-5.2. 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.169524774220964 (code B ref 66129); Wed, 20 Sep 2023 22:09:07 +0000 Received: (at 66129) by debbugs.gnu.org; 20 Sep 2023 22:09:02 +0000 Received: from localhost ([127.0.0.1]:60509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj5NV-0005Rs-GT for submit@debbugs.gnu.org; Wed, 20 Sep 2023 18:09:01 -0400 Received: from mout01.posteo.de ([185.67.36.65]:58183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj5NQ-0005Pg-B9 for 66129@debbugs.gnu.org; Wed, 20 Sep 2023 18:08:56 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 11220240027 for <66129@debbugs.gnu.org>; Thu, 21 Sep 2023 00:08:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695247721; bh=xfXd52c1QFMjuvobWLG4AK6XQQ2uCwQt5RXtkeC7kfc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=gdxtn4d+JwrXM87KC+BJbFh161Twjl382agqy/gRUOwIeNH4k1f+uXLgI4JGdkRa4 vNZqrBxFGkyR9rFRe3ybxu3BWDENnSJRS5x4gLB7Q4y/0AtQasOpVW9uV+bMhbi0jv 4dIraQvENQDRdmMuQgBSe/ILNSkgDxj2hQ0xyYgxkOtf+VUTnYB6QyVwzEXNHfGU9E UzCTDdqQVOilY4muDmCjmdcb1CstTGFdpWROGS2htDXofMXxV+b8ZvszRRamUEiEiC 2zuBjpEn4G5pEDDNEWs8DnnxSRs/oOR5UpEieGnHtEHMInXEQOzxudV0dHpjkKEGBd R5LAd0MnoFc7Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RrXjh4srdz6v2Q; Thu, 21 Sep 2023 00:08:40 +0200 (CEST) From: David Elsing Date: Wed, 20 Sep 2023 22:07:59 +0000 Message-ID: <4ad2b7c14325639a4b400ed6a230fb3ee2f9d158.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: E3BE850D3A X-Migadu-Scanner: mx0.migadu.com X-TUID: GUv69yfLDEcP * 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 8e17629caa..3150bac47f 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4220,6 +4220,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") @@ -4253,6 +4254,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