File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -389,8 +389,8 @@ Either your CUDA is too new or too old."
389389 CUSOLVER=true
390390 ;;
391391 12_* )
392- MIN_UNSUPPORTED_GCC_VER=" 12.2 "
393- MIN_UNSUPPORTED_GCC_VER_NUM=122000
392+ MIN_UNSUPPORTED_GCC_VER=" 12.3 "
393+ MIN_UNSUPPORTED_GCC_VER_NUM=123000
394394 CUSOLVER=true
395395 ;;
396396 * )
@@ -399,9 +399,10 @@ Please open an issue at https://github.com/kaldi-asr/kaldi/issues and include\
399399 output of either 'nvcc -h' or 'ptxas -h'."
400400 ;;
401401 esac
402- (( GCC_VER_NUM < MIN_UNSUPPORTED_GCC_VER_NUM )) ||
402+ if [ $ GCC_VER_NUM -ge $ MIN_UNSUPPORTED_GCC_VER_NUM ] ; then
403403 failure " CUDA $CUDA_VERSION does not support $CXX (g++-$GCC_VER ).\
404404 Only versions strictly older than $MIN_UNSUPPORTED_GCC_VER are supported."
405+ fi
405406
406407 case $CUDA_VERSION in
407408 [1-8]_* | 9_0) CUSOLVER=false ;;
You can’t perform that action at this time.
0 commit comments