make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU make CPU utilization in cloud environments


From: Paul Smith
Subject: Re: GNU make CPU utilization in cloud environments
Date: Wed, 17 Feb 2016 10:12:10 -0500

On Wed, 2016-02-17 at 14:51 +0100, Tamás Fülöp wrote:
> This command utilizes at least 80% of the CPU on a local machine, but 
> not in the cloud environment.

Wait, I think we were not clear what you meant by "cloud environment".

GNU make supports _parallel_ jobs: that is, running multiple recipes at
the same time on the same host.

GNU make does not support, at all, _distributed_ jobs: that is, running
recipes on multiple different hosts.

If by "cloud environment" you mean a set of separate servers running in
the cloud, there is no facility for distributing build jobs across
those in GNU make, and there has never been.  If you want to improve
build times you'll need to provision a single host with more CPU
capacity.

There are add-on tools you can use if you would like distributed
builds, such as distcc: https://github.com/distcc/distcc  However, as
far as I'm aware they only work on Linux not Windows.

Maybe someone else has pointers to distributed build capabilities that
will work for you.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]