Fix cuda support detection when passed UCX_DIR
This commit is contained in:
parent
026e9ba30b
commit
3ff9e1617c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ fi
|
|||
|
||||
if [ ! -z $CUDA_DIR ] ; then
|
||||
[ -z "$UCX_DIR" ] && sit_fail "Have to be configured with external UCX"
|
||||
ucx_info -b | grep -e "HAVE_CUDA *1" >/dev/null || sit_fail "UCX must be built with CUDA support"
|
||||
$UCX_DIR/bin/ucx_info -b | grep -e "HAVE_CUDA *1" >/dev/null || sit_fail "UCX must be built with CUDA support"
|
||||
CONFIGURE_OPTS+=" --with-cuda=$CUDA_DIR"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue