[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69729] [PATCH 14/41] gnu: ipopt: Switch to openblas.
From: |
Romain GARBAGE |
Subject: |
[bug#69729] [PATCH 14/41] gnu: ipopt: Switch to openblas. |
Date: |
Mon, 11 Mar 2024 12:06:55 +0100 |
* 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
- [bug#69729] [PATCH 00/41] Improve performance in lapack dependent packages., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 01/41] gnu: arpack-ng: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 02/41] gnu: armadillo: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 03/41] gnu: octave-cli: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 14/41] gnu: ipopt: Switch to openblas.,
Romain GARBAGE <=
- [bug#69729] [PATCH 05/41] gnu: hypre: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 11/41] gnu: gmsh: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 23/41] gnu: bonmin: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 04/41] gnu: scalapack: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 30/41] gnu: proteinortho: Remove dependency on lapack., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 36/41] gnu: giac: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 09/41] gnu: sbcl-lla: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 10/41] gnu: itpp: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 08/41] gnu: jags: Switch to openblas., Romain GARBAGE, 2024/03/11
- [bug#69729] [PATCH 13/41] gnu: fenics-dolfin: Remove dependency on lapack., Romain GARBAGE, 2024/03/11