build: Disable valgrind by default on the Mac. Our suppressions file doesn't even begin to cover the huge stream of errors that dyld generates.
This commit is contained in:
parent
883eb38b28
commit
518e2d249c
2 changed files with 13 additions and 0 deletions
|
@ -46,6 +46,10 @@ ifdef CFG_DISABLE_VALGRIND
|
|||
$(info cfg: disabling valgrind (CFG_DISABLE_VALGRIND))
|
||||
CFG_VALGRIND :=
|
||||
endif
|
||||
ifdef CFG_BAD_VALGRIND
|
||||
$(info cfg: disabling valgrind due to its unreliability on this platform)
|
||||
CFG_VALGRIND :=
|
||||
endif
|
||||
|
||||
DOCS :=
|
||||
ifeq ($(CFG_MAKEINFO),)
|
||||
|
|
9
configure
vendored
9
configure
vendored
|
@ -201,6 +201,15 @@ probe CFG_MAKEINFO makeinfo
|
|||
probe CFG_TEXI2PDF texi2pdf
|
||||
probe CFG_TEX tex
|
||||
|
||||
# Valgrind is only reliable on Linux. On Windows it doesn't work at all, and
|
||||
# on the Mac the dynamic linker causes Valgrind to emit a huge stream of
|
||||
# errors.
|
||||
if [ $CFG_OSTYPE != Linux ]
|
||||
then
|
||||
CFG_BAD_VALGRIND=1
|
||||
putvar CFG_BAD_VALGRIND
|
||||
fi
|
||||
|
||||
if [ ! -z "$CFG_LLVM_ROOT" ]
|
||||
then
|
||||
CFG_LLVM_INCDIR="$CFG_LLVM_ROOT/include"
|
||||
|
|
Loading…
Add table
Reference in a new issue