Welcome to MacForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Distributed builds under XCode

 
   Macintosh computer (Home) -> Tools RSS
Related Topics:
How do I use CVS with Xcode? - [ My apologies if this is I don't know whether my ISP's news server is set up right. ] I want to use Xcode to help manage the files in a PHP project I'm working on. There were a couple of files available for Project Builder to get it to..

How do I use CVS with Xcode? - [ My apologies if this is I don't know whether my ISP's news server is set up right. ] I could use some help figuring out how to use CVS with Xcode! I set up my CVS and imported my source code files into CVS and checked them..

gcc 3.4.4 on Xcode 1.5 - Hello, How can I use gcc 3.4 on Xcode 1.5? gcc 3.4.4 is installed @ But, There is no gcc version setting option in Xcode 1.5. Please, help me.

Using CVS with Xcode - Hi! I have a doubt using Xcode with CVS. Is it possible? I'm looking for a way to do this for days, but all that I found need to use the So, if The Xcode is really a great IDE it should do this by itself.. Need I do as I was doing when working..

New to Xcode (and Mac) - I am sure this is a really ignorant question, but maybe someone can give me the quick answer! In Xcode 2.2, I have built a simple little screen that will be used to call some I just wrote. When I Add a Directory Chooser button and try to..
Next:  Tools: debugging c++ under XCode 2.2  
Author Message
scott

External


Since: Feb 08, 2007
Posts: 7



(Msg. 1) Posted: Wed Jan 17, 2007 6:42 am
Post subject: Distributed builds under XCode
Archived from groups: comp>sys>mac>programmer>tools (more info?)

Hi,

I am running a distributed build under XCode 2.2

The build host is a PPC Mac Mini running OS10.4.8, the build client is
a i386 quad-core Mac Pro, running OS10.4.8. Both are using fast
ethernet connections on a quiet network.

The Mac Mini takes the same amount of time to do a build (16 minutes),
despite having the Mac Pro assigned in its distributed build settings,
and the Mac Pro making itself available for distributed builds.

Switching on verbose logging, the Mac Mini reports all source files
compiled on localhost.

How can I query the Mac Pro to see what, if any, requests for aid it's
receiving... ?

-scott

 >> Stay informed about: Distributed builds under XCode 
Back to top
Login to vote
vze35xda

External


Since: Jan 08, 2005
Posts: 151



(Msg. 2) Posted: Wed Jan 17, 2007 10:49 am
Post subject: Re: Distributed builds under XCode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In the preferences under Distributed builds see if the other machine
appears. You have to run XCode (it must be the SAME version) and set
it to share it's resources, this will be in the same Distributed Builds
on the OTHER machine. When you do that it will appear as a resource in
the compiling machine's window. Also it will be apparent when this
works since you will see multiple modules compiling at once. With a
12" PowerBook 1GHz G4 and a Dual G4 533 shared this way I see 5 or 6
modules compiled at a time.

You probably will have to update your XCode to 2.4 to match the
other machine and there might be issues since it's an Intel machine and
your other is a PPC. I don't have any Intel's to test against so I
don't even know if it works. But if you set the machines up to share
resources you will see them but marked in RED as incompatible. If you
don't see the other machine then look into network problems. (Easy
check, can you see the other machine's iTunes library ?, this will
check Boujour connectivity which you need to make this work.)

---jim

scott wrote:
> Hi,
>
> I am running a distributed build under XCode 2.2
>
> The build host is a PPC Mac Mini running OS10.4.8, the build client is
> a i386 quad-core Mac Pro, running OS10.4.8. Both are using fast
> ethernet connections on a quiet network.
>
> The Mac Mini takes the same amount of time to do a build (16 minutes),
> despite having the Mac Pro assigned in its distributed build settings,
> and the Mac Pro making itself available for distributed builds.
>
> Switching on verbose logging, the Mac Mini reports all source files
> compiled on localhost.
>
> How can I query the Mac Pro to see what, if any, requests for aid it's
> receiving... ?
>
> -scott

 >> Stay informed about: Distributed builds under XCode 
Back to top
Login to vote
Chris Hanson

External


Since: Apr 30, 2004
Posts: 101



(Msg. 3) Posted: Thu Jan 18, 2007 12:58 am
Post subject: Re: Distributed builds under XCode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-01-17 06:42:39 -0800, "scott" <scott.wakeling.DeleteThis@gmail.com> said:

> The build host is a PPC Mac Mini running OS10.4.8, the build client is
> a i386 quad-core Mac Pro, running OS10.4.8. Both are using fast
> ethernet connections on a quiet network.
>
> The Mac Mini takes the same amount of time to do a build (16 minutes),
> despite having the Mac Pro assigned in its distributed build settings,
> and the Mac Pro making itself available for distributed builds.

Xcode's distcc-based distributed build system cannot distribute builds
across architectures. In other words, you can't distributed from a
PowerPC-baesd Mac to an Intel-based Mac or vice versa. My
understanding is that GCC's precompiled prefix format isn't
binary-compatible between the two architectures.

-- Chris
 >> Stay informed about: Distributed builds under XCode 
Back to top
Login to vote
scott

External


Since: Feb 08, 2007
Posts: 7



(Msg. 4) Posted: Thu Jan 18, 2007 1:23 am
Post subject: Re: Distributed builds under XCode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chris Hanson wrote:
> On 2007-01-17 06:42:39 -0800, "scott" <scott.wakeling.RemoveThis@gmail.com> said:
>
> > The build host is a PPC Mac Mini running OS10.4.8, the build client is
> > a i386 quad-core Mac Pro, running OS10.4.8. Both are using fast
> > ethernet connections on a quiet network.
> >
> > The Mac Mini takes the same amount of time to do a build (16 minutes),
> > despite having the Mac Pro assigned in its distributed build settings,
> > and the Mac Pro making itself available for distributed builds.
>
> Xcode's distcc-based distributed build system cannot distribute builds
> across architectures. In other words, you can't distributed from a
> PowerPC-baesd Mac to an Intel-based Mac or vice versa. My
> understanding is that GCC's precompiled prefix format isn't
> binary-compatible between the two architectures.
>
> -- Chris

Thanks for the help. It seems it's the architecture that's the problem,
because my Mac Book and Mac Pro are happily distributing builds to one
another, as they're both i386.
 >> Stay informed about: Distributed builds under XCode 
Back to top
Login to vote
Ben Artin

External


Since: Jun 20, 2005
Posts: 65



(Msg. 5) Posted: Thu Jan 18, 2007 2:25 pm
Post subject: Re: Distributed builds under XCode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <1169044959.511773.47510.RemoveThis@38g2000cwa.googlegroups.com>,
"scott" <scott.wakeling.RemoveThis@gmail.com> wrote:

> The build host is a PPC Mac Mini running OS10.4.8, the build client is
> a i386 quad-core Mac Pro, running OS10.4.8. Both are using fast
> ethernet connections on a quiet network.

You can't distribute builds between machines of different architectures. Your
entire build farm has to be PPC or Intel (but it can compile both PPC and Intel
versions of your code).

Ben

--
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>

I changed my name: <http://periodic-kingdom.org/People/NameChange.php>
 >> Stay informed about: Distributed builds under XCode 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Tools All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]