From 6691e6f34d4a5352a6b0a6db841bce8c367f7891 Mon Sep 17 00:00:00 2001 From: yuanjiajia <1139393632@qq.com> Date: Tue, 31 May 2022 13:32:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A0=93=E6=9F=A5CPU?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- first_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first_run.sh b/first_run.sh index 5ea4662..ae05013 100755 --- a/first_run.sh +++ b/first_run.sh @@ -40,7 +40,7 @@ echo -e "\n\n正在检查 CPU 平台 ……\n" sleep 1 CPUINFO=`cat /proc/cpuinfo | grep "model name"` echo -e "$CPUINFO\n\n" -if [ `echo $CPUINFO | grep "Intel(R)"` ] ; then +if echo $CPUINFO | grep "Intel(R)" ; then sudo apt install ocl-icd-opencl-dev fi echo -e "\n\n已经安装完成 运行脚本需要的工具 ……\n"