diff options
| author | Patrick Walton <[email protected]> | 2011-05-05 18:11:40 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-05-05 18:11:40 -0700 |
| commit | 518e2d249c062211c2c1211327f2e21451920047 (patch) | |
| tree | d837d0473ebd7a19144cf64fb13634f060bd5d3a /configure | |
| parent | rustc: Remove some debugging code from decl_native_fn_and_pair() (diff) | |
| download | rust-518e2d249c062211c2c1211327f2e21451920047.tar.xz rust-518e2d249c062211c2c1211327f2e21451920047.zip | |
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.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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" |