mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-10 01:24:19 +00:00
fix ncnn installation
This commit is contained in:
parent
3e11b98976
commit
3cbc81d93a
@ -542,7 +542,7 @@ First, let us install a modified version of ``ncnn``:
|
|||||||
-DNCNN_PYTHON=ON \
|
-DNCNN_PYTHON=ON \
|
||||||
-DNCNN_BUILD_BENCHMARK=OFF \
|
-DNCNN_BUILD_BENCHMARK=OFF \
|
||||||
-DNCNN_BUILD_EXAMPLES=OFF \
|
-DNCNN_BUILD_EXAMPLES=OFF \
|
||||||
-DNCNN_BUILD_TOOLS=OFF \
|
-DNCNN_BUILD_TOOLS=ON \
|
||||||
..
|
..
|
||||||
|
|
||||||
make -j4
|
make -j4
|
||||||
@ -553,7 +553,7 @@ First, let us install a modified version of ``ncnn``:
|
|||||||
|
|
||||||
export PYTHONPATH=$PWD/python:$PYTHONPATH
|
export PYTHONPATH=$PWD/python:$PYTHONPATH
|
||||||
export PATH=$PWD/tools/pnnx/build/src:$PATH
|
export PATH=$PWD/tools/pnnx/build/src:$PATH
|
||||||
export PATH=$PWD/build/tools/quantize:$PATH
|
export PATH=$PWD/build-wheel/tools/quantize:$PATH
|
||||||
|
|
||||||
# now build pnnx
|
# now build pnnx
|
||||||
cd tools/pnnx
|
cd tools/pnnx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user