Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Joachim Wiberg <troglobit@gmail.com>
Cc: Asaf Kahlon <asafka7@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/1] package/spdlog: add menuconfig option to select formatter
Date: Sun, 4 Aug 2024 22:22:32 +0200	[thread overview]
Message-ID: <20240804222232.56c2130a@windsurf> (raw)
In-Reply-To: <20240804094647.876936-1-troglobit@gmail.com>

Hello Joachim,

On Sun,  4 Aug 2024 11:46:47 +0200
Joachim Wiberg <troglobit@gmail.com> wrote:

> Add an option menu to select the spdlog formatter: external fmt library,
> external using headers-only, C++20 std:format, or the bundled (version
> matched) fmt library, which each release of spdlog is tested against.
> 
> The formatters are mutually exclusive (see the CMakeLists.txt[1] file),
> selecting the 'internal' option disables all the other options in the
> .mk file, thus "enabling" the bundled formatter.
> 
> For backwards compatibility, the Buildroot default remains using the
> external fmt library.
> 
> [1]: https://github.com/gabime/spdlog/blob/5ebfc92/CMakeLists.txt#L95-L105

Could you provide some details on why we would want to support
different formatters?

In your reply to Baruch you said you wanted to package Rousette, which
requires the bundled fmt. How is the bundled fmt different from the
external one?

Also using a choice...endchoice here will not make it easy to package
Rousette, because you can't "select" an option of a choice...endchoice,
so the Rousette package will not be able to select
BR2_PACKAGE_SPDLOG_FMT_INTERNAL.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-08-04 20:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-04  6:00 [Buildroot] [PATCH 1/1] package/spdlog: add menuconfig option to use bundled fmt Joachim Wiberg
2024-08-04  6:20 ` Baruch Siach via buildroot
2024-08-04  7:03   ` Joachim Wiberg
2024-08-04  9:46 ` [Buildroot] [PATCH v2 1/1] package/spdlog: add menuconfig option to select formatter Joachim Wiberg
2024-08-04 20:22   ` Thomas Petazzoni via buildroot [this message]
2024-08-06 11:11     ` Joachim Wiberg

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240804222232.56c2130a@windsurf \
    --to=buildroot@buildroot.org \
    --cc=asafka7@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=troglobit@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox