metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
142 stars 10 forks source link

build: run native addon build in parallel #185

Closed belochub closed 7 years ago

belochub commented 7 years ago

Fixes: https://github.com/metarhia/jstp/issues/154

belochub commented 7 years ago

@lundibundi, I've added a possibility to use JOBS environment variable, PTAL. About the second point: I don't think that there is any need to limit parallel jobs, most people even use job counts exceeding processor count.

lundibundi commented 7 years ago

@belochub thanks, I wrote it as I personally tend to limit j flag to smth like that as I prefer to have at least one or 2 cpus free on my machine to allow seamless workflow even during system update/build/npm install process.

aqrln commented 7 years ago

Landed in 367fcd5e749b5e8b1791cc4c1a825ac5799352cc.