• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Parallel Building
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parallel Building


  • Subject: Re: Parallel Building
  • From: "Michael Crawford" <email@hidden>
  • Date: Tue, 21 Oct 2008 16:20:24 -0700

> If you get your dependencies right, parallel make will Just Work.  See
> the -j option.  (In general, it's easier to maximize the efficiency of
> this if your make is not recursive.)

It happens that I was just getting ready to set up a *vast* tree of
recursive Makefiles for my GNU GPL audio application Ogg Frog.
Presently it builds with XCode on OS X, but I need Makefiles for other
UNIX-ey platforms, as well as for the odd Mac coder who just prefers
plain old make.

Can you give me any links to HOWTOs that explain how to de-recursify
recursive Makefiles?

(Ogg Frog's website is http://www.oggfrog.com/free-music-software/ -
but note that there won't be anything to download until it reaches
Alpha, which won't be until late Winter at the earliest.)

It's going to be a while before I have the cash, but my plan is to get
one of those expen$ive Dual Quad-Core Xeon Mac Pros so I can build
binaries for all my supported platforms simultaneously, by running
compilers within a bunch of different operating systems under
Parallels.

A complication is that this requires that I keep all the build
products for each platform separate from each of the others.
Presently I have a folder called "Arch".  The various builds make
subfolders within Arch like "mac-os-x" and "win32-x86" and so on.
Eventually I'll have more folders like "linux/fedora-core",
"linux/ubuntu" and so on.

It was a huge PITA to set up, but another advantage is that I can do a
clean for all the platforms just by dragging Arch's contents to the
Trash.

Thanks!

Mike
--
Michael David Crawford
mdcrawford at gmail dot com

   Enjoy my art, photography, music and writing at
http://www.geometricvisions.com/
        --- Free Compact Disc ---
 _______________________________________________
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

  • Follow-Ups:
    • Re: Parallel Building
      • From: "Charles Nicholson" <email@hidden>
References: 
 >Parallel Building (From: "Willy P" <email@hidden>)
 >Re: Parallel Building (From: Braden McDaniel <email@hidden>)

  • Prev by Date: Re: Problem with xcodebuild in Script
  • Next by Date: Re: Parallel Building
  • Previous by thread: Re: Parallel Building
  • Next by thread: Re: Parallel Building
  • Index(es):
    • Date
    • Thread