From f9b6691c8a793f42dc733fb006e92675dc05e2cc Mon Sep 17 00:00:00 2001 From: Milos Liska Date: Mon, 18 Dec 2017 10:52:27 +0100 Subject: [PATCH] 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. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 55e27d066..143ad41ed 100644 --- a/configure.ac +++ b/configure.ac @@ -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))"