Skip to content

Commit

Permalink
Update caffe-aarch64.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
6eanut authored Jul 11, 2024
1 parent 668b12e commit 1fe34f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 24-07/caffe/shell/caffe-aarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -e # 在遇到非零返回值时立即退出

echo "step1: 安装依赖包"
# 如果当前用户没有sudo权限,则注释掉下面两行,改用root用户来运行下面两行
sudo dnf install -y leveldb-devel snappy-devel opencv.aarch64 boost-devel hdf5-devel gflags-devel glog-devel lmdb-devel openblas.aarch64
sudo dnf install -y git wget tar gcc-c++ unzip automake libtool autoconf

Expand Down Expand Up @@ -56,4 +57,4 @@ echo "# caffe" >> ~/.bashrc
echo "export CAFFE=$CAFFE" >> ~/.bashrc
echo "export PATH=$PATH" >> ~/.bashrc
source ~/.bashrc
caffe --version || { echo "Caffe build failed"; exit 1; }
caffe --version || { echo "Caffe build failed"; exit 1; }

0 comments on commit 1fe34f8

Please sign in to comment.