all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Brown via Guix-patches via <guix-patches@gnu.org>
To: 48641@debbugs.gnu.org
Subject: [bug#48641] Update Ipopt
Date: Tue, 25 May 2021 01:03:40 -0500	[thread overview]
Message-ID: <5af4a3cb-ba8c-49c6-a95e-318a3ab728d3@www.fastmail.com> (raw)

[-- 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


             reply	other threads:[~2021-05-25 13:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25  6:03 Eric Brown via Guix-patches via [this message]
2021-05-28 20:22 ` bug#48641: Update Ipopt 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

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

  git send-email \
    --in-reply-to=5af4a3cb-ba8c-49c6-a95e-318a3ab728d3@www.fastmail.com \
    --to=guix-patches@gnu.org \
    --cc=48641@debbugs.gnu.org \
    --cc=eric.c.brown@mac.com \
    /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 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.