From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>,
Fabrice Fontaine <fontaine.fabrice@gmail.com>,
Matt Flax <flatmax@flatmax.org>
Subject: [Buildroot] [PATCH 1/1] package/gtkiostream: add BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
Date: Fri, 26 Jul 2024 17:30:02 +0200 [thread overview]
Message-ID: <20240726153002.18133-1-fontaine.fabrice@gmail.com> (raw)
gtkiostream only supports little-endian since its addition in commit
fab48302865e5c0c98d91b696bc90e75e38189bb resulting in the following
build failure:
In file included from BitStream.C:23:
../include/BitStream.H:35:2: error: #error "iobitstream not tested on big endian systems"
35 | #error "iobitstream not tested on big endian systems"
| ^~~~~
Fixes: fab48302865e5c0c98d91b696bc90e75e38189bb
- http://autobuild.buildroot.org/results/aec24d92cc2196596413cf509d686f1f8d1eca95
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/gtkiostream/Config.in | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/package/gtkiostream/Config.in b/package/gtkiostream/Config.in
index 1d1ec27346..0567ce876d 100644
--- a/package/gtkiostream/Config.in
+++ b/package/gtkiostream/Config.in
@@ -1,5 +1,20 @@
+config BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
+ bool
+ default y if BR2_arcle
+ default y if BR2_aarch64
+ default y if BR2_arm
+ default y if BR2_i386 || BR2_x86_64
+ default y if BR2_microblazeel
+ default y if BR2_mipsel || BR2_mips64el
+ default y if BR2_nios2
+ default y if BR2_powerpc64le
+ default y if BR2_riscv
+ default y if BR2_sh4 || BR2_sh4a
+ default y if BR2_xtensa
+
config BR2_PACKAGE_GTKIOSTREAM
bool "gtkiostream"
+ depends on BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP # eigen
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_ALSA_LIB_MIXER if BR2_PACKAGE_ALSA_LIB
@@ -14,5 +29,6 @@ config BR2_PACKAGE_GTKIOSTREAM
https://github.com/flatmax/gtkiostream
comment "gtkiostream needs a toolchain w/ C++, threads"
+ depends on BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-07-26 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-26 15:30 Fabrice Fontaine [this message]
2024-07-27 16:33 ` [Buildroot] [PATCH 1/1] package/gtkiostream: add BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS Thomas Petazzoni via buildroot
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=20240726153002.18133-1-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=angelo.compagnucci@gmail.com \
--cc=buildroot@buildroot.org \
--cc=flatmax@flatmax.org \
/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