[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: atomic-queue: Do not look for boost when cross-compiling.
From: |
guix-commits |
Subject: |
04/06: gnu: atomic-queue: Do not look for boost when cross-compiling. |
Date: |
Thu, 31 Mar 2022 09:31:57 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 8524904e082464b7eb0c10037613b73da4d4df5e
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Thu Mar 31 12:58:48 2022 +0530
gnu: atomic-queue: Do not look for boost when cross-compiling.
* gnu/packages/cpp.scm (atomic-queue)[arguments]: When cross-compiling, add
a
do-not-check-for-boost phase.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
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 @@ provides a number of utilities to make coding with
expected cleaner.")
`(#: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?
- branch master updated (a69a44bf59 -> 8f3dc994bb), guix-commits, 2022/03/31
- 02/06: gnu: htslib: Add bzip2 and xz to inputs., guix-commits, 2022/03/31
- 01/06: gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux., guix-commits, 2022/03/31
- 04/06: gnu: atomic-queue: Do not look for boost when cross-compiling.,
guix-commits <=
- 03/06: gnu: atomic-queue: Run tests correctly., guix-commits, 2022/03/31
- 05/06: gnu: Add wfmash., guix-commits, 2022/03/31
- 06/06: gnu: wfmash: Enable test suite., guix-commits, 2022/03/31