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

Change the default number of CPU threads to one #40

Open
ibnesayeed opened this issue May 18, 2018 · 1 comment
Open

Change the default number of CPU threads to one #40

ibnesayeed opened this issue May 18, 2018 · 1 comment

Comments

@ibnesayeed
Copy link

While it is great to have a configuration option to set the number of CPU threads to use to build targets in parallel as per #1 and #10, setting the default to anything other than one CPU thread may result in unexpected behavior. When I started using this package for the first time to compile a LaTeX document, the cleanup task didn't seem to be working which was supped to run at the very end. After wasting a few hours I realized that there is a configuration to run tasks in parallel which is causing tasks to run out of order and my LaTeX compilation is taking longer than the cleanup tasks that fines before it had anything to clean, resulting in unnecessary artifacts present in the repo after each build. When I changed that configuration to use only one CPU thread, the problem was vanished.

@Nik-Sch
Copy link

Nik-Sch commented Aug 6, 2019

This is a problem of your Makefile then. Fix it.

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