From 30713c2c2ac8a01931516017dc70f797d6f1a0dd Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Tue, 25 May 2021 00:45:31 -0500 Subject: gnu: ipopt: Update to 3.13.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/maths.scm (ipopt): Update to 3.13.4, update URL. [license]: Change to LICENSE:EPL2.0. Co-authored-by: Ludovic Courtès --- gnu/packages/maths.scm | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 59598a242d..747ad1ddfd 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1752,21 +1752,16 @@ online as well as original implementations of various other algorithms.") (define-public ipopt (package (name "ipopt") - (version "3.12.12") + (version "3.13.4") (source (origin - (method url-fetch) - (uri (string-append - "https://www.coin-or.org/download/source/Ipopt/Ipopt-" - version".tgz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/coin-or/Ipopt") + (commit (string-append "releases/" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "07yn9rzdswjk8n246qq6ci9ssf2bcplkifcpsfz9j6cdxw9vgbkv")) - (modules '((guix build utils))) - (snippet - ;; Make sure we don't use the bundled software. - '(begin - (delete-file-recursively "ThirdParty") - #t)))) + "08gznhwhqv1x4baksz350ih8q16r5rd0k8vals6078m3h94khr4b")))) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases @@ -1786,7 +1781,8 @@ online as well as original implementations of various other algorithms.") after "\n"))) #t)))))) (native-inputs - `(("gfortran" ,gfortran))) + `(("gfortran" ,gfortran) + ("pkg-config" ,pkg-config))) (inputs ;; TODO: Maybe add dependency on COIN-MUMPS, ASL, and HSL. `(("lapack" ,lapack))) ;for both libblas and liblapack @@ -1796,7 +1792,7 @@ online as well as original implementations of various other algorithms.") "The Interior Point Optimizer (IPOPT) is a software package for large-scale nonlinear optimization. It provides C++, C, and Fortran interfaces.") - (license license:epl1.0))) + (license license:epl2.0))) (define-public cbc (package -- cgit v1.2.3