Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 899 Bytes

build-with-cmake.md

File metadata and controls

46 lines (33 loc) · 899 Bytes

build with cmake

windows

Take Vsiual Studio 2015 as example:

mkdir build_x64 && cd build_x64
cmake .. -G"Visual Studio 14 Win64"

linux

If you are using 3rdparty blas libraries, please download mklmk_lnx or openblas to 3rdparty/lib. Then run as following:

mkdir cmake-build-release && cd cmake-build-release
cmake .. 
make -j4

arm

32bit

mkdir cmake-build-release && cd cmake-build-release
cmake .. -DSIMD_ARCH_TYPE=arm
make SampleMatMulNEON
make SampleMTCNN
make SampleSphereFaceNet

64bit

mkdir cmake-build-release && cd cmake-build-release
cmake .. -DSIMD_ARCH_TYPE=arm64
make SampleMatMulNEON
make SampleMTCNN
make SampleSphereFaceNet

use OpenBLAS

add cmake flag: -DBLAS_TYPE=openblas