vosk-api
vosk-api copied to clipboard
FreeBSD build script and patches
This patch adds support for building Vosk-API under FreeBSD. A couple of notes: I didn't see a good place to stick the build script, so I create a 'misc' directory. There is a small patch to the upstream Kaldi to add FreeBSD support, currently it's inline in the build script, I'll also submit a PR to Kaldi for this. There a two small patches to Vosk files, one just adds FreeBSD support to the Python package, the other makes simple changes to c/Makefile to use generic $(CC) and $(CXX) makefile definitions. All C/C++ compilation is done with clang in FreeBSD. Last, I've only tested building for C and Python.
Thanks! Looks great.
makefile change could go to kaldi repo indeed, maybe even to upstream kaldi, should we just wait for it then?
I've summited an upstream PR to Kaldi master, https://github.com/kaldi-asr/kaldi/pull/4733.
Thanks! Few days then.
Kaldi maintainers merged my FreeBSD patches into master: https://github.com/kaldi-asr/kaldi/pull/4733
@tpoindex thanks, I've merged into our kaldi as well, now build should be easier.
Great, I'll update this PR to exclude the inline patches to Kaldi, might not be for a few days.
Updated the commit to remove the Kaldi in-stream patches, which are now included in upstream kaldi-asr/kaldi master as well as the alphacep/kaldi vosk branch.