[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54635] [PATCH v2 4/5] gnu: atomic-queue: Do not look for boost when
From: |
Arun Isaac |
Subject: |
[bug#54635] [PATCH v2 4/5] gnu: atomic-queue: Do not look for boost when cross-compiling. |
Date: |
Thu, 31 Mar 2022 12:58:48 +0530 |
* gnu/packages/cpp.scm (atomic-queue)[arguments]: When cross-compiling, add a
do-not-check-for-boost phase.
---
gnu/packages/cpp.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index eb48902034..b0d4fdeb3e 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1294,6 +1294,15 @@ (define-public atomic-queue
`(#:configure-flags '("-Dbenchmarks=false")
#:phases
(modify-phases %standard-phases
+ ,@(if (%current-target-system)
+ `(;; boost is a test dependency. We don't run tests when
+ ;; cross-compiling. Disable all targets that depend on it.
+ (add-after 'unpack 'do-not-check-for-boost
+ (lambda _
+ (substitute* "meson.build"
+ (("unit_test_framework = [^\n]*" all)
+ "unit_test_framework = disabler()")))))
+ '())
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
--
2.34.0
- [bug#54635] [PATCH 5/5] gnu: Add wfmash., (continued)
- [bug#54635] [PATCH 5/5] gnu: Add wfmash., Arun Isaac, 2022/03/30
- [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux., Maxime Devos, 2022/03/30
- [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux., Maxime Devos, 2022/03/30
- [bug#54635] [PATCH v2 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux., Arun Isaac, 2022/03/31
- [bug#54635] [PATCH v2 3/5] gnu: atomic-queue: Run tests correctly., Arun Isaac, 2022/03/31
- [bug#54635] [PATCH v2 4/5] gnu: atomic-queue: Do not look for boost when cross-compiling.,
Arun Isaac <=
- [bug#54635] [PATCH v2 5/5] gnu: Add wfmash., Arun Isaac, 2022/03/31
- [bug#54635] [PATCH v2 5/5] gnu: Add wfmash., Maxime Devos, 2022/03/31
- [bug#54635] [PATCH v2 5/5] gnu: Add wfmash., Efraim Flashner, 2022/03/31
- [bug#54635] [PATCH v2 5/5] gnu: Add wfmash., Maxime Devos, 2022/03/31
- [bug#54635] [PATCH v2 5/5] gnu: Add wfmash., Efraim Flashner, 2022/03/31
- bug#54635: [PATCH v2 5/5] gnu: Add wfmash., Efraim Flashner, 2022/03/31
- [bug#54635] [PATCH v2 2/5] gnu: htslib: Add bzip2 and xz to inputs., Arun Isaac, 2022/03/31