From patchwork Sun Apr 26 12:39:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karoly Kasza X-Patchwork-Id: 464674 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 3CEAB1400B7 for ; Sun, 26 Apr 2015 22:39:26 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=arTT6a8g; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 824FC8B283; Sun, 26 Apr 2015 12:39:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X2APP3TGTeOD; Sun, 26 Apr 2015 12:39:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 8464A8B273; Sun, 26 Apr 2015 12:39:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id F1BB21C2442 for ; Sun, 26 Apr 2015 12:39:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EE7678B26A for ; Sun, 26 Apr 2015 12:39:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xdz9dp1Z-4fP for ; Sun, 26 Apr 2015 12:39:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by hemlock.osuosl.org (Postfix) with ESMTPS id E63948B25C for ; Sun, 26 Apr 2015 12:39:21 +0000 (UTC) Received: by wgin8 with SMTP id n8so90860300wgi.0 for ; Sun, 26 Apr 2015 05:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Y+YnMMc9X6g3gzhAbG3cyAMsWkKN0HWZHYw2dJXNFDA=; b=arTT6a8gpn4COu+Am9br+Ldhi7vyEl7W8lc5DwRXmSI+ugCbh0wxY8NtfED41GWoM3 duoZMIhuuQoJQu+a3/UpkeRRE0TAygIMbdR5Q1jwA03pvvnvYHv7XZvl5Hp0+N5wQ7Ib Z/gQw0P9vk/P6eqJH7PwHk84x76pBbskmI0Vtn8S0yjUEvFU3JSdEl3rgBWmvpIUyGba mW9qzcNpQ3XKYlhy+WtdUjv8AOxN4ynPh9xYhoj9WjBBPn/4CGF1elBfCnlYJraB1B6c 4h7x3SAHwC/YDOnL9vqrdxvyBf3YeIPQxOVPXhKI/u7Ia+j8qs74XdCPMsEK2PqBh4Ke jwYA== X-Received: by 10.194.104.71 with SMTP id gc7mr13398875wjb.114.1430051960559; Sun, 26 Apr 2015 05:39:20 -0700 (PDT) Received: from localhost.localdomain (94-21-79-200.pool.digikabel.hu. [94.21.79.200]) by mx.google.com with ESMTPSA id g5sm17111019wjq.6.2015.04.26.05.39.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Apr 2015 05:39:19 -0700 (PDT) From: Karoly Kasza To: buildroot@buildroot.org Date: Sun, 26 Apr 2015 14:39:13 +0200 Message-Id: <1430051953-87326-1-git-send-email-kaszak@gmail.com> X-Mailer: git-send-email 1.7.10.4 Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH v2] package/ccache: bump to version 3.2.1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Bump ccache from v.3.1.x to v.3.2.x. All functionality remained the same. - Configure now accepts a parameter to use ccache's internal zlib. - conf.c was introduced and some settings were moved from ccache.c, with minor changes. - The PATCH_CONFIGURATION hook was moved from POST_CONFIGURE to POST_PATCH, as patching files should be done there, before calling the configure script. Signed-off-by: Karoly Kasza --- Changes v1 -> v2: - added git commit message (Baruch) package/ccache/ccache.hash | 4 ++-- package/ccache/ccache.mk | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package/ccache/ccache.hash b/package/ccache/ccache.hash index 10caac8..49012af 100644 --- a/package/ccache/ccache.hash +++ b/package/ccache/ccache.hash @@ -1,2 +1,2 @@ -# Verified key http://samba.org/ftp/ccache/ccache-3.1.11.tar.xz.asc - sha256 computed locally -sha256 60e9f3f1e60f528cfce910f3224bcc698029320f6ab77ec09a7b46bda2bc678e ccache-3.1.11.tar.xz +# Verified key http://samba.org/ftp/ccache/ccache-3.2.1.tar.xz.asc - sha256 computed locally +sha256 872af34e1d2cef18694001d29db7f167d644e7602ca32cd6c74b28d81458bd9d ccache-3.2.1.tar.xz diff --git a/package/ccache/ccache.mk b/package/ccache/ccache.mk index 893b6ae..52b5c67 100644 --- a/package/ccache/ccache.mk +++ b/package/ccache/ccache.mk @@ -4,7 +4,7 @@ # ################################################################################ -CCACHE_VERSION = 3.1.11 +CCACHE_VERSION = 3.2.1 CCACHE_SITE = http://samba.org/ftp/ccache CCACHE_SOURCE = ccache-$(CCACHE_VERSION).tar.xz CCACHE_LICENSE = GPLv3+, others @@ -19,7 +19,7 @@ CCACHE_LICENSE_FILES = LICENSE.txt GPL-3.0.txt # to use HOSTCC_NOCCACHE as the compiler. Instead, we take the easy # path: tell ccache to use its internal copy of zlib, so that ccache # has zero dependency besides the C library. -HOST_CCACHE_CONF_OPTS += ccache_cv_zlib_1_2_3=no +HOST_CCACHE_CONF_OPTS += --with-bundled-zlib # Patch host-ccache as follows: # - Use BR_CACHE_DIR instead of CCACHE_DIR, because CCACHE_DIR @@ -34,11 +34,11 @@ HOST_CCACHE_CONF_OPTS += ccache_cv_zlib_1_2_3=no # the need to specify BR_CACHE_DIR when invoking ccache directly. define HOST_CCACHE_PATCH_CONFIGURATION sed -i 's,getenv("CCACHE_DIR"),getenv("BR_CACHE_DIR"),' $(@D)/ccache.c - sed -i 's,getenv("CCACHE_COMPILERCHECK"),"none",' $(@D)/ccache.c - sed -i 's,"%s/.ccache","$(BR_CACHE_DIR)",' $(@D)/ccache.c + sed -i 's,conf->compiler_check = x_strdup("mtime"),conf->compiler_check = x_strdup("none"),' $(@D)/conf.c + sed -i 's,"%s/.ccache","$(BR_CACHE_DIR)",' $(@D)/conf.c endef -HOST_CCACHE_POST_CONFIGURE_HOOKS += HOST_CCACHE_PATCH_CONFIGURATION +HOST_CCACHE_POST_PATCH_HOOKS += HOST_CCACHE_PATCH_CONFIGURATION define HOST_CCACHE_MAKE_CACHE_DIR mkdir -p $(BR_CACHE_DIR)