Skip to content

Commit

Permalink
hwloc: clarify the error message when infiniband/verbs.h is missing b…
Browse files Browse the repository at this point in the history
…ut hwloc's verbs support is requested

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Feb 5, 2020
1 parent 6a31672 commit 1823aec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opal/mca/hwloc/external/external.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,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

Expand Down
3 changes: 2 additions & 1 deletion opal/mca/hwloc/hwloc2/hwloc2.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Copyright (c) 2017 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
*
* Copyright (c) 2020 Inria. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
Expand Down Expand Up @@ -42,7 +43,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

Expand Down

0 comments on commit 1823aec

Please sign in to comment.