How can I disable parallel builds?

Seems that CLion defaults to using -j<number of cores> but I'm working with a project that doesn't support this.

3 comments
Comment actions Permalink

You are right, now CLion uses parallel builds. How does this affect your project? Could you provide more details?

0
Comment actions Permalink

Using https://github.com/moai/moai-dev as an example. It doesn't always succeed when built in parallel depending on how you configure the build. This project is also a great example of why we need to be able to set the build options before the initial configuration. It's a pain to configure this build with CLion at present.

A hypothetical situation is building something very large in parallel. This can eat up all my RAM and I'll start swapping.. likely forcing a hard reboot.

I generally use parallel builds, but it's very important to have the option to limit the number of threads no matter how you look at it.

Thanks!

0
Comment actions Permalink

Ok. I understood you. I've created a feature request in our tracker for this: http://youtrack.jetbrains.com/issue/CPP-1023. Feel free to vote.

> set the build options before the initial configuration
Could you please tell in details what do you mean? Or file feature requests to our tracker?

0

Please sign in to leave a comment.