From: Arun Isaac <arunisaac@systemreboot.net>
To: Efraim Flashner <efraim@flashner.co.il>,
Maxime Devos <maximedevos@telenet.be>
Cc: 54635@debbugs.gnu.org, Arun Isaac <arunisaac@systemreboot.net>
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 [thread overview]
Message-ID: <20220331072849.22417-4-arunisaac@systemreboot.net> (raw)
In-Reply-To: <YkRBijIJ16QKrr5G@3900XT>
* 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
next prev parent reply other threads:[~2022-03-31 7:30 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 9:19 [bug#54635] [PATCH 0/5] Add wfmash Arun Isaac
2022-03-30 9:23 ` [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux Arun Isaac
2022-03-30 9:23 ` [bug#54635] [PATCH 2/5] gnu: htslib: Add bzip2 and xz to inputs Arun Isaac
2022-03-30 9:23 ` [bug#54635] [PATCH 3/5] gnu: atomic-queue: Run tests correctly Arun Isaac
2022-03-30 9:23 ` [bug#54635] [PATCH 4/5] gnu: atomic-queue: Do not depend on boost when cross-compiling Arun Isaac
2022-03-30 11:49 ` Maxime Devos
2022-03-31 7:24 ` Arun Isaac
2022-03-30 9:23 ` [bug#54635] [PATCH 5/5] gnu: Add wfmash Arun Isaac
2022-03-30 11:33 ` [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux Maxime Devos
2022-03-31 6:14 ` Arun Isaac
2022-03-30 11:36 ` Maxime Devos
2022-03-30 11:39 ` Efraim Flashner
2022-03-31 6:33 ` Arun Isaac
2022-03-31 11:29 ` Maxime Devos
2022-03-31 12:35 ` Efraim Flashner
2022-03-31 7:28 ` [bug#54635] [PATCH v2 " Arun Isaac
2022-03-31 7:28 ` [bug#54635] [PATCH v2 2/5] gnu: htslib: Add bzip2 and xz to inputs Arun Isaac
2022-03-31 7:28 ` [bug#54635] [PATCH v2 3/5] gnu: atomic-queue: Run tests correctly Arun Isaac
2022-03-31 7:28 ` Arun Isaac [this message]
2022-03-31 7:28 ` [bug#54635] [PATCH v2 5/5] gnu: Add wfmash Arun Isaac
2022-03-31 11:34 ` Maxime Devos
2022-03-31 12:18 ` Efraim Flashner
2022-03-31 13:07 ` Maxime Devos
2022-03-31 13:09 ` Efraim Flashner
2022-03-31 13:31 ` bug#54635: " Efraim Flashner
2022-04-01 7:40 ` [bug#54635] " Arun Isaac
2022-04-01 9:39 ` Maxime Devos
2022-04-04 18:01 ` Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220331072849.22417-4-arunisaac@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=54635@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=maximedevos@telenet.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).