Skip to content

Commit 7b9d7c7

Browse files
authored
revert
$CUDA_HOME is defined in the CUDA container, use it
1 parent c2dc682 commit 7b9d7c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recipe/build-mpi.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ if [[ "$target_platform" == osx-* ]]; then
2121
fi
2222
fi
2323

24-
if [[ -z $CUDA_PATH ]]; then
24+
if [[ -z $CUDA_HOME ]]; then
2525
build_with_cuda=""
2626
else
27-
export CFLAGS="$CFLAGS -I$CUDA_PATH/include"
28-
export CXXFLAGS="$CXXFLAGS -I$CUDA_PATH/include"
27+
export CFLAGS="$CFLAGS -I$CUDA_HOME/include"
28+
export CXXFLAGS="$CXXFLAGS -I$CUDA_HOME/include"
2929
build_with_cuda="--with-cuda --with-ucx=$PREFIX"
3030
fi
3131

0 commit comments

Comments
 (0)