We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57b8a41 commit d443a3eCopy full SHA for d443a3e
recipe/build-mpi.sh
@@ -28,7 +28,10 @@ fi
28
# CUDA support
29
build_with_cuda=""
30
if [[ -n "$CUDA_HOME" ]]; then
31
- build_with_cuda="--with-cuda=$CUDA_HOME --with-cuda-libdir=$CUDA_HOME/lib64/stubs"
+ build_with_cuda="--with-cuda=yes"
32
+ export CFLAGS="$CFLAGS -I$CUDA_HOME/include"
33
+ export CXXFLAGS="$CXXFLAGS -I$CUDA_HOME/include"
34
+ export LDFLAGS="$LDFLAGS -L$CUDA_HOME/lib64/stubs"
35
fi
36
37
if [[ $CONDA_BUILD_CROSS_COMPILATION == "1" && $target_platform == osx-arm64 ]]; then
0 commit comments