From patchwork Thu Sep 21 13:27:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 54125 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EACB427BBEA; Thu, 21 Sep 2023 14:29:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7D89427BBE2 for ; Thu, 21 Sep 2023 14:29:38 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjJjn-0004DP-5L; 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-0004BK-Lk 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 1qjJjk-0006c1-CT for guix-patches@gnu.org; Thu, 21 Sep 2023 09:28:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjJju-0004uR-91 for guix-patches@gnu.org; Thu, 21 Sep 2023 09:29:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66129] [PATCH v2 08/20] gnu: Add gklib. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Sep 2023 13:29:06 +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.169530292418775 (code B ref 66129); Thu, 21 Sep 2023 13:29:06 +0000 Received: (at 66129) by debbugs.gnu.org; 21 Sep 2023 13:28:44 +0000 Received: from localhost ([127.0.0.1]:33061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJjX-0004se-Ur for submit@debbugs.gnu.org; Thu, 21 Sep 2023 09:28:44 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJjO-0004pq-9P for 66129@debbugs.gnu.org; Thu, 21 Sep 2023 09:28:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9D38E240028 for <66129@debbugs.gnu.org>; Thu, 21 Sep 2023 15:28:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695302898; bh=BxnN4PNmMcGOWFg1A984UAyvM6YenH52HQANVD7nmbc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=rU1BLPiubEw+9q9XsddZ6ELUCHfBEZLk+qtiAv6O4OlZrXKkdX4bbQ7MD9iTjr6IH //EXEkY4bvxMqyySakl/nBwHX7wvv1R3VLQzmzaEzR2K8cpOFyBPOyGtsiUGA5U5RD LtwwGwdd0Om0/EPS7MYbWuh4sEUmWYu1xh5uoiFyuZ37c21rYdCStezjMIpEpFDU3r oAvLTFHtLkdMrVt0wbOhWcBWkBcSUxOSu9jUs7MOdaSYZCJjs2bO2eMsuOfpi79U1h ffbRjNwJtOa6/mug/HjhD14bonFVWjLQqTOHbThleLJ4/tzopcxO1Cn2yQdk4apxaa GCA9YEBYh6DZw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rrx6p289Qz9s0l; Thu, 21 Sep 2023 15:28:18 +0200 (CEST) From: David Elsing Date: Thu, 21 Sep 2023 13:27:43 +0000 Message-ID: <03c05cd0488fa4c7cd6d1df8c511e72852f7c056.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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/maths.scm (gklib): New variable. --- gnu/packages/maths.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 8f27134ba8..a2650b3101 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4193,6 +4193,42 @@ (define-public scotch-shared (define-public pt-scotch-shared (deprecated-package "pt-scotch-shared" pt-scotch)) +(define-public gklib + (let ((commit "8bd6bad750b2b0d90800c632cf18e8ee93ad72d7") + (revision "1")) + (package + (name "gklib") + (version (git-version "5.1.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/KarypisLab/GKlib") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08k4zzyd7zsisdhfmnwz7zb9w3pzpgagyjq52mwk8i6sqajdxsdn")))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DBUILD_SHARED_LIBS=ON" + #$@(if (target-x86?) + '() + '("-DNO_X86=1"))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-march=native + (lambda _ + (substitute* "GKlibSystem.cmake" + (("-march=native") ""))))))) + (home-page "https://github.com/KarypisLab/GKlib") + (synopsis "Helper library for METIS") + (description + "GKlib is a library of various helper routines and frameworks used by +software from KarypisLab, such as METIS.") + (license license:asl2.0)))) (define-public metis (package