diff --git a/24-07/caffe/shell/caffe-riscv64.sh b/24-07/caffe/shell/caffe-riscv64.sh index d0b55a4..8528cfb 100644 --- a/24-07/caffe/shell/caffe-riscv64.sh +++ b/24-07/caffe/shell/caffe-riscv64.sh @@ -3,7 +3,7 @@ set -e # 在遇到非零返回值时立即退出 echo "step1: 安装依赖包" -sudo dnf install -y leveldb-devel snappy-devel opencv.riscv64 boost-devel hdf5-devel gflags-devel glog-devel lmdb-devel openblas.riscv64 +sudo dnf install -y leveldb-devel snappy-devel opencv.riscv64 boost-devel hdf5-devel gflags-devel glog-devel lmdb-devel openblas.riscv64 protobuf-devel.riscv64 sudo dnf install -y git wget tar gcc-c++ unzip automake libtool autoconf echo "step2: 编译caffe" @@ -33,4 +33,4 @@ echo "# caffe" >> ~/.bashrc echo "export CAFFE=$CAFFE" >> ~/.bashrc echo "export PATH=$PATH" >> ~/.bashrc source ~/.bashrc -caffe --version || { echo "Caffe build failed"; exit 1; } \ No newline at end of file +caffe --version || { echo "Caffe build failed"; exit 1; }