Skip to content

Commit 1823aec

Browse files
committed
hwloc: clarify the error message when infiniband/verbs.h is missing but hwloc's verbs support is requested
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
1 parent 6a31672 commit 1823aec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: opal/mca/hwloc/external/external.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ BEGIN_C_DECLS
5757
# if defined(HAVE_INFINIBAND_VERBS_H)
5858
# include MCA_hwloc_external_openfabrics_header
5959
# else
60-
# error Tried to include hwloc verbs helper file, but hwloc was compiled with no OpenFabrics support
60+
# error Tried to include hwloc verbs helper file, but <infiniband/verbs.h> is missing
6161
# endif
6262
#endif
6363

Diff for: opal/mca/hwloc/hwloc2/hwloc2.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Copyright (c) 2017 Research Organization for Information Science
88
* and Technology (RIST). All rights reserved.
99
*
10+
* Copyright (c) 2020 Inria. All rights reserved.
1011
* $COPYRIGHT$
1112
*
1213
* Additional copyrights may follow
@@ -42,7 +43,7 @@ BEGIN_C_DECLS
4243
# if defined(HAVE_INFINIBAND_VERBS_H)
4344
# include "hwloc/include/hwloc/openfabrics-verbs.h"
4445
# else
45-
# error Tried to include hwloc verbs helper file, but hwloc was compiled with no OpenFabrics support
46+
# error Tried to include hwloc verbs helper file, but <infiniband/verbs.h> is missing
4647
# endif
4748
#endif
4849

0 commit comments

Comments
 (0)