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 0O1EETpFDGXtMQEAG6o9tA:P1 (envelope-from ) for ; Thu, 21 Sep 2023 15:29:30 +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 0O1EETpFDGXtMQEAG6o9tA (envelope-from ) for ; Thu, 21 Sep 2023 15:29:30 +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 36CBA51257 for ; Thu, 21 Sep 2023 15:29:30 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=nJab2AAx; 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=1695302970; 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=b2EMtTo2vGe4B6jHFam472vOx6POXq1d/c2oVPERGQ4=; b=fMfAFObPWhq+35irDRDnoGTPwoR8R/zYGtI1UwVxRQS9eGP5Zykllc/MwndO3WaV14HcOv MkBATdz4MpOUc9lADH0KcRdf6JR4/Q/Mw7DgO1D5MY6ahazDjRZyxCum09TA81lJ4r9cMj frNScNnSzJuUNqoEunFSx5eQi/m73VKTuVA5mRUKxqvUqSxKR+IWxN8VyHFxQ5irm5kXy1 XKw+GASd2sTOG3zr1wX0IvwchNdlrhWrm8bYAdN2WHc8yJCdNYIi11m/+kyS3TlAi6G/Li rnKV45dxGdS3byCHAYLLvNam6ygqulbQRnFvutoRujQGf+rnLAVQLCJAE6nM9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695302970; a=rsa-sha256; cv=none; b=uJ93PEh/Ge7u9b7WaEEx3GREG0U3IS+p8cRlj4rT0NhxU1h5zDexzJRuvAyAWcEGB1iv8H O/Ie9CgOslOsnpOPQEcaIY6mn3ueemVhFEeC+/3AoWsIIqgkqd0OR3wHK5ijSMBR9/x22k xYnQiHe4544x5w8X3dfugA9mlfLYxI88ExqbvJ+Dmjz9ca7g27DrKQtu+NkFdt5hmE3oYo geRdcyQ2uAhImweJmZUFDM6U6I7+c+PgIhYxyaQNbBXnxzLy4qLuOWi1FQg2FsPQqkRqG2 ha69VHDnNp38/QDSKSNP+VIASArSRWZ8utMMm54T1VVdMhnJZu1VfBFbiy+b0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=nJab2AAx; 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 1qjJjo-0004FM-0k; Thu, 21 Sep 2023 09:29:00 -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 1qjJjl-0004Ci-Os for guix-patches@gnu.org; Thu, 21 Sep 2023 09:28:57 -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 1qjJjl-0006co-GL for guix-patches@gnu.org; Thu, 21 Sep 2023 09:28:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjJjv-0004ug-Cr for guix-patches@gnu.org; Thu, 21 Sep 2023 09:29:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66129] [PATCH v2 17/20] gnu: Add suitesparse-mongoose. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Sep 2023 13:29: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.169530292518790 (code B ref 66129); Thu, 21 Sep 2023 13:29:07 +0000 Received: (at 66129) by debbugs.gnu.org; 21 Sep 2023 13:28:45 +0000 Received: from localhost ([127.0.0.1]:33065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJjY-0004st-ST for submit@debbugs.gnu.org; Thu, 21 Sep 2023 09:28:45 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJjQ-0004pt-9d for 66129@debbugs.gnu.org; Thu, 21 Sep 2023 09:28:37 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CE18A24010A for <66129@debbugs.gnu.org>; Thu, 21 Sep 2023 15:28:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695302905; bh=I2PevlWgz2xDOH23u0l9pAbhgb4QwG39SLssUce8ZXI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=nJab2AAxkHmSiR1u+bNvhh5MLnFJy32NJ3bjnQgVRTGWuWVgq8hw6DIzRccqavIPH kFhJcj2rKFNDdHkIxO1w6Ij0rddjCC3gbR3Gep/dD3SMEA1a5pwUxb+oxZFva6hLrd FoFQqRHQ0g3+sRcWwOjMlTXauMy2NZVwVFJycX2E7bZPOwaeJeLEhzRILGdQCetI1x 2a0uFJ7RxaueOuqpqm+Tid5s6t7He85kqwb29SP1r8NDZbrbAM6D+ee+4PSq4ye9G/ pUq/S3SFqiCHRwCZsAfzwpkTTG5tdVCNIBLUUWOkeG73kR3NU0MB12qkUVgjp+GeJ+ 1WTk1O9bUZBqQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rrx6x32JLz9s0l; Thu, 21 Sep 2023 15:28:25 +0200 (CEST) From: David Elsing Date: Thu, 21 Sep 2023 13:27:52 +0000 Message-ID: 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: 36CBA51257 X-Migadu-Scanner: mx0.migadu.com X-TUID: KpUTCw2B+qNa * gnu/packages/maths.scm (suitesparse-mongoose): New variable. --- gnu/packages/maths.scm | 72 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 2b7f7ef0ef..32b3a36871 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5549,6 +5549,78 @@ (define-public suitesparse-rbio for reading and writing sparse matrices in the Rutherford/Boeing format.") (license license:gpl2+))) +(define-public suitesparse-mongoose + (package + (name "suitesparse-mongoose") + (version "3.2.0") + (source (suitesparse-package-src name "Mongoose")) + (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 _ + ;; XeLaTeX fails with .eps graphics + (with-directory-excursion "../source/Doc" + (for-each + (lambda (name) + (invoke "epstopdf" name)) + (find-files "Figures" "\\.eps$")) + (substitute* "Mongoose_UserGuide.tex" + (("\\.eps") ".pdf")) + (invoke "make")))) + (add-after 'install 'install-doc + (lambda _ + (install-file "../source/Doc/Mongoose_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-epstopdf + (texlive-updmap.cfg + (list texlive-algorithmicx + texlive-booktabs + texlive-lastpage + texlive-multirow + texlive-pgf + texlive-caption + texlive-etoolbox + texlive-csquotes + texlive-fancybox + texlive-enumitem + texlive-microtype + texlive-cancel + texlive-sourcecodepro + texlive-xkeyval + texlive-fontspec + texlive-wasy + texlive-wasysym + texlive-float + texlive-tcolorbox + texlive-environ + texlive-xcolor + texlive-xetex + texlive-listings)))) + (home-page "https://people.engr.tamu.edu/davis/suitesparse.html") + (synopsis "Graph partitioning library") + (description "Mongoose is a library for graph partitioning by computing +edge cuts using a coarsening and refinement framework.") + (license license:gpl3))) + (define-public suitesparse (package (name "suitesparse") -- 2.41.0