Skip to content

Commit

Permalink
continuing...
Browse files Browse the repository at this point in the history
  • Loading branch information
djdunning committed Jul 17, 2024
1 parent eebb692 commit 0a0affe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .conda/heffte/cuda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ cd build
export MPI_FLAGS="--allow-run-as-root"

if [ $(uname) == Linux ]; then
# export MPI_FLAGS="$MPI_FLAGS;-mca;plm;isolated"
export MPI_FLAGS="$MPI_FLAGS;-mca;plm;isolated"
# export CUDACXX=$(which nvcc)
fi

source "$RECIPE_DIR/../../cross-compile-setup.sh"

export OMPI_CXX=nvcc
# Only do this for cross compiling
if [ "$PLATFORM" != "linux-64" ] ; then
#if [ "$PLATFORM" != "linux-64" ] ; then
# export NVCC_PREPEND_FLAGS="-ccbin $CXX";
fi
#fi
# These things need to be set for certain cmake versions.
# The cmake CUDA compiler tests need to see the host env libs
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH $PREFIX/lib"
Expand Down

0 comments on commit 0a0affe

Please sign in to comment.