[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/15: gnu: Boost: Python input is not native.
From: |
guix-commits |
Subject: |
12/15: gnu: Boost: Python input is not native. |
Date: |
Tue, 5 Jul 2022 18:38:49 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 38aafcf958badfa6407ece2bb70c3b8dc70dba5e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jul 5 23:08:18 2022 +0200
gnu: Boost: Python input is not native.
Even though it is not referenced, and not used when cross-compiling, the
architecture should match.
* gnu/packages/boost.scm (boost)[native-inputs]: Move
PYTHON-MINIMAL-WRAPPER ...
[inputs]: ... here.
* gnu/packages/boost.scm (boost-for-mysql)[native-inputs, inputs]: Adjust
accordingly.
---
gnu/packages/boost.scm | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index d6307d587a..e0589c1d7b 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -84,12 +84,14 @@
(base32
"0fggarccddj6q4ifj3kn7g565rbhn4ia1vd45fxb7y57a6fmhpa7"))))
(build-system gnu-build-system)
- (inputs (list icu4c zlib))
+ (inputs
+ (append
+ (list icu4c zlib)
+ (if (%current-target-system)
+ '()
+ (list python-minimal-wrapper))))
(native-inputs
- (append (list perl tcsh)
- (if (%current-target-system)
- '()
- (list python-minimal-wrapper))))
+ (list perl tcsh))
(arguments
(list
#:imported-modules `((guix build python-build-system)
@@ -126,7 +128,7 @@
(replace 'configure
(lambda _
(let ((icu #$(this-package-input "icu4c"))
- (python #+(this-package-native-input
"python-minimal-wrapper")))
+ (python #$(this-package-input "python-minimal-wrapper")))
(substitute* '("libs/config/configure"
"libs/spirit/classic/phoenix/test/runtest.sh"
"tools/build/src/engine/execunix.cpp")
@@ -177,7 +179,7 @@
(let* ((static? (member "link=static" make-flags))
(libext (if static? ".a" ".so"))
(python-version (python-version
- #+(this-package-native-input
+ #$(this-package-input
"python-minimal-wrapper")))
(libboost_pythonNN
(string-append "libboost_python"
@@ -345,8 +347,8 @@ across a broad spectrum of applications.")
(delete 'provide-libboost_python)))
((#:make-flags make-flags)
#~(cons* "--without-python" #$make-flags))))
- (native-inputs
- (modify-inputs (package-native-inputs boost)
+ (inputs
+ (modify-inputs (package-inputs boost)
(delete "python-minimal-wrapper")))
(properties '((hidden? . #t)))))
- branch core-updates updated (2a023a7bd8 -> eb32bcea32), guix-commits, 2022/07/05
- 02/15: gnu: pango: Remove input labels., guix-commits, 2022/07/05
- 06/15: gnu: Poppler: Update to 22.07.0., guix-commits, 2022/07/05
- 03/15: gnu: dbus: Update to 1.14.0., guix-commits, 2022/07/05
- 01/15: gnu: pango: Update to 1.50.7., guix-commits, 2022/07/05
- 11/15: gnu: boost, boost-static: Consolidate libboost_python phases., guix-commits, 2022/07/05
- 08/15: gnu: gd: Add release-monitoring-url., guix-commits, 2022/07/05
- 12/15: gnu: Boost: Python input is not native.,
guix-commits <=
- 04/15: gnu: harfbuzz: Update to 4.4.1., guix-commits, 2022/07/05
- 05/15: gnu: Poppler: Disable tests., guix-commits, 2022/07/05
- 07/15: gnu: libvdpau: Update to 1.5., guix-commits, 2022/07/05
- 09/15: gnu: gd: Remove input labels., guix-commits, 2022/07/05
- 10/15: gnu: boost-mpi: Remove input labels., guix-commits, 2022/07/05
- 13/15: gnu: boost-mpi: OpenMPI is not native., guix-commits, 2022/07/05
- 15/15: gnu: Boost: Use #:configure-flags., guix-commits, 2022/07/05
- 14/15: gnu: Boost: Avoid usage of 'this-package-input'., guix-commits, 2022/07/05