[bug#78796] gnu: nlopt: Update to 2.10.0.
Commit Message
* 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(-)
base-commit: cf09bda7c52664b99ad2928e757cbac0e037829c
Comments
Hello Andy,
after checking that all direct dependents that built before do still
build, I have pushed this patch. While it does not (yet) help with
updating octave, it at least makes some progress. Thanks!
Andreas
@@ -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)