File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 51
51
AC_MSG_RESULT([no])
52
52
fi
53
53
54
- max_allowed_uct_major = 1
55
- max_allowed_uct_minor = 9
54
+ min_allowed_uct_major = 1
55
+ min_allowed_uct_minor = 9
56
56
if test " $btl_uct_happy " = " yes" && test " $enable_uct_version_check " ! = " no" ; then
57
57
AC_MSG_CHECKING([UCT version compatibility])
58
58
OPAL_VAR_SCOPE_PUSH([CPPFLAGS_save])
59
59
CPPFLAGS_save=" $CPPFLAGS "
60
60
CPPFLAGS=" $CPPFLAGS $btl_uct_CPPFLAGS "
61
61
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([# include <uct/api/version.h>
62
- # if (UCT_VERNO_MAJOR > $max_allowed_uct_major )
63
- # error "UCT MAJOR VERNO > $max_allowed_uct_major "
62
+ # if (UCT_VERNO_MAJOR < $min_allowed_uct_major )
63
+ # error "UCT MAJOR VERNO < $min_allowed_uct_major "
64
64
# endif
65
- # if (UCT_VERNO_MINOR > $max_allowed_uct_minor)
66
- # error "UCT MINOR VERNO > $max_allowed_uct_minor"
65
+ # if (UCT_VERNO_MAJOR == $min_allowed_uct_major) &&\
66
+ (UCT_VERNO_MINOR < $min_allowed_uct_minor )
67
+ # error "UCT MINOR VERNO < $min_allowed_uct_minor"
67
68
# endif], [])],
68
69
[AC_MSG_RESULT([UCT version compatible])],
69
- [AC_MSG_RESULT([UCT version not compatible - need UCX $max_allowed_uct_major . $max_allowed_uct_minor or older ])
70
+ [AC_MSG_RESULT([UCT version not compatible - need UCX $min_allowed_uct_major . $min_allowed_uct_minor or newer ])
70
71
btl_uct_happy= " no" ])
71
72
CPPFLAGS= " $CPPFLAGS_save "
72
73
OPAL_VAR_SCOPE_POP
You can’t perform that action at this time.
0 commit comments