From: Michael Tremer Date: Wed, 30 Nov 2022 11:15:37 +0000 (+0000) Subject: ccache: Update to 4.7.4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2125ada4cb51a24abb2e9f76cc7a2c243cacea81;p=ipfire-3.x.git ccache: Update to 4.7.4 Signed-off-by: Michael Tremer --- diff --git a/ccache/ccache.nm b/ccache/ccache.nm index 6edc79767..450b40446 100644 --- a/ccache/ccache.nm +++ b/ccache/ccache.nm @@ -4,7 +4,7 @@ ############################################################################### name = ccache -version = 3.7.1 +version = 4.7.4 release = 1 groups = Development/Compilers @@ -20,32 +20,28 @@ description end source_dl = https://github.com/ccache/ccache/releases/download/v%{version}/ -sources = %{thisapp}.tar.xz - -# Sets ccache max size up to 2 GB -CFLAGS += -DDEFAULT_MAXSIZE=2097152 build requires - autoconf - automake + cmake perl zlib-devel + zstd-devel end CCACHE_CACHE = %{localstatedir}/cache/ccache - prepare_cmds - # Do not run test for pre-compiled headers - sed -e "/^pch$/d" -i test/run + build + %{cmake} . \ + -DREDIS_STORAGE_BACKEND=OFF - # Remove shipped zlib - rm -rf zlib + make %{PARALLELISMFLAGS} end - test - make check - end + #test + # # XXX Disabled because the testsuite removes libzstd.so.1 + # make check + #end install_cmds CCACHE_PLATFORM_TARGET=$(echo %{DISTRO_MACHINE} | sed -e "s/-gnu//g")