###############################################################################
name = ccache
-version = 3.7.1
+version = 4.7.4
release = 1
groups = Development/Compilers
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")