From patchwork Sun Dec 22 17:26:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 35191 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 E49C927BBE2; Sun, 22 Dec 2024 17:29:45 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 30F1D27BBEA for ; Sun, 22 Dec 2024 17:29:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPPkR-0006mt-OQ; Sun, 22 Dec 2024 12:28:11 -0500 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 1tPPkN-0006lW-FF for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:08 -0500 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 1tPPkN-0001xQ-4A for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Hl2cOISG0XW9Lu4Joncg+umx5xeCzUlDDu+MCsHNEQE=; b=P4jwFbL/NutmqKqZnEPbTMTyHKL/9SglKe+/SQdJ0zAxjCe4klQqaQiIDZEdIMF21B0VM5hSL4LkErMVvYv/ndf4be6nqZmC1nAK/RTwbcWQ5n3QR2HgEZLjdqgKTyhcxR04H7H3BS1hVM+w06LDZ+uehtR12Ze8LN0vjuXEzUH5bUZoUExCTYPPjoUc7GFoVxDgQ3cQFJ+dearlYMOBZjzskFaW1uj3BEo3OShjsuUTSh+Qd7VAKPm6VVONc+bsesoIup5Q7HRhPLOn6G8Ks68xbQmtQW1e/yNer85VwPDhhpuYO7hqVola/F7FYTn72C7/n8cyIYTjPxOysfL/UQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPPkM-0007sI-U7 for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75032] [PATCH 09/13] gnu: Add palp. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Dec 2024 17:28:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75032 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75032@debbugs.gnu.org Cc: vicvbcun Received: via spool by 75032-submit@debbugs.gnu.org id=B75032.173488846830134 (code B ref 75032); Sun, 22 Dec 2024 17:28:06 +0000 Received: (at 75032) by debbugs.gnu.org; 22 Dec 2024 17:27:48 +0000 Received: from localhost ([127.0.0.1]:51743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPk3-0007ps-OF for submit@debbugs.gnu.org; Sun, 22 Dec 2024 12:27:48 -0500 Received: from mout02.posteo.de ([185.67.36.66]:60149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPk1-0007pH-5o for 75032@debbugs.gnu.org; Sun, 22 Dec 2024 12:27:46 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5B6E0240101 for <75032@debbugs.gnu.org>; Sun, 22 Dec 2024 18:27:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734888458; bh=wUsRMDkDVQe/FpeK3P86R5JyaefgeQ1fMmP2s4rMgU0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=KKi64wL/qEsFBrZEvqFFsjFpWGiJBG1OJb565/f2CHkig79n0MwLkJGUKsu+/Q5t1 vRdrvoRh9pSFfxrIHJ6sJkpWUIt814JIaVawVWD0xZem6qqSrLuoGGzeWn7RPHInES yVXcxq+oEYJJC7hu1qhSbJWdqmMiBEk6I6tr3beibsi1OwRTNs7Vacv4K5Q7iWXwH7 OM2CUen4aMQkhis8V7t5D3GM+m0XvJhxkVdXt8SgIlnhDQV6HNJ0ACRO7bkAH90Tha BZuGUhC8+BaPL6NagZjY7AL2mfPdotFsyxaou1qcKHZ4ycMHZrfbYhbXvgfK52K/u7 h3L6FTnLHkaYw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YGSlY1vzVz9rxB; Sun, 22 Dec 2024 18:27:36 +0100 (CET) From: Vinicius Monego Date: Sun, 22 Dec 2024 17:26:53 +0000 Message-Id: In-Reply-To: References: 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 From: vicvbcun * gnu/packages/maths.scm (palp): New variable. Change-Id: I37ee870858fef505999dfdc02d1955673366d718 Co-authored by: Vinicius Monego Change-Id: I853cbccca5c34355d9df74a3cbbd5f818a21ebb5 --- gnu/packages/maths.scm | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 35de236ba2..e89c17a2c0 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5573,6 +5573,37 @@ (define-public libblastrampoline library.") (license license:expat))) +(define-public palp + (package + (name "palp") + (version "2.21") + (source (origin + (method url-fetch) + (uri (string-append + "http://hep.itp.tuwien.ac.at/~kreuzer/CY/palp/palp-" + version ".tar.gz")) + (sha256 + (base32 + "1myxjv0jxgr9acchwnjh9g5l61wxwiva3q6c1d6892lr37r7njky")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags #~(list (string-append "CC=" #$(cc-for-target))) + #:tests? #f ; no tests + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda _ + (for-each + (lambda (name) + (install-file name (string-append #$output "/bin"))) + '("class.x" "cws.x" "mori.x" "nef.x" "poly.x"))))))) + (home-page "http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html") + (synopsis "Package for Analyzing Lattice Polytopes") + (description + "PALP is a set of programs for calculations with lattice polytopes and +applications to toric geometry.") + (license license:gpl3))) + (define-public blis (package (name "blis") @@ -5600,9 +5631,9 @@ (define-public blis #~(modify-phases %standard-phases (replace 'configure (lambda* (#:key outputs target system (configure-flags '()) - #:allow-other-keys) + #:allow-other-keys) ;; This is a home-made 'configure' script. - (let* (;; Guix-specific support for choosing the configuration + (let* ( ;; Guix-specific support for choosing the configuration ;; via #:configure-flags: see below for details. (config-flag-prefix "--blis-config=") (maybe-config-flag (find