1
1

Merge pull request #7422 from bgoglin/hwloc-cleanup

minor hwloc configure fixes
Этот коммит содержится в:
Jeff Squyres 2020-02-27 06:20:29 -05:00 коммит произвёл GitHub
родитель ae7f4f46f6 a0ea5abec8
Коммит 85db54969e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 2 добавлений и 17 удалений

Просмотреть файл

@ -89,9 +89,6 @@ AC_DEFUN([MCA_opal_hwloc_CONFIG_REQUIRE],[
# REQUIRE.
MCA_CONFIGURE_FRAMEWORK([opal], [hwloc], 1)
# Restore the --enable-pci flag
enable_pci=$opal_hwloc_hwloc132_save_enable_pci
# Give a blank line to separate these messages from the last
# component's configure.m4 output.
echo " "

12
opal/mca/hwloc/external/configure.m4 поставляемый
Просмотреть файл

@ -173,18 +173,6 @@ AC_DEFUN([MCA_opal_hwloc_external_CONFIG],[
AC_CHECK_DECLS([HWLOC_OBJ_OSDEV_COPROC], [], [], [#include <hwloc.h>])
AC_CHECK_FUNCS([hwloc_topology_dup])
# See if the external hwloc supports XML
AC_MSG_CHECKING([if external hwloc supports XML])
AS_IF([test "$opal_hwloc_dir" != ""],
[opal_hwloc_external_lstopo="$opal_hwloc_dir/bin/lstopo"],
[OPAL_WHICH(lstopo, opal_hwloc_external_lstopo)])
opal_hwloc_external_tmp=`$opal_hwloc_external_lstopo --help | $GREP "Supported output file formats" | grep xml`
AS_IF([test "$opal_hwloc_external_tmp" = ""],
[opal_hwloc_external_enable_xml=0
AC_MSG_RESULT([no])],
[opal_hwloc_external_enable_xml=1
AC_MSG_RESULT([yes])])
AC_CHECK_HEADERS([infiniband/verbs.h])
# These flags need to get passed to the wrapper compilers

2
opal/mca/hwloc/external/external.h поставляемый
Просмотреть файл

@ -56,7 +56,7 @@ BEGIN_C_DECLS
# if defined(HAVE_INFINIBAND_VERBS_H)
# include MCA_hwloc_external_openfabrics_header
# else
# error Tried to include hwloc verbs helper file, but hwloc was compiled with no OpenFabrics support
# error Tried to include hwloc verbs helper file, but <infiniband/verbs.h> is missing
# endif
#endif

Просмотреть файл

@ -42,7 +42,7 @@ BEGIN_C_DECLS
# if defined(HAVE_INFINIBAND_VERBS_H)
# include "hwloc/include/hwloc/openfabrics-verbs.h"
# else
# error Tried to include hwloc verbs helper file, but hwloc was compiled with no OpenFabrics support
# error Tried to include hwloc verbs helper file, but <infiniband/verbs.h> is missing
# endif
#endif