|
|
@ -35,6 +35,13 @@ echo -e "\n\n[ libtool-bin cmake flex bison libgtk-3-dev libgl1-mesa-dev python3 |
|
|
|
read |
|
|
|
sudo apt update |
|
|
|
sudo apt install -y libtool-bin cmake flex bison libgtk-3-dev libgl1-mesa-dev python3-dev python3-numpy git patchelf |
|
|
|
echo -e "\n\n正在检查 CPU 平台 ……\n" |
|
|
|
sleep 1 |
|
|
|
CPU=`cat /proc/cpuinfo | grep "model name"` |
|
|
|
echo -e "$CPU\n\n" |
|
|
|
if [ `echo $CPU | grep "Intel(R)"` ] ; then |
|
|
|
sudo sudo apt install ocl-icd-opencl-dev |
|
|
|
fi |
|
|
|
echo -e "\n\n已经安装完成 运行脚本需要的工具 ……\n" |
|
|
|
echo $BOUNDARYEND |
|
|
|
|
|
|
|