[Top][All Lists]

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

Re: Parallel make

From: Paul Smith
Subject: Re: Parallel make
Date: Sat, 02 May 2015 16:47:44 -0400

On Thu, 2015-04-30 at 08:18 +0200, SF Markus Elfring wrote:
> > GNU make has no built-in capability to use multiple machines:
> How are the chances to integrate additional job submission systems?

Well, make already HAS a hook available to anyone who wants to use a
different job submission system: the SHELL and .SHELLFLAGS variables.
All you need to do is create a script or program that interfaces with
the alternative job submission system, and which takes a command line to
be invoked as well as any other values available to a recipe that you
like, then set up the make SHELL and/or .SHELLFLAGS variables to use
that interface.

I have nothing against doing more than that in theory, but before I'd
agree to add something complex I'd need to understand where the existing
method fails, and the new method would provide significant benefits.

reply via email to

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