| 123456789101112131415161718192021 |
- # download third-part lib
- if [ ! -d "./deps" ]; then
- mkdir deps
- fi
- if [ ! -d "./deps/gflag" ]; then
- cd deps
- git clone https://github.com/gflags/gflags
- cd gflags
- cmake .
- make -j 4
- cd ..
- cd ..
- fi
- OPENCV_URL=https://bj.bcebos.com/paddlex/deploy/armlinux/opencv.tar.bz2
- if [ ! -d "./deps/opencv" ]; then
- cd deps
- wget -c ${OPENCV_URL}
- tar xvfj opencv.tar.bz2
- rm -rf opencv.tar.bz2
- cd ..
- fi
|