Skip to content

Commit

Permalink
ccache(4.8.3): add function CHECK
Browse files Browse the repository at this point in the history
NB: Running check, CCACHE segfaults in the first test, then hangs in the
    second.  This needs to be fixed.
  • Loading branch information
jannick0 committed Dec 25, 2023
1 parent 2f3a8c1 commit 9611db6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ccache/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9611db6

Please sign in to comment.