From patchwork Mon Mar 11 11:06:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 61645 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 40FF427BBE9; Mon, 11 Mar 2024 11:11:47 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 748B527BBE2 for ; Mon, 11 Mar 2024 11:11:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjdYr-0006qD-HG; Mon, 11 Mar 2024 07:11:17 -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 1rjdXB-0005u5-Ub for guix-patches@gnu.org; Mon, 11 Mar 2024 07:09:34 -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 1rjdXB-0001Ub-ME for guix-patches@gnu.org; Mon, 11 Mar 2024 07:09:33 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjdXj-0002i0-G0 for guix-patches@gnu.org; Mon, 11 Mar 2024 07:10:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69729] [PATCH 12/41] gnu: ghc-hmatrix: Switch to openblas. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Mar 2024 11:10:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69729@debbugs.gnu.org Cc: Romain GARBAGE Received: via spool by 69729-submit@debbugs.gnu.org id=B69729.171015536110116 (code B ref 69729); Mon, 11 Mar 2024 11:10:07 +0000 Received: (at 69729) by debbugs.gnu.org; 11 Mar 2024 11:09:21 +0000 Received: from localhost ([127.0.0.1]:39031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjdWy-0002cz-Mh for submit@debbugs.gnu.org; Mon, 11 Mar 2024 07:09:20 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:58344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjdWi-0002Y1-TK for 69729@debbugs.gnu.org; Mon, 11 Mar 2024 07:09:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CF2px0CcoEvx5Dew1u3kHpZ36nq06rR+2a6psVLrne4=; b=i9OYM5k98nepobGPf1jtb3qikHNhUa77LydeJfHHZhsWJQCgrMNsLFxI +fpH6OaJ6WidwZfykNnp1PJxfvJU7jtHXmwihFFcBXnXKQflZ+pjdreIP FwX6+FGshqGTSd5w/3p9WjefNOMvXD7UmbaqX9piiRAUS/xm0MeHEdb2E 0=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; spf=None smtp.helo=postmaster@guix-A102.bordeaux.inria.fr Received-SPF: SoftFail (mail3-relais-sop.national.inria.fr: domain of romain.garbage@inria.fr is inclined to not designate 193.50.110.70 as permitted sender) identity=mailfrom; client-ip=193.50.110.70; receiver=mail3-relais-sop.national.inria.fr; envelope-from="romain.garbage@inria.fr"; x-sender="romain.garbage@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 include:mailout.safebrands.com a:basic-mail.safebrands.com a:basic-mail01.safebrands.com a:basic-mail02.safebrands.com ip4:128.93.142.0/24 ip4:192.134.164.0/24 ip4:128.93.162.160 ip4:89.107.174.7 mx ~all" Received-SPF: None (mail3-relais-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@guix-A102.bordeaux.inria.fr) identity=helo; client-ip=193.50.110.70; receiver=mail3-relais-sop.national.inria.fr; envelope-from="romain.garbage@inria.fr"; x-sender="postmaster@guix-A102.bordeaux.inria.fr"; x-conformance=spf_only X-IronPort-AV: E=Sophos;i="6.07,116,1708383600"; d="scan'208";a="81786630" Received: from unknown (HELO guix-A102.bordeaux.inria.fr) ([193.50.110.70]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2024 12:08:20 +0100 From: Romain GARBAGE Date: Mon, 11 Mar 2024 12:06:53 +0100 Message-ID: <20240311110750.16327-13-romain.garbage@inria.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240311110750.16327-2-romain.garbage@inria.fr> References: <20240311110750.16327-2-romain.garbage@inria.fr> 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/haskell-xyz.scm (ghc-hmatrix): Switch input dependency from lapack to openblas. Add configure flags. Change-Id: Ic8924b1fb9fa61af16abd1ac2a22c82a352a8e1b --- gnu/packages/haskell-xyz.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 5d9e5757a0..b5943f2f47 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -5325,18 +5325,15 @@ (define-public ghc-hmatrix (build-system haskell-build-system) (properties '((upstream-name . "hmatrix"))) (arguments - `(#:extra-directories ("lapack"))) + `(#:configure-flags '("--flags=openblas") + #:extra-directories ("openblas"))) (inputs (list ghc-random ghc-split ghc-storable-complex ghc-semigroups ghc-vector - ;;("openblas" ,openblas) - lapack)) - ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which - ;; disables inclusion of the LAPACK functions. - ;; (arguments `(#:configure-flags '("--flags=openblas"))) + openblas)) (home-page "https://github.com/albertoruiz/hmatrix") (synopsis "Haskell numeric linear algebra library") (description "The HMatrix package provices a Haskell library for