Skip to content

Commit 85db549

Browse files
authored
Merge pull request #7422 from bgoglin/hwloc-cleanup
minor hwloc configure fixes
2 parents ae7f4f4 + a0ea5ab commit 85db549

File tree

4 files changed

+2
-17
lines changed

4 files changed

+2
-17
lines changed

opal/mca/hwloc/configure.m4

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ AC_DEFUN([MCA_opal_hwloc_CONFIG_REQUIRE],[
8989
# REQUIRE.
9090
MCA_CONFIGURE_FRAMEWORK([opal], [hwloc], 1)
9191

92-
# Restore the --enable-pci flag
93-
enable_pci=$opal_hwloc_hwloc132_save_enable_pci
94-
9592
# Give a blank line to separate these messages from the last
9693
# component's configure.m4 output.
9794
echo " "

opal/mca/hwloc/external/configure.m4

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -173,18 +173,6 @@ AC_DEFUN([MCA_opal_hwloc_external_CONFIG],[
173173
AC_CHECK_DECLS([HWLOC_OBJ_OSDEV_COPROC], [], [], [#include <hwloc.h>])
174174
AC_CHECK_FUNCS([hwloc_topology_dup])
175175

176-
# See if the external hwloc supports XML
177-
AC_MSG_CHECKING([if external hwloc supports XML])
178-
AS_IF([test "$opal_hwloc_dir" != ""],
179-
[opal_hwloc_external_lstopo="$opal_hwloc_dir/bin/lstopo"],
180-
[OPAL_WHICH(lstopo, opal_hwloc_external_lstopo)])
181-
opal_hwloc_external_tmp=`$opal_hwloc_external_lstopo --help | $GREP "Supported output file formats" | grep xml`
182-
AS_IF([test "$opal_hwloc_external_tmp" = ""],
183-
[opal_hwloc_external_enable_xml=0
184-
AC_MSG_RESULT([no])],
185-
[opal_hwloc_external_enable_xml=1
186-
AC_MSG_RESULT([yes])])
187-
188176
AC_CHECK_HEADERS([infiniband/verbs.h])
189177

190178
# These flags need to get passed to the wrapper compilers

opal/mca/hwloc/external/external.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ BEGIN_C_DECLS
5656
# if defined(HAVE_INFINIBAND_VERBS_H)
5757
# include MCA_hwloc_external_openfabrics_header
5858
# else
59-
# error Tried to include hwloc verbs helper file, but hwloc was compiled with no OpenFabrics support
59+
# error Tried to include hwloc verbs helper file, but <infiniband/verbs.h> is missing
6060
# endif
6161
#endif
6262

opal/mca/hwloc/hwloc2/hwloc2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ BEGIN_C_DECLS
4242
# if defined(HAVE_INFINIBAND_VERBS_H)
4343
# include "hwloc/include/hwloc/openfabrics-verbs.h"
4444
# else
45-
# error Tried to include hwloc verbs helper file, but hwloc was compiled with no OpenFabrics support
45+
# error Tried to include hwloc verbs helper file, but <infiniband/verbs.h> is missing
4646
# endif
4747
#endif
4848

0 commit comments

Comments
 (0)