all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#48641] Update Ipopt
@ 2021-05-25  6:03 Eric Brown via Guix-patches via
  2021-05-28 20:22 ` bug#48641: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Brown via Guix-patches via @ 2021-05-25  6:03 UTC (permalink / raw)
  To: 48641

[-- Attachment #1: Type: text/plain, Size: 321 bytes --]

Hello Guix,

This is a patch which updates Ipopt to the latest version.  Since the source tarball is not on the usual COIN-OR servers, I have adjusted so it pulls the release from the from Github repo.

(I'm not sure why Ipopt requires lapack instead of supporting also OpenBLAS.  Will investigate.)

Best regards,
Eric


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-ipopt-Update-to-3.13.4.patch --]
[-- Type: text/x-patch; name="0001-gnu-ipopt-Update-to-3.13.4.patch", Size: 2203 bytes --]

From cb059fe21d9655b747e5a850d7b50bc0b7b05903 Mon Sep 17 00:00:00 2001
From: Eric Brown <ecbrown@ericcbrown.com>
Date: Tue, 25 May 2021 00:45:31 -0500
Subject: [PATCH] gnu: ipopt: Update to 3.13.4

* gnu/packages/maths.scm (ipopt): Update to 3.13.4, update URL.
---
 gnu/packages/maths.scm | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ee0a69bbd7..cde480e1f3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1749,21 +1749,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
@@ -1783,7 +1778,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
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#48641: Update Ipopt
  2021-05-25  6:03 [bug#48641] Update Ipopt Eric Brown via Guix-patches via
@ 2021-05-28 20:22 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-05-28 20:22 UTC (permalink / raw)
  To: Eric Brown; +Cc: 48641-done

Hi,

"Eric Brown" <eric.c.brown@mac.com> skribis:

> From cb059fe21d9655b747e5a850d7b50bc0b7b05903 Mon Sep 17 00:00:00 2001
> From: Eric Brown <ecbrown@ericcbrown.com>
> Date: Tue, 25 May 2021 00:45:31 -0500
> Subject: [PATCH] gnu: ipopt: Update to 3.13.4
>
> * gnu/packages/maths.scm (ipopt): Update to 3.13.4, update URL.

Applied.  I also changed the license to ‘epl2.0’ as per ‘LICENSE’.

Thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-28 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-25  6:03 [bug#48641] Update Ipopt Eric Brown via Guix-patches via
2021-05-28 20:22 ` bug#48641: " Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.