Open lamnguyenx opened 5 years ago
Hi @jcsilva
Finally I've solved all these issues:
First off, open the container, and --use-cuda=no to the following line in "compile-kaldi.sh":
CXX=clang++ ./configure **--use-cuda=no** --static --android-incdir=${ANDROID_TOOLCHAIN_PATH}/sysroot/usr/include/ --host=arm-linux-androideabi --openblas-root=${WORKING_DIR}/OpenBLAS/install
Open /opt/kaldi/src/matrix/Makefile and comment these test files:
TESTFILES = #matrix-lib-test sparse-matrix-test #matrix-lib-speed-test
That's all :)
can u please tell the exact location of compile-kaldi.sh file, i am not able to find it.
can u please tell the exact location of compile-kaldi.sh file, i am not able to find it.
I've just check the Dockerfile: https://github.com/jcsilva/docker-kaldi-android/blob/master/Dockerfile. Seems that it resides at /opt/ ;)
Also, you could simply run docker exec -it <container_name> /bin/bash
to open the container's interactive shell :+1:
Hi @jcsilva
I've pulled your docker image and ran it by the following command:
This helped me make cub in Kaldi's tools folder, since Kaldi had a weird issue with --use-cuda=no option passed to configure file (it still tried to include cude):
After that, I've run compile-kaldi.sh . It was working for a while until this issue pops up:
I'm looking forward to a hint, @jcsilva :) Might it be a bug with arm-linux-androideabi-clang++?
Thank you!