-
Notifications
You must be signed in to change notification settings - Fork 931
Closed
Labels
Description
The addition of the new hwloc component (v1.11.3) appears to have broken external valgrind builds.
Specifically, early in configure, hwloc1113 checks for <valgrind/valgrind.h> and fails to find it. Note that this is fine for hwloc -- it doesn't need Valgrind support.
However, if OMPI was configured with --with-valgrind=/location, then later in configure, then opal/mca/memchecker/valgrind/configure.m4 adds -I/location/include to $CPPFLAGS and then checks for <valgrind/valgrind.h>. However, Autoconf thinks it has already done this test -- and uses the cached result (i.e., that <valgrind/valgrind.h> wasn't found). I.e., the new $CPPFLAGS value is ignored.
I'm not sure what the correct fix is here.