In my node module I use larger library in source code which takes a while to compile. I believe this has to do with the --no-parallel
setting used by default by node-gyp. Now I wonder if it is possible to make node-gyp compile cpp files in parallel to speed up this process. I couldn't find anything that would help on the GYP format reference page. Is there a setting for my project gyp file or a hack for node-gyp?
Looking at the code, this might also work:
$ env JOBS=8 npm install ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With