Re: distributed builds in makefiles
Re: distributed builds in makefiles
- Subject: Re: distributed builds in makefiles
- From: Stefan Werner <email@hidden>
- Date: Wed, 21 Sep 2005 16:07:01 -0700
Hi,
Date: Wed, 21 Sep 2005 22:36:32 +0200
From: Markus Hitter <email@hidden>
Subject: Re: distributed builds in makefiles
I am using Makefiles as a part of my build process and am wondering
if there's a way that Makefiles could take advantage of multiple
CPUs and distributed compiling like Xcode builds.
"man make", have a look at the -j option.
I should have been more precise: I know about -j and I also know how
to substitute cc with distcc - my question is rather, how do I make
my makefile set these automatically? I want my makefile to use -j 2
on a dual G5, -j 1 on a PowerBook and -j 4 on my next PowerMac, in
the same way that Xcode automatically builds with the appropriate
number of processes. In the same fashion, I'd be really happy if my
makefile would also use distributed builds whenever the user has
enabled that in his Xcode settings. The Makefile is part of an Xcode
project, so I hoped that there are environment variables set that I
can interpret.
Stefan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden