mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/valgrind to 3.19.0-2
This commit is contained in:
parent
7831663ebd
commit
9bfab3e7fd
1 changed files with 14 additions and 1 deletions
|
@ -2,6 +2,16 @@
|
|||
# Contributor: Dan McGee <dan@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
|
||||
# README
|
||||
# this package requires glibc-debug to run the check() function
|
||||
# as -debug packages are not available in [core], it has to be applied manually
|
||||
# whenever the tests shall run
|
||||
#
|
||||
# For a fresh build:
|
||||
# $repo-x86_64-build -- -I ../../glibc/trunk/glibc-debug*.pkg.tar.zst
|
||||
# $repo-x86_64-build
|
||||
# ${repo}pkg
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - hold for toolchain update
|
||||
# - patch from Fedora for AArch64
|
||||
|
@ -11,7 +21,7 @@ noautobuild=1
|
|||
|
||||
pkgname=valgrind
|
||||
pkgver=3.19.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Tool to help find memory-management problems in programs'
|
||||
arch=('x86_64')
|
||||
license=('GPL')
|
||||
|
@ -67,6 +77,9 @@ build() {
|
|||
}
|
||||
|
||||
check() {
|
||||
# only run if glibc-debug is supplied manually
|
||||
if ! pacman -Q glibc-debug; then echo -e "\033[1;31mcheck() not run, supply glibc-debug if unintended!\033[0m"; return 0; fi
|
||||
|
||||
cd valgrind-${pkgver}
|
||||
|
||||
# Make sure a basic binary runs. There should be no errors.
|
||||
|
|
Loading…
Reference in a new issue