unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Romain GARBAGE <romain.garbage@inria.fr>
To: 69729@debbugs.gnu.org
Cc: Romain GARBAGE <romain.garbage@inria.fr>
Subject: [bug#69729] [PATCH 14/41] gnu: ipopt: Switch to openblas.
Date: Mon, 11 Mar 2024 12:06:55 +0100	[thread overview]
Message-ID: <20240311110750.16327-15-romain.garbage@inria.fr> (raw)
In-Reply-To: <20240311110750.16327-2-romain.garbage@inria.fr>

* 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





  parent reply	other threads:[~2024-03-11 11:11 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-11 11:01 [bug#69729] [PATCH 00/41] Improve performance in lapack dependent packages Romain GARBAGE
2024-03-11 11:06 ` [bug#69729] [PATCH 01/41] gnu: arpack-ng: Switch to openblas Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 02/41] gnu: armadillo: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 03/41] gnu: octave-cli: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 04/41] gnu: scalapack: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 05/41] gnu: hypre: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 06/41] gnu: igraph: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 07/41] gnu: vosk-api: Remove dependency on lapack Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 08/41] gnu: jags: Switch to openblas Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 09/41] gnu: sbcl-lla: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 10/41] gnu: itpp: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 11/41] gnu: gmsh: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 12/41] gnu: ghc-hmatrix: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 13/41] gnu: fenics-dolfin: Remove dependency on lapack Romain GARBAGE
2024-03-11 11:06   ` Romain GARBAGE [this message]
2024-03-11 11:06   ` [bug#69729] [PATCH 15/41] gnu: ceres: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 16/41] gnu: sundials-julia: Switch to openblas Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 17/41] gnu: plink: " Romain GARBAGE
2024-03-11 11:06   ` [bug#69729] [PATCH 18/41] gnu: p4est: Remove dependency on lapack Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 19/41] gnu: plink-ng: Remove lapack dep Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 20/41] gnu: dealii: Remove dependency on lapack Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 21/41] gnu: elemental: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 22/41] gnu: superlu-dist: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 23/41] gnu: bonmin: Switch to openblas Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 24/41] gnu: mpb: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 25/41] gnu: meep: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 26/41] gnu: casacore: Remove dependency on lapack Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 27/41] gnu: aoflagger: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 28/41] gnu: apl: Switch to openblas Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 29/41] gnu: eigensoft: Remove dependency on lapack Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 30/41] gnu: proteinortho: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 31/41] gnu: scilab: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 32/41] gnu: python-cvxopt: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 33/41] gnu: dlib: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 34/41] gnu: grass: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 35/41] gnu: harminv: Switch to openblas Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 36/41] gnu: giac: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 37/41] gnu: libflame: " Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 38/41] gnu: lush2: Remove dependency on lapack Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 39/41] gnu: shogun: Switch to openblas Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 40/41] gnu: kaldi-for-vosk: Remove dependency on lapack Romain GARBAGE
2024-03-11 11:07   ` [bug#69729] [PATCH 41/41] gnu: ocaml-lacaml: " Romain GARBAGE
2024-03-28 10:40 ` [bug#69729] [PATCH 00/41] Improve performance in lapack dependent packages Ludovic Courtès
2024-04-02 20:52   ` Christopher Baines
2024-04-04 15:17 ` bug#69729: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240311110750.16327-15-romain.garbage@inria.fr \
    --to=romain.garbage@inria.fr \
    --cc=69729@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).