Browse Source

修复栓查CPU信息的逻辑

master
yuanjiajia 2 years ago
parent
commit
6691e6f34d
  1. 2
      first_run.sh

2
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"

Loading…
Cancel
Save