diff options
author | Eric Brown <ecbrown@ericcbrown.com> | 2021-05-25 00:45:31 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-05-28 23:04:43 +0200 |
commit | 30713c2c2ac8a01931516017dc70f797d6f1a0dd (patch) | |
tree | b78e9c3c42a855c7387ca78c1ad101c4ec98f03a | |
parent | f5871b19cc32593149b91ca3f33075200844b4c0 (diff) | |
download | guix-30713c2c2ac8a01931516017dc70f797d6f1a0dd.tar.gz |
gnu: ipopt: Update to 3.13.4
* gnu/packages/maths.scm (ipopt): Update to 3.13.4, update URL. [license]: Change to LICENSE:EPL2.0. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/maths.scm | 24 |
1 files changed, 10 insertions, 14 deletions
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 |