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.
This commit is contained in:
Jannick
2023-12-25 08:01:30 +01:00
parent 2f3a8c1a53
commit 9611db66d9

View File

@@ -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