From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kI9eBPvm7mWOOAAA62LTzQ:P1 (envelope-from ) for ; Mon, 11 Mar 2024 12:11:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kI9eBPvm7mWOOAAA62LTzQ (envelope-from ) for ; Mon, 11 Mar 2024 12:11:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=ixrPxvNC; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710155514; 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=MR1RHr5N+1DEdawoR7RJ/2oPaGbhwNfAvBRW+reqCGM=; b=Qrws5X4yprGKaZIxMVnTx9Ibz8K8G3C+QXQwLpiITzbHQu8NwOfXqMFVefDxwPlJ/7GPvY IA2BJb8wjaKBXzekvgQyZoTlwQktwnXcbZCIhWsKGX8KQhrwf2yFu+6d6RVekd/V7f9Mau vrLhbp7fOhzrjgI9ClAVUhkTfeykb8gQrYhcQ6k0E3bPrlXYRM8gZP94yV72gF+dY7HyBf eHT8kqXJqGHYAWeCnAehQ7V/GrLIfTBH+wyxnG35j0uq20WWDhaWUq2K/vRU/zSbFVb2qE Ls1V7aMdRCSeU57g03vqxy/ysWl211UI1hL8DJsGXeQMdIFx/oqwYwjO6qH85w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=ixrPxvNC; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710155514; a=rsa-sha256; cv=none; b=gW1O2UAPF/g55Ux1mLmGWG7UqcpvM0kPsEqKjGm1JoE68oBB1/JB037Lo8X4ivLYowS4Tp VhMX0N3dtMyXQpojoky/XwreuyUjPyv7UkF3vFGvxqJeaZNHTVYaCUuaEevArf77sYQDR+ ZbXgoWl1tyVoidHaQHJcu3NqwmpmFXiUdAg/59s/6qkFO4gH3+/IinFocsRontxcI6/kt0 5lVzuAMnjwFGG3SxfqUXJ3sWO5lTyBQ9C4Wp6eetpMjuIUkMl4nuOylFR4XD7VLsNszdTN vpWIDrOa7iZfkXaBVg1VKfBRA5LrddXFDZ3AlxzA+Nb/k+P0vncLppswXfDraA== 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 E448D1D45D for ; Mon, 11 Mar 2024 12:11:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjdYj-0006dy-1A; Mon, 11 Mar 2024 07:11:09 -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 1rjdXE-0005vy-Im for guix-patches@gnu.org; Mon, 11 Mar 2024 07:09:36 -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 1rjdXD-0001Ux-0l for guix-patches@gnu.org; Mon, 11 Mar 2024 07:09:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjdXk-0002iM-QC for guix-patches@gnu.org; Mon, 11 Mar 2024 07:10:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69729] [PATCH 14/41] gnu: ipopt: 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:08 +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.171015536210141 (code B ref 69729); Mon, 11 Mar 2024 11:10:08 +0000 Received: (at 69729) by debbugs.gnu.org; 11 Mar 2024 11:09:22 +0000 Received: from localhost ([127.0.0.1]:39037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjdWz-0002dS-RM for submit@debbugs.gnu.org; Mon, 11 Mar 2024 07:09:22 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:58345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjdWk-0002Y7-1N for 69729@debbugs.gnu.org; Mon, 11 Mar 2024 07:09:07 -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=MR1RHr5N+1DEdawoR7RJ/2oPaGbhwNfAvBRW+reqCGM=; b=ixrPxvNC+6qiG6eASGuNQ6OdHNLknmF31KXolQnIJ5B7FQQzWPTn5Hlg rm/nX0aUeZhXJ+uXGZGS+of9OkqHmip1ltLR2TEZP+zi9NZQkpbCZLZoA txUpM2ONn7at5VDUAfReg8jFC5V1QERrtVBMoP/mE5dUA4lhvOpc2Zd3M o=; 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="81786634" 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:55 +0100 Message-ID: <20240311110750.16327-15-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: 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 4.22 X-Spam-Score: 4.22 X-Migadu-Queue-Id: E448D1D45D X-TUID: IfK8nA/gYVcv * gnu/packages/maths.scm (ipopt): Switch input dependency from lapack to openblas and add required configure flags. Change-Id: I58b84f0741a973adf81da1716e2e2659af1c50c4 --- gnu/packages/maths.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index d38dac267f..916dcde2c1 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2399,7 +2399,8 @@ (define-public ipopt "08gznhwhqv1x4baksz350ih8q16r5rd0k8vals6078m3h94khr4b")))) (build-system gnu-build-system) (arguments - '(#:phases (modify-phases %standard-phases + '(#:configure-flags (list "--with-lapack=-lopenblas") + #:phases (modify-phases %standard-phases (add-after 'install 'add--L-flags-in-ipopt.pc (lambda* (#:key inputs outputs #:allow-other-keys) ;; The '.pc' file lists '-llapack -lblas' in "Libs"; @@ -2412,14 +2413,14 @@ (define-public ipopt (("Libs: (.*)-llapack -lblas(.*)$" _ before after) (string-append "Libs: " before " " after "\n" "Libs.private: " before - "-L" lapack "/lib -llapack -lblas " + "-L" openblas "/lib -lopenblas" after "\n"))) #t)))))) (native-inputs (list gfortran pkg-config)) (inputs ;; TODO: Maybe add dependency on COIN-MUMPS, ASL, and HSL. - (list lapack)) ;for both libblas and liblapack + (list openblas)) ;for both libblas and liblapack (home-page "https://www.coin-or.org") (synopsis "Large-scale nonlinear optimizer") (description -- 2.41.0