Tencent/ncnn

The tools directory is not in build

Closed this issue · 1 comments

hl-ux commented

hello:
I did not find the build tools directory in the build directory after cross-compiling with riscv32-unknown-elf. Why is this?
Here are the commands I compiled**
mkdir build
cmake -DCMAKE_TOOLCHAIN_FILE=.. /riscv32-unknown-elf.toolchain.cmake -DNCNN_THREADS=OFF -DNCNN_OPENMP=OFF -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF ..
make -j4
make install

I didn't find any errors in the entire compilation process, I don't know where the problem is,

BR

hl-ux commented

Sorry, it's my problem. I didn't read the compile condition properly. The compile macro should be open: DNCNN_BUILD_TOOLS=ON