daanzu / kaldi-active-grammar

Python Kaldi speech recognition with grammars that can be set active/inactive dynamically at decode-time
GNU Affero General Public License v3.0
332 stars 49 forks source link

Fix mac m1 build #75

Open bogdan0083 opened 1 year ago

bogdan0083 commented 1 year ago

This PR fixes builds on Mac M1 processors. This is the first time I'm working with build systems, I guess there might be a more elegant solution to this issue, but it still works!

Before this merge, we need to merge this cherry-picked commit for kaldi fork first: https://github.com/daanzu/kaldi-fork-active-grammar/pull/3