From patchwork Wed Jul 3 14:00:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1956274 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WDhJr01g9z1xqh for ; Thu, 4 Jul 2024 00:01:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 4984E41809; Wed, 3 Jul 2024 14:01:13 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id XXMcv8AjSVHb; Wed, 3 Jul 2024 14:01:12 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 0D503417FB Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 0D503417FB; Wed, 3 Jul 2024 14:01:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 8C9711BF302 for ; Wed, 3 Jul 2024 14:01:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7A1AF6084E for ; Wed, 3 Jul 2024 14:01:10 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id htlXeZIxY-J7 for ; Wed, 3 Jul 2024 14:01:09 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::634; helo=mail-ej1-x634.google.com; envelope-from=heiko.thiery@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 8C5AC6077D DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 8C5AC6077D Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by smtp3.osuosl.org (Postfix) with ESMTPS id 8C5AC6077D for ; Wed, 3 Jul 2024 14:01:09 +0000 (UTC) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a70c0349b64so711653366b.1 for ; Wed, 03 Jul 2024 07:01:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720015267; x=1720620067; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bcuS6PQiiJgQlJcBIKccj8o9HWt9vCy4h4o718A3UQs=; b=EoyldQ91m9SFijurd6vei1bgvXqErLt8VrNCswkXuNW/BAYr1Q+JsUZXSuzeVRk0eo Vm3jq/8XN7H1wXugbOKFLc6kJkyeep9noMeDFQTx2n6k4upiJzFpOqQmUqGJODMPISvB zXYcEUJVLIYY5EjHjZyHyY1Rb3E31s3HcRUD1ZFoc77opcSyiCDb9u8NH5t2ppT2sVqc i57W40HLjtvHG+wBxrW/Ds6GvxlstTQutl7l6CGrfLR48n9tRFDsRKw2SJnutWRURG/I MPRZChaiqLKuo+ZCmHw2xjJ5DFrqU+8wkrFMyGKjfJLVUfUQp4emrm1Q0EyLITNAuqrK Rnyg== X-Gm-Message-State: AOJu0Yz7iOtXPke08I+PkediljBphyWd3vCyQOVJGBEPO9vNmRqCdCWL Qh+5s+tV3DhBUVbRmDNVn9Ls7HIbEnFDOHGda+gOVEBOEJ6x/lJPcNcq0A== X-Google-Smtp-Source: AGHT+IGwC7JtrYBQhqxaj27kglh06MaZBUve5jfPjgoIKhND22skmEjRdDgUQIhZEtl65yeAc9UV8g== X-Received: by 2002:a17:906:c798:b0:a72:5967:b3a with SMTP id a640c23a62f3a-a751441ea13mr640817666b.22.1720015266506; Wed, 03 Jul 2024 07:01:06 -0700 (PDT) Received: from hthiery.kontron.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a752008272esm314671766b.175.2024.07.03.07.01.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 07:01:05 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org, "Yann E . MORIN" , Arnout Vandecappelle , Peter Seiderer , Lance Fredrickson Date: Wed, 3 Jul 2024 16:00:53 +0200 Message-Id: <20240703140054.3224869-2-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240703140054.3224869-1-heiko.thiery@gmail.com> References: <20240703140054.3224869-1-heiko.thiery@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720015267; x=1720620067; darn=buildroot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bcuS6PQiiJgQlJcBIKccj8o9HWt9vCy4h4o718A3UQs=; b=gBLro+B6C0b14XSS3PEKBhUjYyEiO1YzIj2WY0PjNsj+1Fe3Ot0IYDFJ57WJEuwK6F tMty1RiXGqv5z9KlCqM8wJ1mA6fou5ZWryCMtwq7g0K45llRNkfBz7brK3QncE7pDZj6 3SKiHjpF/1H06A9o14ukU72rqnQ6Hyz8BmjGJlSeip5g0TJ4OYEMULTZrPq1boLzXpPv xFtZ8iQw68kNvTQ9Ms8G4C8MnliYMiai60WRS4ZAhwAUuLLWFbS8pSwrDnfVgiYx+jtZ xO6IAIP2M0hg0mhlK55zRQQwM851UKqwSV2rhsku0JPvnTD6WfaoS3YNFarKzHJkJCTz gs8Q== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=gBLro+B6 Subject: [Buildroot] [PATCH 1/3] package/blake3: add new host package X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Thiery , Samuel Martin , Thomas Petazzoni Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" This package is used and required for ccache update. Signed-off-by: Heiko Thiery --- DEVELOPERS | 1 + package/blake3/blake3.hash | 5 +++++ package/blake3/blake3.mk | 20 ++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 package/blake3/blake3.hash create mode 100644 package/blake3/blake3.mk diff --git a/DEVELOPERS b/DEVELOPERS index 6d9fcd97df..0a6a4b9de6 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1359,6 +1359,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..a3ec44a804 --- /dev/null +++ b/package/blake3/blake3.hash @@ -0,0 +1,5 @@ +# sha256 computed locally +sha256 822cd37f70152e5985433d2c50c8f6b2ec83aaf11aa31be9fe71486a91744f37 blake3-1.5.1.tar.gz +sha256 a6aea7358a30ded3f8abbff979219bdbe7b7a9aa489a8c70030afd96a83caf84 LICENSE_A2 +sha256 80b5112739a423dfac7bed1ca8a1df3cccda3d794425441997d4462b83db4dd5 LICENSE_A2LLVM +sha256 80b5112739a423dfac7bed1ca8a1df3cccda3d794425441997d4462b83db4dd5 LICENSE_CC0 diff --git a/package/blake3/blake3.mk b/package/blake3/blake3.mk new file mode 100644 index 0000000000..e94397a0a7 --- /dev/null +++ b/package/blake3/blake3.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# blake3 +# +################################################################################ + +BLAKE3_VERSION = 1.5.1 +BLAKE3_SITE = $(call github,BLAKE3-team,BLAKE3,refs/tags/$(BLAKE3_VERSION)) +BLAKE3_SUBDIR = c +BLAKE3_LICENSE = Apache-2.0, CC0-1.0 +BLAKE3_LICENSE_FILES = LICENSE_A2 LICENSE_A2LLVM LICENSE_CC0 + +# We may be a ccache dependency, so we can't use ccache; reset the +# options set by the cmake infra. +HOST_BLAKE3_CONF_OPTS += \ + -DCMAKE_ASM_COMPILER="$(CMAKE_HOST_C_COMPILER)" \ + -UCMAKE_C_COMPILER_LAUNCHER \ + -UCMAKE_CXX_COMPILER_LAUNCHER + +$(eval $(host-cmake-package)) From patchwork Wed Jul 3 14:00:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1956275 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WDhJw2P8Jz1xqh for ; Thu, 4 Jul 2024 00:01:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id BDF77417E8; Wed, 3 Jul 2024 14:01:18 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id fQXiea6Vs590; Wed, 3 Jul 2024 14:01:17 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7D20041878 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 7D20041878; Wed, 3 Jul 2024 14:01:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 5DFC41BF302 for ; Wed, 3 Jul 2024 14:01:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 4824D417E9 for ; Wed, 3 Jul 2024 14:01:15 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id RpSZTiFoPBkp for ; Wed, 3 Jul 2024 14:01:14 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::636; helo=mail-ej1-x636.google.com; envelope-from=heiko.thiery@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org A92AD41813 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A92AD41813 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by smtp4.osuosl.org (Postfix) with ESMTPS id A92AD41813 for ; Wed, 3 Jul 2024 14:01:13 +0000 (UTC) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a7527afa23cso413069466b.2 for ; Wed, 03 Jul 2024 07:01:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720015271; x=1720620071; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I6MN2esA9NbdqU4frW8o3SWLRtQmaGvggPALWNWEW7I=; b=lGXbyvHJdTRaePsokhFJN8LoEO3i28SM7qN4yZQsYFj/j2Exd2ERdtANIT9zA5AcnH fUZnvUs5XCM6faCtKKyQPrGF6IUTfzMu34H440ie+wmEZFyfGcto2g0NzvnUTN/eoBJH wpPhfM0X0GCPPGCoFvtuaZ09xrxuKih+Z1JlRFnfp3qt/Ur7at8gDI58Izc0FZ+V8MJE Ld4b15vUrpORddgyAZ6k8Navyn0vstQknQPjrYdPpU1ZmA/y05lSujXCoh6XQJw1tuYO WK6YIYv/tL/7wT6r27IguCKkrWEyHQ3pIHOhnsIUZ18641kvrSM2UgT4vt9KgnDZ/Zwr tM4Q== X-Gm-Message-State: AOJu0Yw+Rxm2gdmyT6Iy621mFH3LKliJvvB5yubh92qQEdVirwflOwjV wTEUPoj7jpeu3ze5SZmms4T6aQyhR4Sa58lx7J/ufZo/PdhnQK6zhlOjAw== X-Google-Smtp-Source: AGHT+IFoffZnIH80jtYVYtkrfkdpQxBEryMzv5ZdNB3K/wIcADLog0YY1aeL4FSoVShqYxPB0pg5Rw== X-Received: by 2002:a17:907:6088:b0:a72:9d25:8ad7 with SMTP id a640c23a62f3a-a7514468621mr1009077066b.1.1720015270517; Wed, 03 Jul 2024 07:01:10 -0700 (PDT) Received: from hthiery.kontron.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a752008272esm314671766b.175.2024.07.03.07.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 07:01:10 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org, "Yann E . MORIN" , Arnout Vandecappelle , Peter Seiderer , Lance Fredrickson Date: Wed, 3 Jul 2024 16:00:54 +0200 Message-Id: <20240703140054.3224869-3-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240703140054.3224869-1-heiko.thiery@gmail.com> References: <20240703140054.3224869-1-heiko.thiery@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720015271; x=1720620071; darn=buildroot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I6MN2esA9NbdqU4frW8o3SWLRtQmaGvggPALWNWEW7I=; b=ALnUQNd0RXOjz9xW77zmFf2JvYAWLJVx943HAS4+KjGnW1Nu8gKUWjw31pwaDqt+ls Lfn3KqpT4LiWYgwVLfiyTsnT5s+UtCnwY/tHLk+i5FDk62M11SUY/ynz8utC5jSuvTDA ELmHNtOo4yY/CCW6Ty+quFUmq616plvfJV9OqbuJwWV/mKTbrQVBRMZ267dDzzS/SI7W cS9JGXy1kwgLix6vIpaU8cBg0poKk01Ji4aFN+acAzd0eQ3C5ccsQVJVw9GDRYlcHcd8 yWH9dsaSks0aLo2qKCbVD5yr0hAWeNQCCAqNeIjsmo01q0W8BPs5jqQNEPH+MnKO041J OI1A== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=ALnUQNd0 Subject: [Buildroot] [PATCH 2/3] package/xxhash: add host support X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Thiery , Samuel Martin , Thomas Petazzoni Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The host support is required for ccmake Signed-off-by: Heiko Thiery --- package/xxhash/xxhash.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/package/xxhash/xxhash.mk b/package/xxhash/xxhash.mk index 7708ba1e19..97bb2ca722 100644 --- a/package/xxhash/xxhash.mk +++ b/package/xxhash/xxhash.mk @@ -15,6 +15,10 @@ XXHASH_INSTALL_TARGETS = \ install_libxxhash.includes \ install_libxxhash.pc \ install_xxhsum +HOST_XXHASH_INSTALL_TARGETS = \ + install_libxxhash \ + install_libxxhash.includes \ + install_libxxhash.pc ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) XXHASH_TARGETS += libxxhash.a @@ -41,4 +45,18 @@ define XXHASH_INSTALL_TARGET_CMDS PREFIX=/usr DESTDIR=$(TARGET_DIR) $(XXHASH_INSTALL_TARGETS) endef +# we are a ccache dependency, so we can't use ccache +HOST_XXHASH_ENV = $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) CC="$(HOSTCC_NOCCACHE)" CXX="$(HOSTCXX_NOCCACHE)" +HOST_XXHASH_OPTS += DESTDIR=$(HOST_DIR) PREFIX=/usr + +define HOST_XXHASH_BUILD_CMDS + $(HOST_XXHASH_ENV) $(MAKE) $(HOST_XXHASH_OPTS) -C $(@D) +endef + +define HOST_XXHASH_INSTALL_CMDS + $(HOST_XXHASH_ENV) $(MAKE) $(HOST_XXHASH_OPTS) -C $(@D) \ + $(HOST_XXHASH_INSTALL_TARGETS) +endef + $(eval $(generic-package)) +$(eval $(host-generic-package)) From patchwork Wed Jul 3 14:00:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1956276 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WDhJz4kGWz1xqh for ; Thu, 4 Jul 2024 00:01:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id B38FE418CA; Wed, 3 Jul 2024 14:01:21 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id RZGdILe5rjp3; Wed, 3 Jul 2024 14:01:20 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1703341881 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 1703341881; Wed, 3 Jul 2024 14:01:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 42ACE1BF302 for ; Wed, 3 Jul 2024 14:01:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2FEEE60BF0 for ; Wed, 3 Jul 2024 14:01:17 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id CFDx26hZiFbh for ; Wed, 3 Jul 2024 14:01:16 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::633; helo=mail-ej1-x633.google.com; envelope-from=heiko.thiery@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 10B516077D DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 10B516077D Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by smtp3.osuosl.org (Postfix) with ESMTPS id 10B516077D for ; Wed, 3 Jul 2024 14:01:15 +0000 (UTC) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a7245453319so115749266b.1 for ; Wed, 03 Jul 2024 07:01:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720015273; x=1720620073; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2VNo6v3l3IVh5tbrG1GhFcJBxBpIkDdwzrK+PbI0Oew=; b=fYO8ol3NAchboefraJDeIJww8ZVAb/rwkfzQqxR47qJz2RSHZ+zRcF7itklQU5s+sW 66vjaE4jgIDuBju8wzQN6X/POx6njhwUsjjK/y84GctsOShOmXSKrhWOqUMkDmd6pP7n lh1ekGxTQFRTdBqKjEB477QrOnnOUBrwzRGQCesEuNAWFHjUroxsYuC5smQ/Q5nALDes uZN/cYwtXzSdJCq21vOgZsPTDTVFlRg69geMf1IsdiSfwejfDPXhSf2NqN9h5aWdHItJ cnaWWZ308Q9CQjs4UKtR95pVk1gNeK9v4EMoX1lmMWA06lXtORTk78fiNBHjJoKw2bWX u9Uw== X-Gm-Message-State: AOJu0YxMo0DRWeBwxPc9lfCSNdN4Bvg4toiRTvjWLkHSFso3bdcokB4m sR8fPvCGu/MP+GI4Z95tJQt5MkOueyaByqGJcO6d3d5JocYeoka7vXfvYQ== X-Google-Smtp-Source: AGHT+IH4JfiZyp9ohrkXKcix8BtDqxwAqNgGG5U3ueY8JnMbUN40GvZmCTI5kTk+sfdPC56DY7JpeA== X-Received: by 2002:a17:906:230f:b0:a6f:6df5:a264 with SMTP id a640c23a62f3a-a77a2411d9dmr141085066b.1.1720015272777; Wed, 03 Jul 2024 07:01:12 -0700 (PDT) Received: from hthiery.kontron.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a752008272esm314671766b.175.2024.07.03.07.01.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 07:01:11 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org, "Yann E . MORIN" , Arnout Vandecappelle , Peter Seiderer , Lance Fredrickson Date: Wed, 3 Jul 2024 16:00:55 +0200 Message-Id: <20240703140054.3224869-4-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240703140054.3224869-1-heiko.thiery@gmail.com> References: <20240703140054.3224869-1-heiko.thiery@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720015273; x=1720620073; darn=buildroot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2VNo6v3l3IVh5tbrG1GhFcJBxBpIkDdwzrK+PbI0Oew=; b=Qa8DoWph53AjlIBj1CmYU692rMUPDYiCdAmkwX7mpiXg0TIp/61XHjWT94uEfSwVZL vyFDTnI+78H+UmXwTSY7J53uYwdthevBUu0XEmr/7TNtgJqia+paGc6bRcRyqjn70UB+ ZyVkOnkI0ZLQD/RgglT/T72z219ctRnF+sJCrJ23fZ80EaulzNb1cEN6wXPSTO821lQy o+w3alSed+dohvMbQ5Rbz4Nbe4cVpNwGbnUErRSuLj1qURkDlD8eGuUVJ7yFzEYUT1Pj 2yVV5+WDfn6u5noIocdXUKkYZWfzXxkT9GaYSexMeeJlVTrGm61D3vgh+QIDmXIO1Ueq KJow== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Qa8DoWph Subject: [Buildroot] [PATCH 3/3] package/ccache: bump version to 4.10.1 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Thiery , Samuel Martin , Thomas Petazzoni Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" This version requires additional dependencies to host-blake3 and host-xxhash. Signed-off-by: Heiko Thiery --- package/ccache/ccache.hash | 2 +- package/ccache/ccache.mk | 16 ++++++++-------- package/pkg-generic.mk | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package/ccache/ccache.hash b/package/ccache/ccache.hash index a2537077b6..ec43a47d1b 100644 --- a/package/ccache/ccache.hash +++ b/package/ccache/ccache.hash @@ -1,4 +1,4 @@ # sha256 computed locally -sha256 4c03bc840699127d16c3f0e6112e3f40ce6a230d5873daa78c60a59c7ef59d25 ccache-4.9.1.tar.xz +sha256 3a43442ce3916ea48bb6ccf6f850891cbff01d1feddff7cd4bbd49c5cf1188f6 ccache-4.10.1.tar.xz sha256 80b5112739a423dfac7bed1ca8a1df3cccda3d794425441997d4462b83db4dd5 GPL-3.0.txt sha256 a6aea7358a30ded3f8abbff979219bdbe7b7a9aa489a8c70030afd96a83caf84 LICENSE.adoc diff --git a/package/ccache/ccache.mk b/package/ccache/ccache.mk index 0b2c02e8a7..e3e9110348 100644 --- a/package/ccache/ccache.mk +++ b/package/ccache/ccache.mk @@ -4,12 +4,12 @@ # ################################################################################ -CCACHE_VERSION = 4.9.1 +CCACHE_VERSION = 4.10.1 CCACHE_SITE = https://github.com/ccache/ccache/releases/download/v$(CCACHE_VERSION) CCACHE_SOURCE = ccache-$(CCACHE_VERSION).tar.xz CCACHE_LICENSE = GPL-3.0+, others CCACHE_LICENSE_FILES = LICENSE.adoc GPL-3.0.txt -HOST_CCACHE_DEPENDENCIES = host-hiredis host-zstd +HOST_CCACHE_DEPENDENCIES = host-hiredis host-zstd host-xxhash host-blake3 # We are ccache, so we can't use ccache HOST_CCACHE_CONF_OPTS += \ @@ -32,12 +32,12 @@ HOST_CCACHE_CONF_OPTS += \ HOST_CCACHE_DEFAULT_CCACHE_DIR = $(patsubst $(HOME)/%,%,$(BR_CACHE_DIR)) define HOST_CCACHE_PATCH_CONFIGURATION - sed -i 's,getenv("CCACHE_DIR"),getenv("BR_CACHE_DIR"),' $(@D)/src/Config.cpp - sed -i 's,".ccache","$(HOST_CCACHE_DEFAULT_CCACHE_DIR)",' $(@D)/src/Config.cpp - sed -i 's,"/.cache/ccache","/$(HOST_CCACHE_DEFAULT_CCACHE_DIR)",' $(@D)/src/Config.cpp - sed -i 's,"/.config/ccache","/$(HOST_CCACHE_DEFAULT_CCACHE_DIR)",' $(@D)/src/Config.cpp - sed -i 's,getenv("XDG_CACHE_HOME"),nullptr,' $(@D)/src/Config.cpp - sed -i 's,getenv("XDG_CONFIG_HOME"),nullptr,' $(@D)/src/Config.cpp + sed -i 's,getenv("CCACHE_DIR"),getenv("BR_CACHE_DIR"),' $(@D)/src/ccache/Config.cpp + sed -i 's,".ccache","$(HOST_CCACHE_DEFAULT_CCACHE_DIR)",' $(@D)/src/ccache/Config.cpp + sed -i 's,"/.cache/ccache","/$(HOST_CCACHE_DEFAULT_CCACHE_DIR)",' $(@D)/src/ccache/Config.cpp + sed -i 's,"/.config/ccache","/$(HOST_CCACHE_DEFAULT_CCACHE_DIR)",' $(@D)/src/ccache/Config.cpp + sed -i 's,getenv("XDG_CACHE_HOME"),nullptr,' $(@D)/src/ccache/Config.cpp + sed -i 's,getenv("XDG_CONFIG_HOME"),nullptr,' $(@D)/src/ccache/Config.cpp endef HOST_CCACHE_POST_PATCH_HOOKS += HOST_CCACHE_PATCH_CONFIGURATION diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index a2749320c3..7249a9a233 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -793,7 +793,7 @@ $(2)_EXTRACT_DEPENDENCIES += \ endif ifeq ($$(BR2_CCACHE),y) -ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate host-ccache host-cmake host-hiredis host-pkgconf host-zstd,$(1)),) +ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate host-ccache host-cmake host-hiredis host-pkgconf host-zstd host-xxhash host-blake3,$(1)),) $(2)_DEPENDENCIES += host-ccache endif endif