]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
ccache: Update to 4.7.4
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Nov 2022 11:15:37 +0000 (11:15 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Nov 2022 11:15:37 +0000 (11:15 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
ccache/ccache.nm

index 6edc79767a7c9a51a913461bbb429800d0a30900..450b40446a9f3d806072dc0d3be76035ec3690f7 100644 (file)
@@ -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")