From 9611db66d9d7486dbaac7bbbf42accc9bbc20fef Mon Sep 17 00:00:00 2001 From: Jannick Date: Mon, 25 Dec 2023 08:01:30 +0100 Subject: [PATCH] ccache(4.8.3): add function CHECK NB: Running check, CCACHE segfaults in the first test, then hangs in the second. This needs to be fixed. --- ccache/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ccache/PKGBUILD b/ccache/PKGBUILD index 5aaeba8c..5511c087 100644 --- a/ccache/PKGBUILD +++ b/ccache/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ccache pkgver=4.8.3 -pkgrel=2 +pkgrel=3 pkgdesc="A compiler cache (mingw-w64)" arch=('i686' 'x86_64') url="https://ccache.samba.org/" @@ -38,6 +38,11 @@ build() { cmake --build . } +check() { + cd "build-${CHOST}" + /usr/bin/ctest . +} + package() { cd "${srcdir}/build-${CHOST}" DESTDIR="${pkgdir}" cmake --build . --target install