Skip to content

Commit

Permalink
recipe: Fix configure with CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
dalcinl committed Dec 25, 2023
1 parent f2b86eb commit 7e1efee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions recipe/build-mpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ fi
# CUDA support
build_with_cuda=""
if [[ -n "$CUDA_HOME" ]]; then
build_with_cuda="--with-cuda=yes"
export CFLAGS="$CFLAGS -I$CUDA_HOME/include"
export CXXFLAGS="$CXXFLAGS -I$CUDA_HOME/include"
export LDFLAGS="$LDFLAGS -L$CUDA_HOME/lib64/stubs"
build_with_cuda="--with-cuda=$CUDA_HOME --with-cuda-libdir=$CUDA_HOME/lib64/stubs"
fi

if [[ $CONDA_BUILD_CROSS_COMPILATION == "1" && $target_platform == osx-arm64 ]]; then
Expand Down

0 comments on commit 7e1efee

Please sign in to comment.