GNU bug report logs - #78796
[PATCH] gnu: nlopt: Update to 2.10.0.

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Sun, 15 Jun 2025 07:09:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Full log


View this message in rfc822 format

From: Andy Tai <atai <at> atai.org>
To: 78796 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>, Andreas Enge <andreas <at> enge.fr>, Eric Bavier <bavier <at> posteo.net>, Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [bug#78796] [PATCH] gnu: nlopt: Update to 2.10.0.
Date: Sun, 15 Jun 2025 00:08:00 -0700
* gnu/packages/maths.scm (nlopt): Update to 2.10.0.
[arguments]<#:configure-flags>: Turn on building tests.

Change-Id: I78106ae3379b2cb3c896dcc1314da966fcd0b9a9
---
 gnu/packages/maths.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e6306c081d..2f6f7f37f6 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2590,7 +2590,7 @@ (define-public n2p2
 (define-public nlopt
   (package
     (name "nlopt")
-    (version "2.7.1")
+    (version "2.10.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2598,10 +2598,12 @@ (define-public nlopt
                     (commit (string-append "v" version))))
               (file-name (git-file-name name version))
               (sha256
-               (base32 "1xpdza28i8w441fwv6a5f3qk4zi7ys6ws9fx6kr5ny27dfdz6rr1"))))
+               (base32 "04257r7a1bjmm6hznf9v6fimz2p93dk745sf89wmxzhg3rh0ak44"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags
+          (list "-DNLOPT_TESTS=ON")
+      #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'set-libnlopt-file-name
            (lambda* (#:key outputs #:allow-other-keys)

base-commit: cf09bda7c52664b99ad2928e757cbac0e037829c
-- 
2.43.0





This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.