From f82b58d2286fb5b39ef7461b7d26d567fbccdc59 Mon Sep 17 00:00:00 2001 From: Heiko Thiery Date: Sat, 13 Jul 2024 14:23:30 +0200 Subject: [PATCH] package/blake3: add new host package This package is used and required for ccache update. Signed-off-by: Heiko Thiery Signed-off-by: Arnout Vandecappelle --- DEVELOPERS | 1 + package/blake3/blake3.hash | 3 +++ package/blake3/blake3.mk | 19 +++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 package/blake3/blake3.hash create mode 100644 package/blake3/blake3.mk diff --git a/DEVELOPERS b/DEVELOPERS index 7fbefa3302..152789cd5d 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1370,6 +1370,7 @@ F: configs/kontron_bl_imx8mm_defconfig F: configs/kontron_smarc_sal28_defconfig F: configs/kontron_pitx_imx8m_defconfig F: package/altera-stapl/ +F: package/blake3/ F: package/ipmitool/ F: package/libnetconf2/ F: package/libyang/ diff --git a/package/blake3/blake3.hash b/package/blake3/blake3.hash new file mode 100644 index 0000000000..2a00d19b02 --- /dev/null +++ b/package/blake3/blake3.hash @@ -0,0 +1,3 @@ +# sha256 computed locally +sha256 822cd37f70152e5985433d2c50c8f6b2ec83aaf11aa31be9fe71486a91744f37 blake3-1.5.1.tar.gz +sha256 6a94bedb8b707ed97f6e310d0d015ab14e0683ffa0a612b02958581b9cc9fc0e LICENSE diff --git a/package/blake3/blake3.mk b/package/blake3/blake3.mk new file mode 100644 index 0000000000..5625046db6 --- /dev/null +++ b/package/blake3/blake3.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# blake3 +# +################################################################################ + +BLAKE3_VERSION = 1.5.1 +BLAKE3_SITE = $(call github,BLAKE3-team,BLAKE3,$(BLAKE3_VERSION)) +BLAKE3_SUBDIR = c +BLAKE3_LICENSE = Apache-2.0, CC0-1.0 +BLAKE3_LICENSE_FILES = LICENSE + +# We may be a ccache dependency, so we can't use ccache; reset the +# options set by the cmake infra. +HOST_BLAKE3_CONF_OPTS += \ + -UCMAKE_C_COMPILER_LAUNCHER \ + -UCMAKE_CXX_COMPILER_LAUNCHER + +$(eval $(host-cmake-package))