diff options
author | amanarora_09 <aman.arora9848@gmail.com> | 2023-03-28 22:27:17 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-08-08 20:38:17 +0200 |
commit | 8eb3ea414f84d3f28c14231ee8dda7876295e48e (patch) | |
tree | e11001ae1228054657ec475add06f1278d7a900a /meta-offline-voice-agent/recipes-vosk/vosk-kaldi | |
parent | fe8c4a516b3bff5f531caebd43c1f1ac137b9959 (diff) |
Rework and update offline voice agent
This brings the voice agent to the state shown at AMM and EW.
Change-Id: I31ac4adc874a206e6e598ba116523ecc7eb99fc9
Signed-off-by: amanarora_09 <aman.arora9848@gmail.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-offline-voice-agent/recipes-vosk/vosk-kaldi')
-rw-r--r-- | meta-offline-voice-agent/recipes-vosk/vosk-kaldi/vosk-kaldi_git.bb | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/meta-offline-voice-agent/recipes-vosk/vosk-kaldi/vosk-kaldi_git.bb b/meta-offline-voice-agent/recipes-vosk/vosk-kaldi/vosk-kaldi_git.bb index 45cf71ff..16ed3398 100644 --- a/meta-offline-voice-agent/recipes-vosk/vosk-kaldi/vosk-kaldi_git.bb +++ b/meta-offline-voice-agent/recipes-vosk/vosk-kaldi/vosk-kaldi_git.bb @@ -9,11 +9,13 @@ SRC_URI = "git://github.com/alphacep/kaldi.git;protocol=https;branch=vosk \ " PV = "1.0+git${SRCPV}" -SRCREV = "76cd51d44c0a61e3905c35cadb2ec5f54f3e42d1" +#SRCREV = "76cd51d44c0a61e3905c35cadb2ec5f54f3e42d1" +SRCREV = "${AUTOREV}" S = "${WORKDIR}/git/src" DEPENDS += "openblas vosk-openfst" + inherit python3native ALLOW_EMPTY_${PN} = "1" @@ -22,32 +24,23 @@ MYCONF = "--mathlib=OPENBLAS --static --shared --use-cuda=no --fst-root=${STAGIN # remove x86-specific optimizations do_configure:prepend:aarch64(){ - sed -i -e "s#-msse -msse2##g" ${S}/makefiles/linux_openblas.mk - } do_configure:prepend:arm(){ - sed -i -e "s#-msse -msse2##g" ${S}/makefiles/linux_openblas.mk - } do_configure() { - ./configure ${MYCONF} - } do_compile() { - make ${PARALLEL_MAKE} - } do_install() { - install -d ${D}${libdir} for i in lib/*.so ; do |