search for: enable_valgrind

Displaying 10 results from an estimated 10 matches for "enable_valgrind".

2005 Mar 11
1
DSP c5x
...sary for the huge allocations in nb_encoder_init and nb_decoder_init. Are the people that have this running using additonal external ram? Has anyone experimented with reducing the internal encoder/decoder stack sizes for narrow band... is there a practical minimum that is usable? Also, Should ENABLE_VALGRIND be enabled? Any assistance always appreciated, thanks, Paul
2018 Jul 01
2
[PATCH nbdkit] valgrind: Don't call dlclose when running under valgrind.
...valgrind],[no]) +dnl If valgrind headers are available (optional). +dnl Since this is only useful for developers, you have to enable +dnl it explicitly using --enable-valgrind. +AC_ARG_ENABLE([valgrind], + AS_HELP_STRING([--enable-valgrind], [enable Valgrind extensions, for developers]), + [enable_valgrind=yes], + [enable_valgrind=no]) +AS_IF([test "x$enable_valgrind" = "xyes"],[ + PKG_CHECK_MODULES([VALGRIND], [valgrind], [ + AC_SUBST([VALGRIND_CFLAGS]) + AC_SUBST([VALGRIND_LIBS]) + AC_DEFINE([HAVE_VALGRIND],[1],[Valgrind headers found at compile time])...
2005 Mar 09
2
Valin 2.0 released
Hi everyone, I'm pleased to announce the new and improved Valin 2.0, codename "Alexandre", released March 7th, featuring: - 6 lbs (2.7 kg) at birth - Pretty face - Built-in crying algorithm Screenshots are available at http://people.xiph.org/~jm/alexandre/ . Note that this new release is not open-source and only has two "users". Both co-authors are fine, but tired at
2008 Apr 03
0
configure patch to check for SSE
...GRAM([[ +#include <xmmintrin.h> +__m128 testfunc(float *a, float *b) { + return _mm_add_ps(_mm_loadu_ps(a), _mm_loadu_ps(b)); +} +]])], +[ +has_sse=yes +], +[ +has_sse=no +] +) +AC_MSG_RESULT($has_sse) AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h) @@ -102,12 +118,19 @@ AC_DEFINE([ENABLE_VALGRIND], , [Enable valgrind extra checks]) fi]) -AC_ARG_ENABLE(sse, [ --enable-sse Enable SSE support], [if test "$enableval" = yes; then -AC_DEFINE([_USE_SSE], , [Enable SSE support]) +AC_ARG_ENABLE(sse, [ --enable-sse Enable SSE support], [ +if test "x$enableval...
2018 Dec 07
0
Re: [nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
...erely doing this patch instead (compare it to my proposed patch for fixing ocaml install, by just always picking a location relative to --prefix): diff --git i/configure.ac w/configure.ac index 33ed4d5..4a3e5c9 100644 --- i/configure.ac +++ w/configure.ac @@ -335,15 +335,6 @@ AS_IF([test "x$enable_valgrind" = "xyes"],[ dnl Bash completion. PKG_CHECK_MODULES([BASH_COMPLETION], [bash-completion >= 2.0], [ bash_completion=yes - AC_MSG_CHECKING([for bash-completions directory]) - m4_ifdef([PKG_CHECK_VAR],[ - PKG_CHECK_VAR(bashcompdir, [bash-completion], [completio...
2018 Dec 07
2
[nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
In general, autotooled packages are supposed to allow './configure --prefix=$HOME/subdir' as a way to then get 'make install' to run as non-root. In fact, 'make distcheck' tests that this scenario works; alas, we fail due to: /usr/bin/install -c -m 644 ../../../bash/nbdkit '/usr/share/bash-completion/completions' /usr/bin/install: cannot remove
2005 May 08
2
Problem configuring speex 1.1.8
...#define HAVE_SYS_SOUNDCARD_H 1 | #define HAVE_LIBM 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_LIBWINMM 1 | #define SPEEX_VERSION "1.1.8" | #define SPEEX_MAJOR_VERSION 1 | #define SPEEX_MINOR_VERSION 1 | #define SPEEX_MICRO_VERSION 8 | #define SPEEX_EXTRA_VERSION "" | #define ENABLE_VALGRIND | #define _USE_SSE | #define FIXED_POINT | #define EPIC_48K | #define TI_C55X | /* end confdefs.h. */ | #include <stdio.h> | #if HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #if HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #if STDC_HEADERS | # include <stdlib.h...
2019 Nov 04
3
[PATCH nbdkit v2 0/2] Implement fuzzing using Clang's libFuzzer.
v1 was here: https://www.redhat.com/archives/libguestfs/2019-November/msg00003.html This version depends on: https://www.redhat.com/archives/libguestfs/2019-November/msg00004.html and this series: https://www.redhat.com/archives/libguestfs/2019-November/msg00009.html The delta has been reduced slightly because of changes made possible by cleaning up and fixing the quit path in nbdkit. It's
2019 Nov 02
2
[PATCH nbdkit 0/2] Implement fuzzing using Clang's libFuzzer.
libFuzzer is Clang's fuzzer, and alternative to using AFL: https://llvm.org/docs/LibFuzzer.html I implemented an alternative method of fuzzing for libnbd earlier today and it's pretty simple: https://github.com/libguestfs/libnbd/commit/c19a6fbae9a21a7d4693418706c59e81ed256875 However it's considerably more difficult to use libFuzzer with non-library code -- in this case nbdkit.
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...); vbr_init(st->vbr); st->vbr_quality = 8; st->vbr_enabled = 0; st->vad_enabled = 0; st->dtx_enabled = 0; st->abr_enabled = 0; st->abr_drift = 0; st->plc_tuning = 2; st->complexity=2; st->sampling_rate=8000; st->dtx_count=0; #ifdef ENABLE_VALGRIND VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st)); #endif return st; } void nb_encoder_destroy(void *state) { EncState *st=(EncState *)state; /* Free all allocated memory */ vbr_destroy(st->vbr); /*Free state memory... should be last*/ speex_free(st); } int nb_encode(...