mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 14:40:22 +00:00
Hotfix: Configure should not end on AC_MSG_ERROR on unsupported CUDA compiler
especially if CUDA compiler is not present (or CUDA compilation is disabled). Typo fix.
This commit is contained in:
@@ -1761,7 +1761,7 @@ if test $uyvy_req = yes -a $uyvy = no; then
|
||||
fi
|
||||
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
# CUDA staff
|
||||
# CUDA stuff
|
||||
#
|
||||
# CUDA compiler choice - defaults to nvcc
|
||||
#
|
||||
@@ -1844,7 +1844,7 @@ case "$CUDA_COMPILER" in
|
||||
CUDA_COMPUTE_ARGS="--cuda-gpu-arch=sm_30 --cuda-gpu-arch=sm_35"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([Unsupported cuda compiler $CUDA_COMPILER])
|
||||
AC_MSG_WARN([Unsupported cuda compiler $CUDA_COMPILER])
|
||||
;;
|
||||
esac
|
||||
HOST_CC_REPORT=" (cuda code compiler: $(basename $CUDA_COMPILER))"
|
||||
|
||||
Reference in New Issue
Block a user