fix: 尝试修复CI服务器编译问题 (#6)

进一步固定NCNN的编译参数以尝试解决CI服务器编译问题

Log: 尝试修复CI服务器编译问题
This commit is contained in:
wzyforgit 2022-05-30 15:20:36 +08:00 committed by GitHub
parent b7d77703f5
commit 1d17781ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,6 @@ fi
if [ ! -f "3rdparty/ncnn/build/install/lib/libncnn.a" ]; then if [ ! -f "3rdparty/ncnn/build/install/lib/libncnn.a" ]; then
cd 3rdparty/ncnn cd 3rdparty/ncnn
rm -rf build && mkdir build && cd build rm -rf build && mkdir build && cd build
cmake -DNCNN_C_API=OFF -DNCNN_BUILD_BENCHMARK=OFF -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF .. cmake -DNCNN_C_API=OFF -DNCNN_BUILD_BENCHMARK=OFF -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF -DNCNN_MSA=OFF -DNCNN_MMI=ON ..
make -j$JOBS && make install make -j$JOBS && make install
fi fi