Skip to content

Commit c42d886

Browse files
authored
Merge pull request #1925 from jsquyres/pr/warnings-fixes
hwloc: fix Valgrind warning
2 parents 36555b7 + 7bea563 commit c42d886

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

opal/mca/hwloc/hwloc1113/README-ompi.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ Cherry-picked commits after 1.11.3:
33
open-mpi/hwloc@9549fd59af04dca2e2340e17f0e685f8c552d818
44
open-mpi/hwloc@0ab7af5e90fc2b58be30b2126cc2a73f9f7ecfe9
55
open-mpi/hwloc@8b44fb1c812d01582887548c2fc28ee78255619
6+
open-mpi/hwloc@d4565c351e5f01e27d3e106e3a4c2f971a37c9dd

opal/mca/hwloc/hwloc1113/hwloc/config/hwloc.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,8 @@ EOF])
681681
AS_IF([test "$hwloc_mode" != "embedded"],
682682
[AC_CHECK_HEADERS([valgrind/valgrind.h])
683683
AC_CHECK_DECLS([RUNNING_ON_VALGRIND],,[:],[[#include <valgrind/valgrind.h>]])
684+
],[
685+
AC_DEFINE([HAVE_DECL_RUNNING_ON_VALGRIND], [0], [Embedded mode; just assume we do not have Valgrind support])
684686
])
685687
686688
AC_CHECK_HEADERS([pthread_np.h])

0 commit comments

Comments
 (0)