Skip to content

Commit c78bf6e

Browse files
committed
---
yaml --- r: 2399 b: refs/heads/master c: 518e2d2 h: refs/heads/master i: 2397: 2c83316 2395: df96687 2391: d1c0356 2383: 2a470f2 2367: b52abdd v: v3
1 parent 9dfa35c commit c78bf6e

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 883eb38b283d9f2486529ec1bf1e7f695396d96f
2+
refs/heads/master: 518e2d249c062211c2c1211327f2e21451920047

trunk/Makefile.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ ifdef CFG_DISABLE_VALGRIND
4646
$(info cfg: disabling valgrind (CFG_DISABLE_VALGRIND))
4747
CFG_VALGRIND :=
4848
endif
49+
ifdef CFG_BAD_VALGRIND
50+
$(info cfg: disabling valgrind due to its unreliability on this platform)
51+
CFG_VALGRIND :=
52+
endif
4953

5054
DOCS :=
5155
ifeq ($(CFG_MAKEINFO),)

trunk/configure

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,15 @@ probe CFG_MAKEINFO makeinfo
201201
probe CFG_TEXI2PDF texi2pdf
202202
probe CFG_TEX tex
203203

204+
# Valgrind is only reliable on Linux. On Windows it doesn't work at all, and
205+
# on the Mac the dynamic linker causes Valgrind to emit a huge stream of
206+
# errors.
207+
if [ $CFG_OSTYPE != Linux ]
208+
then
209+
CFG_BAD_VALGRIND=1
210+
putvar CFG_BAD_VALGRIND
211+
fi
212+
204213
if [ ! -z "$CFG_LLVM_ROOT" ]
205214
then
206215
CFG_LLVM_INCDIR="$CFG_LLVM_ROOT/include"

0 commit comments

Comments
 (0)