From: Zheng Junjie via Guix-patches <guix-patches@gnu.org>
To: 69505@debbugs.gnu.org
Subject: [bug#69505] [PATCH 2/2] gnu: spdlog: Fix cross-compilation.
Date: Sat, 2 Mar 2024 18:06:55 +0800 [thread overview]
Message-ID: <67bf93f49555cfe2b643920396e00664269e7f8c.1709372058.git.zhengjunjie@iscas.ac.cn> (raw)
In-Reply-To: <cover.1709372058.git.zhengjunjie@iscas.ac.cn>
* gnu/packages/logging.scm (spdlog)[arguments]<#:configure-flags>: when
cross-compilation, don't add -DSPDLOG_BUILD_TESTS=ON.
Change-Id: I90911c548c3f138ff40bff4b086f6102b717acf2
---
gnu/packages/logging.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index afd602db42..a757c22154 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -231,7 +231,9 @@ (define-public spdlog
(list #:configure-flags
#~(list "-DSPDLOG_BUILD_BENCH=OFF"
"-DSPDLOG_BUILD_SHARED=ON"
- "-DSPDLOG_BUILD_TESTS=ON")))
+ #$@(if (%current-target-system)
+ '()
+ '("-DSPDLOG_BUILD_TESTS=ON")))))
(native-inputs (list catch2-3))
(home-page "https://github.com/gabime/spdlog")
(synopsis "Fast C++ logging library")
--
2.41.0
next prev parent reply other threads:[~2024-03-02 10:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-02 9:35 [bug#69505] [PATCH 0/2] gnu: spdlog: Fix cross-compilation Zheng Junjie
2024-03-02 10:06 ` [bug#69505] [PATCH 1/2] gnu: spdlog: Use Gexps Zheng Junjie
2024-03-02 10:06 ` Zheng Junjie via Guix-patches [this message]
2024-03-19 11:19 ` bug#69505: [PATCH 0/2] gnu: spdlog: Fix cross-compilation 宋文武 via Guix-patches via
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=67bf93f49555cfe2b643920396e00664269e7f8c.1709372058.git.zhengjunjie@iscas.ac.cn \
--to=guix-patches@gnu.org \
--cc=69505@debbugs.gnu.org \
--cc=zhengjunjie@iscas.ac.cn \
/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).