* [Buildroot] [PATCH 1/3] package/blake3: explicitly disable threading & examples
2026-02-04 12:37 [Buildroot] [PATCH 0/3] package/blake3: add target variant yann.morin
@ 2026-02-04 12:37 ` yann.morin
2026-02-07 21:46 ` Julien Olivain via buildroot
2026-02-13 19:36 ` Thomas Perale via buildroot
2026-02-04 12:37 ` [Buildroot] [PATCH 2/3] package/blake3: bump to version 1.8.3 yann.morin
2026-02-04 12:37 ` [Buildroot] [PATCH 3/3] package/blake3: add target support yann.morin
2 siblings, 2 replies; 6+ messages in thread
From: yann.morin @ 2026-02-04 12:37 UTC (permalink / raw)
To: buildroot; +Cc: yann.morin, Heiko Thiery
From: "Yann E. MORIN" <yann.morin@orange.com>
Use of threading requires a C++20 compiler, and the oneTBB
implementation. oneTBB is missing from Buildroot, but a system
one may be used if found.
Even if the default for threading is disabled, explcitly state so, in
case the default changes in the future.
Also disable examples, we don't and won't need them.
Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Heiko Thiery <heiko.thiery@gmail.com>
---
package/blake3/blake3.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/blake3/blake3.mk b/package/blake3/blake3.mk
index 9d1323192c..1055a2c073 100644
--- a/package/blake3/blake3.mk
+++ b/package/blake3/blake3.mk
@@ -10,6 +10,10 @@ BLAKE3_SUBDIR = c
BLAKE3_LICENSE = Apache-2.0 or Apache-2.0 with exceptions or CC0-1.0
BLAKE3_LICENSE_FILES = LICENSE_A2 LICENSE_A2LLVM LICENSE_CC0
+HOST_BLAKE3_CONF_OPTS = \
+ -DBLAKE3_USE_TBB=OFF \
+ -DBLAKE3_EXAMPLES=OFF
+
# The package is a dependency to ccache so ccache cannot be a dependency
HOST_BLAKE3_ADD_CCACHE_DEPENDENCY = NO
--
2.34.1
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 1/3] package/blake3: explicitly disable threading & examples
2026-02-04 12:37 ` [Buildroot] [PATCH 1/3] package/blake3: explicitly disable threading & examples yann.morin
@ 2026-02-07 21:46 ` Julien Olivain via buildroot
2026-02-13 19:36 ` Thomas Perale via buildroot
1 sibling, 0 replies; 6+ messages in thread
From: Julien Olivain via buildroot @ 2026-02-07 21:46 UTC (permalink / raw)
To: yann.morin; +Cc: buildroot, Heiko Thiery
On 04/02/2026 13:37, yann.morin@orange.com wrote:
> From: "Yann E. MORIN" <yann.morin@orange.com>
>
> Use of threading requires a C++20 compiler, and the oneTBB
> implementation. oneTBB is missing from Buildroot, but a system
> one may be used if found.
>
> Even if the default for threading is disabled, explcitly state so, in
> case the default changes in the future.
>
> Also disable examples, we don't and won't need them.
>
> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
> Cc: Heiko Thiery <heiko.thiery@gmail.com>
Series applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 1/3] package/blake3: explicitly disable threading & examples
2026-02-04 12:37 ` [Buildroot] [PATCH 1/3] package/blake3: explicitly disable threading & examples yann.morin
2026-02-07 21:46 ` Julien Olivain via buildroot
@ 2026-02-13 19:36 ` Thomas Perale via buildroot
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Perale via buildroot @ 2026-02-13 19:36 UTC (permalink / raw)
To: yann.morin; +Cc: Thomas Perale, buildroot
In reply of:
> Use of threading requires a C++20 compiler, and the oneTBB
> implementation. oneTBB is missing from Buildroot, but a system
> one may be used if found.
>
> Even if the default for threading is disabled, explcitly state so, in
> case the default changes in the future.
>
> Also disable examples, we don't and won't need them.
>
> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
> Cc: Heiko Thiery <heiko.thiery@gmail.com>
Applied to 2025.11.x. Thanks
> ---
> package/blake3/blake3.mk | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/blake3/blake3.mk b/package/blake3/blake3.mk
> index 9d1323192c..1055a2c073 100644
> --- a/package/blake3/blake3.mk
> +++ b/package/blake3/blake3.mk
> @@ -10,6 +10,10 @@ BLAKE3_SUBDIR = c
> BLAKE3_LICENSE = Apache-2.0 or Apache-2.0 with exceptions or CC0-1.0
> BLAKE3_LICENSE_FILES = LICENSE_A2 LICENSE_A2LLVM LICENSE_CC0
>
> +HOST_BLAKE3_CONF_OPTS = \
> + -DBLAKE3_USE_TBB=OFF \
> + -DBLAKE3_EXAMPLES=OFF
> +
> # The package is a dependency to ccache so ccache cannot be a dependency
> HOST_BLAKE3_ADD_CCACHE_DEPENDENCY = NO
>
> --
> 2.34.1
>
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/3] package/blake3: bump to version 1.8.3
2026-02-04 12:37 [Buildroot] [PATCH 0/3] package/blake3: add target variant yann.morin
2026-02-04 12:37 ` [Buildroot] [PATCH 1/3] package/blake3: explicitly disable threading & examples yann.morin
@ 2026-02-04 12:37 ` yann.morin
2026-02-04 12:37 ` [Buildroot] [PATCH 3/3] package/blake3: add target support yann.morin
2 siblings, 0 replies; 6+ messages in thread
From: yann.morin @ 2026-02-04 12:37 UTC (permalink / raw)
To: buildroot; +Cc: yann.morin, Heiko Thiery
From: "Yann E. MORIN" <yann.morin@orange.com>
Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Heiko Thiery <heiko.thiery@gmail.com>
---
package/blake3/blake3.hash | 2 +-
package/blake3/blake3.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/blake3/blake3.hash b/package/blake3/blake3.hash
index 6bcfefb2b8..6e7d02db6c 100644
--- a/package/blake3/blake3.hash
+++ b/package/blake3/blake3.hash
@@ -1,5 +1,5 @@
# sha256 computed locally
-sha256 6b51aefe515969785da02e87befafc7fdc7a065cd3458cf1141f29267749e81f blake3-1.8.2.tar.gz
+sha256 5a11e3f834719b6c1cae7aced1e848a37013f6f10f97272e7849aa0da769f295 blake3-1.8.3.tar.gz
sha256 00fcc7a934ddbc9ece2a7cc063ac788e284b703b1d705ccbba72d462aa97921e LICENSE_A2
sha256 a5695f57ea0c221e0e8b7d784ff774c35e88c3d3270353646a925880bb3492cc LICENSE_A2LLVM
sha256 a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499 LICENSE_CC0
diff --git a/package/blake3/blake3.mk b/package/blake3/blake3.mk
index 1055a2c073..a2094fc4c0 100644
--- a/package/blake3/blake3.mk
+++ b/package/blake3/blake3.mk
@@ -4,7 +4,7 @@
#
################################################################################
-BLAKE3_VERSION = 1.8.2
+BLAKE3_VERSION = 1.8.3
BLAKE3_SITE = $(call github,BLAKE3-team,BLAKE3,$(BLAKE3_VERSION))
BLAKE3_SUBDIR = c
BLAKE3_LICENSE = Apache-2.0 or Apache-2.0 with exceptions or CC0-1.0
--
2.34.1
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/3] package/blake3: add target support
2026-02-04 12:37 [Buildroot] [PATCH 0/3] package/blake3: add target variant yann.morin
2026-02-04 12:37 ` [Buildroot] [PATCH 1/3] package/blake3: explicitly disable threading & examples yann.morin
2026-02-04 12:37 ` [Buildroot] [PATCH 2/3] package/blake3: bump to version 1.8.3 yann.morin
@ 2026-02-04 12:37 ` yann.morin
2 siblings, 0 replies; 6+ messages in thread
From: yann.morin @ 2026-02-04 12:37 UTC (permalink / raw)
To: buildroot; +Cc: yann.morin, Heiko Thiery
From: "Yann E. MORIN" <yann.morin@orange.com>
Blake3 unconditionally enables C++ support, which unconditionally
requires C++20 when built with cmake >= 3.12, even when this is not
required.
Fixing this does not look trivial, and rather than botching the build,
just require C++20, available from gcc 8.x onward.
Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Heiko Thiery <heiko.thiery@gmail.com>
---
package/Config.in | 1 +
package/blake3/Config.in | 8 ++++++++
package/blake3/blake3.mk | 6 ++++++
3 files changed, 15 insertions(+)
create mode 100644 package/blake3/Config.in
diff --git a/package/Config.in b/package/Config.in
index 258ad1883d..864db99d02 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2122,6 +2122,7 @@ menu "Other"
source "package/avro-c/Config.in"
source "package/basu/Config.in"
source "package/bdwgc/Config.in"
+ source "package/blake3/Config.in"
source "package/boost/Config.in"
source "package/c-capnproto/Config.in"
source "package/capnproto/Config.in"
diff --git a/package/blake3/Config.in b/package/blake3/Config.in
new file mode 100644
index 0000000000..afad6541d9
--- /dev/null
+++ b/package/blake3/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_BLAKE3
+ bool "blake3"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++20
+ help
+ BLAKE3 is a cryptographic hash function.
+
+ https://github.com/BLAKE3-team/BLAKE3
diff --git a/package/blake3/blake3.mk b/package/blake3/blake3.mk
index a2094fc4c0..9218e5bbba 100644
--- a/package/blake3/blake3.mk
+++ b/package/blake3/blake3.mk
@@ -10,6 +10,11 @@ BLAKE3_SUBDIR = c
BLAKE3_LICENSE = Apache-2.0 or Apache-2.0 with exceptions or CC0-1.0
BLAKE3_LICENSE_FILES = LICENSE_A2 LICENSE_A2LLVM LICENSE_CC0
+BLAKE3_INSTALL_STAGING = YES
+
+BLAKE3_CONF_OPTS = \
+ -DBLAKE3_USE_TBB=OFF \
+ -DBLAKE3_EXAMPLES=OFF
HOST_BLAKE3_CONF_OPTS = \
-DBLAKE3_USE_TBB=OFF \
-DBLAKE3_EXAMPLES=OFF
@@ -23,4 +28,5 @@ HOST_BLAKE3_CONF_OPTS += \
-UCMAKE_C_COMPILER_LAUNCHER \
-UCMAKE_CXX_COMPILER_LAUNCHER
+$(eval $(cmake-package))
$(eval $(host-cmake-package))
--
2.34.1
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread