how to remove the -j9 option from the build process in gnome-builder

165 views Asked by At

I have an existing Vala project (using automake) that builds perfectly fine from the command prompt, but it fails when the build process is initiated from gnome-builder. The problem is a parallelism issue. gnome-builder is inserting a -j9 during make.

make 'all' '-j9'

How do I remove the -j9 option? or at least set it to -j1. I've tried setting from Preferences, Build->Build Workers to 1, but this doesn't seem to change anything. The version of gnome-builder is 3.22.2.

2

There are 2 answers

0
Wayne On BEST ANSWER

Turns out it was a bug. https://bugzilla.gnome.org/show_bug.cgi?id=776708. It is now fixed. Preferences, Build->Build Workers now functions as expected.

1
Felipe Lavratti On

How is the setup below in your project? Change it to 1.

enter image description here