pkgsrc-Users archive

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

Re: pkgsrc and Xcode 7.0



* On 2015-09-23 at 22:04 BST, Matthias Scheler wrote:

> On Wed, Sep 23, 2015 at 07:15:29PM +0100, Jonathan Perkin wrote:
> > > FWIW patching pkgsrc to let it use the 10.11 SDK path on 10.10 does not
> > > seem to cause any major problems. Just completed a limited bulk build
> > > of around 200 packages without regressions.
> > 
> > What I've done on my Yosemite hosts, thanks to a hint from:
> > 
> >   https://twitter.com/MacHomebrew/status/644872113988481024
> > 
> > is install the Command Line Tools alongside Xcode, pkgsrc will then
> > pick up the /usr/include directories instead and you can continue to
> > use a native SDK.
> 
> Yes, that seems to work fine.
> 
> You can also copy the Mac OS 10.10 SKD from Xcode 6.4 into the
> Xcode 7.0 directory.

If you go the Command Line Tools route you will probably also want:

  https://github.com/joyent/pkgsrc/commit/c1711e89

The current setup is incredibly pessimistic with the missing SDK, with
each Xcode command taking around 3 seconds to fail, and it appears the
negative result isn't cached in xcrun_db.  This is adding many hours
to a pbulk-scan run.

I'll commit the above diff after the freeze.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index