fix: 尝试修复CI服务器编译问题 (#6)
进一步固定NCNN的编译参数以尝试解决CI服务器编译问题 Log: 尝试修复CI服务器编译问题
This commit is contained in:
parent
b7d77703f5
commit
1d17781ee6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user