Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does build take so long on Linux? #116

Closed
zacharisharris opened this issue May 4, 2017 · 15 comments
Closed

Why does build take so long on Linux? #116

zacharisharris opened this issue May 4, 2017 · 15 comments

Comments

@zacharisharris
Copy link

I am in the build process (make) and it seems to take too long. It is stuck on a line that reads:
CC lang/vid_gb_ap/libttsmimic_lang_vid_gb_ap_la-vid_gb_ap_cg_01_mcep_trees.lo

What is wrong? Is it an error? Should I wait?
I am running it on GalliumOS on an Acer Chromebook 14.

@forslund
Copy link
Collaborator

forslund commented May 4, 2017

Hi @zacharisharris building that voice takes a really long time I'm afraid. The size of the data that needs to be compiled into the binary for that voice is extraordinary large. Be patient and have a cup of tea.

If your computer has multiple cores you can try to build using make -jCORES where CORES is the number of cores available on your computer. This will consume a lot more memory during build time and gcc may crash if it runs out.

@zacharisharris
Copy link
Author

I have it running right now. What is the ETA? Will it take days or maybe just tonight?

@forslund
Copy link
Collaborator

forslund commented May 4, 2017

Just tonight =/

My workstation at home is an AMD machine which takes ~2 Hours to build it, my laptop is an Intel i3 and builds mimic in ~30 minutes.

I would guess no longer than 2 hours.

@zacharisharris
Copy link
Author

Nice. I am running it on my Linux laptop, but ultimately I wanna run it on RPi 2 to power my personal voice assistant. Is it good for personal use?

@forslund
Copy link
Collaborator

forslund commented May 4, 2017

I've not tried it on an RPi2 on a RPi3 it's no problems though.

@zacharisharris
Copy link
Author

Will it work with my Python voice assistant instead of espeak?

@forslund
Copy link
Collaborator

forslund commented May 4, 2017

Not sure. I've been working on pymimic a python wrapper for mimic: https://github.com/forslund/pymimic is that what you're asking for? Mycroft wraps the command line application using subprocess.Popen()

@zacharisharris
Copy link
Author

My assistant runs the command line commands for espeak when replying to the user. Mimic has command line commands as well, correct? I don't see why it wouldn't work.

@forslund
Copy link
Collaborator

forslund commented May 4, 2017

Yes that is correct, there should be no problems

@zacharisharris
Copy link
Author

I have successfully installed it and it works. Though, it is installed in the Downloads. Can you tell me how I can create a path so that I can run it from anywhere in terminal?

@forslund
Copy link
Collaborator

forslund commented May 4, 2017 via email

@zacharisharris
Copy link
Author

No. Simple make install

@zacharisharris
Copy link
Author

I just copied the mimic-development folder to my home folder so now I just have to run the .mimic command. Is that correct?

@forslund
Copy link
Collaborator

forslund commented May 4, 2017 via email

@zacharisharris
Copy link
Author

Hey please send me a personal email on zacharisharris@gmail.com so that we can talk in private.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants