[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/11: gnu: nomad-optimizer: Update to 4.2.0.
From: |
guix-commits |
Subject: |
07/11: gnu: nomad-optimizer: Update to 4.2.0. |
Date: |
Tue, 19 Apr 2022 06:30:35 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 11e761b9a62a263054af5b68631460a57d375e80
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Tue Apr 12 18:57:49 2022 +0000
gnu: nomad-optimizer: Update to 4.2.0.
* gnu/packages/maths.scm (nomad-optimizer): Update to 4.2.0.
[arguments]: Accommodate updated build process.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/maths.scm | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 26ce64de69..798d336525 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1937,17 +1937,17 @@ interfaces.")
(define-public nomad-optimizer
(package
(name "nomad-optimizer")
- (version "4.1.0")
+ (version "4.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bbopt/nomad/")
- (commit (string-append "v" version))))
+ (commit (string-append "v." version))))
(file-name (git-file-name name version))
(sha256
(base32
- "0w386d8r5ldbvnv0c0g7vz95pfpvwdxis26vaalk2amsa5akl775"))))
+ "1r4ygy3xn83dnppsw1451ynklsxpb238g5gk57inn84ghmdk08mj"))))
(build-system cmake-build-system)
(native-inputs
(list python-wrapper python-cython))
@@ -1959,7 +1959,8 @@ interfaces.")
(guix build cmake-build-system)
(guix build utils))
#:configure-flags
- '("-DBUILD_INTERFACES=ON"
+ '("-DBUILD_INTERFACE_C=ON"
+ "-DBUILD_INTERFACE_PYTHON=ON"
"-DBUILD_TESTS=ON")
#:phases
(modify-phases %standard-phases
@@ -1993,8 +1994,11 @@ interfaces.")
(substitute* "interfaces/PyNomad/setup_PyNomad.py"
(("^( +os_include_dirs = ).*" _ prefix)
(string-append prefix "[\"../../src\"]\n"))
- (("^(installed_lib_dir = ).*" _ prefix)
- (string-append prefix "\"" out "/lib\"\n"))))))
+ (("^(installed_lib_dir1 = ).*" _ prefix)
+ (string-append prefix "\"" out "/lib\"\n"))
+ (("^installed_lib_dir2 = .*") "")
+ (("^ +link_args\\.append\\(\"-Wl,-rpath,\" \\+
installed_lib_dir2\\)\n")
+ "")))))
;; Fix the tests so they run in out-of-source builds.
(add-after 'fix-sources-for-build 'fix-sources-for-tests
- branch master updated (b24961717b -> 09555d22ea), guix-commits, 2022/04/19
- 06/11: gnu: nomad-optimizer: Remove trailing booleans., guix-commits, 2022/04/19
- 08/11: gnu: nomad-optimizer: Fix some tests., guix-commits, 2022/04/19
- 03/11: gnu: asymptote: Update to 2.80., guix-commits, 2022/04/19
- 09/11: gnu: libtcod: Remove trailing boolean., guix-commits, 2022/04/19
- 11/11: gnu: geary: Remove input labels., guix-commits, 2022/04/19
- 02/11: gnu: gnuplot: Update to 5.4.3., guix-commits, 2022/04/19
- 04/11: gnu: gmsh: Update to 4.9.5., guix-commits, 2022/04/19
- 01/11: services: yggdrasil: Tweak description., guix-commits, 2022/04/19
- 07/11: gnu: nomad-optimizer: Update to 4.2.0.,
guix-commits <=
- 10/11: gnu: geary: Add missing input., guix-commits, 2022/04/19
- 05/11: gnu: nomad-optimizer: Remove input labels., guix-commits, 2022/04/19