From d6cce719028e113a7a639a66caec45f2ae2c5138 Mon Sep 17 00:00:00 2001 From: 6eanut <137808952+6eanut@users.noreply.github.com> Date: Thu, 11 Jul 2024 18:01:23 +0800 Subject: [PATCH] Update caffe-riscv64.sh --- 24-07/caffe/shell/caffe-riscv64.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }