Skip to content

Commit b9f7287

Browse files
bwbarrettgpaulsen
authored andcommitted
Require HWLOC 1.11.0 or later
1.11.8 appears to be the oldest version of HWLOC shipped by currently supported Linux distros, so bump our requirements to 1.11.0. Signed-off-by: Brian Barrett <bbarrett@amazon.com> (cherry picked from commit 6a934a5) Signed-off-by: Geoffrey Paulsen <gpaulsen@us.ibm.com>
1 parent 23e96cf commit b9f7287

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/opal_config_hwloc.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,16 @@ AC_DEFUN([_OPAL_CONFIG_HWLOC_EXTERNAL], [
144144
LIBS="$opal_hwloc_LIBS_save $opal_hwloc_LIBS"
145145
146146
AS_IF([test "$opal_hwloc_external_support" = "yes"],
147-
[AC_MSG_CHECKING([if external hwloc version is 1.6 or greater])
147+
[AC_MSG_CHECKING([if external hwloc version is 1.11.0 or greater])
148148
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <hwloc.h>]],
149149
[[
150150
#if HWLOC_API_VERSION < 0x00010500
151-
#error "hwloc API version is less than 0x00010500"
151+
#error "hwloc API version is less than 0x00011100"
152152
#endif
153153
]])],
154154
[AC_MSG_RESULT([yes])],
155155
[AC_MSG_RESULT([no])
156-
AC_MSG_WARN([external hwloc version is too old (1.5 or later required)])
156+
AC_MSG_WARN([external hwloc version is too old (1.11.0 or later required)])
157157
opal_hwloc_external_support="no"])])
158158
159159
AS_IF([test "$opal_hwloc_external_support" = "yes"],

0 commit comments

Comments
 (0)