Skip to content

Commit 2c13343

Browse files
committed
test=develop, fix no_avx exit
1 parent be36e18 commit 2c13343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/scripts/fast_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,8 +798,8 @@ function checkMacAVX(){
798798
AVX="avx"
799799
echo "检测结果:支持"
800800
else
801-
echo "检测结果:不支持。非常抱歉,PaddlePaddle在Mac系统暂不提供no_avx类型的安装包,您可以选择在Linux系统中安装no_avx版的PaddlePaddle"
802-
echo
801+
read -n1 -p "检测结果:不支持。非常抱歉,PaddlePaddle在Mac系统暂不提供no_avx类型的安装包,您可以选择在Linux系统中安装no_avx版的PaddlePaddle, 请按回车键退出..."
802+
exit(0)
803803
fi
804804
echo
805805
}

0 commit comments

Comments
 (0)