Skip to content

Commit

Permalink
Use native as default value for CMAKE_CUDA_ARCHITECTURES.
Browse files Browse the repository at this point in the history
Fixes #84.
  • Loading branch information
csadorf committed Oct 21, 2022
1 parent b56a6ae commit 02d2c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/bash-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ update-environment-variables() {
export CUGRAPH_ROOT_ABS="$CUGRAPH_HOME/cpp/$(cpp-build-dir $CUGRAPH_HOME)"
export CUSPATIAL_ROOT_ABS="$CUSPATIAL_HOME/cpp/$(cpp-build-dir $CUSPATIAL_HOME)"

export CUDAARCHS="${CUDAARCHS:-${CMAKE_CUDA_ARCHITECTURES:-NATIVE}}"
export CUDAARCHS="${CUDAARCHS:-${CMAKE_CUDA_ARCHITECTURES:-native}}"
export CMAKE_C_FLAGS="${CFLAGS:+$CFLAGS }-fdiagnostics-color=always"
export CMAKE_CXX_FLAGS="${CXXFLAGS:+$CXXFLAGS }-fdiagnostics-color=always"
export CMAKE_CUDA_FLAGS="${CUDAFLAGS:+$CUDAFLAGS }-Xcompiler=-fdiagnostics-color=always"
Expand Down

0 comments on commit 02d2c42

Please sign in to comment.