Message ID | 20240311110750.16327-42-romain.garbage@inria.fr |
---|---|
State | New |
Headers | show
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CAD6D27BBE9; Mon, 11 Mar 2024 11:22:16 +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 AAC4B27BBE2 for <patchwork@mira.cbaines.net>; Mon, 11 Mar 2024 11:22:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1rjdir-0003Rd-3v; Mon, 11 Mar 2024 07:21:37 -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 <Debian-debbugs@debbugs.gnu.org>) id 1rjdio-0003RE-VR for guix-patches@gnu.org; Mon, 11 Mar 2024 07:21: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 <Debian-debbugs@debbugs.gnu.org>) id 1rjdij-0004HT-KF for guix-patches@gnu.org; Mon, 11 Mar 2024 07:21:34 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rjdjH-00035m-Cf for guix-patches@gnu.org; Mon, 11 Mar 2024 07:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69729] [PATCH 41/41] gnu: ocaml-lacaml: Remove dependency on lapack. Resent-From: Romain GARBAGE <romain.garbage@inria.fr> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Mar 2024 11:22:03 +0000 Resent-Message-ID: <handler.69729.B69729.171015608011781@debbugs.gnu.org> 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 <romain.garbage@inria.fr> Received: via spool by 69729-submit@debbugs.gnu.org id=B69729.171015608011781 (code B ref 69729); Mon, 11 Mar 2024 11:22:03 +0000 Received: (at 69729) by debbugs.gnu.org; 11 Mar 2024 11:21:20 +0000 Received: from localhost ([127.0.0.1]:39131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1rjdia-00033r-03 for submit@debbugs.gnu.org; Mon, 11 Mar 2024 07:21:20 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:58339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <romain.garbage@inria.fr>) id 1rjdWr-0002Xe-8s for 69729@debbugs.gnu.org; Mon, 11 Mar 2024 07:09:14 -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=sgxXTNjESC+Pr4CvlVOZ1cDSB8EwZoxvY1oMu0c+Yzg=; b=skGfn7qbutxBENZlThylkwWEVFEasyAMVQp+Oxofz5TkKLVW4tRebnX3 CqJjpHFVbP7iejL9iu9FNC65SUdvxPLJASG4oEqA1SMrxsyFhEg613oPH 77gIUkn6KZUBagVgzh6EkgtGxE67aocrq8Pel+Fy8eNHlpN89ct3ZCu4b o=; 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="81786691" 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:23 +0100 From: Romain GARBAGE <romain.garbage@inria.fr> Date: Mon, 11 Mar 2024 12:07:22 +0100 Message-ID: <20240311110750.16327-42-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 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=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 |
Series |
Improve performance in lapack dependent packages.
|
expand
|
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 0f4c351141..a45b2d3592 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8344,9 +8344,14 @@ (define-public ocaml-lacaml (properties '((tunable? . #t))) (build-system dune-build-system) (arguments - `(#:tests? #f)) ; No test target. + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'find-openblas + (lambda* _ + (setenv "LACAML_LIBS" "-lopenblas")))) + #:tests? #f)) ; No test target. (native-inputs - (list openblas lapack ocaml-base ocaml-stdio)) + (list openblas ocaml-base ocaml-stdio)) (home-page "https://mmottl.github.io/lacaml/") (synopsis "OCaml-bindings to BLAS and LAPACK")