[swift-corelibs-dev] Looking at corelibs-foundation
anthony.parker at apple.com
Fri May 13 14:50:48 CDT 2016
> On May 13, 2016, at 10:33 AM, Rob Allen <rob at akrabat.com> wrote:
> Hi all,
>> On 13 May 2016, at 18:01, Tony Parker via swift-corelibs-dev <swift-corelibs-dev at swift.org <mailto:swift-corelibs-dev at swift.org>> wrote:
>> Hi David,
>>> On May 11, 2016, at 4:02 PM, David Hart via swift-corelibs-dev <swift-corelibs-dev at swift.org <mailto:swift-corelibs-dev at swift.org>> wrote:
>>> Hello people,
>>> I wanted to start giving a hand on corelibs-foundation but hit two obstacles I’d like to discuss:
> This is good timing as I'm planning on seeing if I can contribute to corelibs-foundation on the grounds that it may be at my ability level!
>>> I tried downloading the master branch of corelibs-foundation and running the tests before starting any work, but several of them crashed or failed. I am on OS X, Xcode 7.3.1, up to date on the master branches of corelibs-foundation and corelibs-xctest and am using the latest development snapshot. For reference, the failing tests are:
>>> Any ideas? Perhaps I’m doing something wrong.
>> Our CI system only builds and tests corelibs-foundation on Linux, so perhaps some regressions have snuck in on OS X only (which is interesting if true).
>> NSTask in particular has been under a lot of changes for Linux recently.
> I've hit this too - I'll try and raise issues over the weekend for them if I can.
> My plan is to start by writing unit tests if only get a feel for how all the project fits together. Building and testing on Linux is so slow due to the lack of incremental builds that starting with OS X seemed logical. I thought it was a problem at my end though when the tests failed on OS X.
> Is there a reason why corelibs-foundation isn't build for OS X by the CI system?
Technically, swift-corelibs-foundation is only part of the distribution on Linux. On Darwin platforms, we use a combination of the overlay (stdlib/public/SDK/Foundation directory in the Swift project) and the Foundation.framework that ships on the OS.
However, we want to build and test it on OS X because that’s a much easier platform for most of us to deal with on a day-to-day basis.
I think we should consider having the CI build foundation and run its tests on OS X, but I’m not sure how to split out that concept from the final package that the CI generates. We don’t want to ship swift-corelibs-foundation on OS X because then we’d have two separate libraries with the same name and same API…
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-corelibs-dev