On my Mac I always have to force the xcode project to use the 10.6 ...
13 years, 2 months ago
(2011-10-12 17:40:02 UTC)
#1
On my Mac I always have to force the xcode project to use the 10.6 SDK rather
than "Current Mac OS X". Otherwise I get build errors due to zlib functions not
included in the 10.5 SDK. This is despite the fact that my machine is running
10.6. I've reinstalled XCode and the problem persists. Others may be
experiencing the same pain. It makes it impossible to build from the command
line because doing so reruns gyp.
I also added gyp/build to the ignore list. This directory gets generated
somewhere in the process of running gyp or building from xcode.
On 2011/10/12 17:40:02, bsalomon wrote: > On my Mac I always have to force the ...
13 years, 2 months ago
(2011-10-12 17:55:34 UTC)
#2
On 2011/10/12 17:40:02, bsalomon wrote:
> On my Mac I always have to force the xcode project to use the 10.6 SDK rather
> than "Current Mac OS X". Otherwise I get build errors due to zlib functions
not
> included in the 10.5 SDK. This is despite the fact that my machine is running
> 10.6. I've reinstalled XCode and the problem persists. Others may be
> experiencing the same pain. It makes it impossible to build from the command
> line because doing so reruns gyp.
>
> I also added gyp/build to the ignore list. This directory gets generated
> somewhere in the process of running gyp or building from xcode.
LGTM
Brian and I discussed this live... I am leery of requiring 10.6 for all
developers (I don't understand why it should be necessary for zlib to work).
But on the other hand, Brian hasn't been able to figure out a better way to fix
his build.
We have agreed that it is reasonable for Brian to commit this change, and if it
causes anyone problems we can revert this later.
It turns out that explicitly setting 10.5 in the gyp file does not produce the ...
13 years, 2 months ago
(2011-10-12 18:06:20 UTC)
#3
It turns out that explicitly setting 10.5 in the gyp file does not produce the
same results as when no SDK is specified. When I did that I found some minor
issues in the gpu code but also that SampleApp is now dependent on 10.6.
Patchset 2 keeps the GYP at 10.6 to satisfy SampleApp but also cleans up the gpu
code to build against 10.5 in case that ever becomes important.
On 2011/10/12 18:06:20, bsalomon wrote: > It turns out that explicitly setting 10.5 in the ...
13 years, 2 months ago
(2011-10-12 18:08:24 UTC)
#4
On 2011/10/12 18:06:20, bsalomon wrote:
> It turns out that explicitly setting 10.5 in the gyp file does not produce the
> same results as when no SDK is specified. When I did that I found some minor
> issues in the gpu code but also that SampleApp is now dependent on 10.6.
>
> Patchset 2 keeps the GYP at 10.6 to satisfy SampleApp but also cleans up the
gpu
> code to build against 10.5 in case that ever becomes important.
LGTM
Issue 5260041: Set SDK for Mac build to 10.6, ignore gyp/build
(Closed)
Created 13 years, 2 months ago by bsalomon
Modified 13 years, 2 months ago
Reviewers: epoger
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0