[swift-dev] Porting swift to FreeBSD

Davide Italiano dccitaliano at gmail.com
Sun Dec 13 16:07:26 CST 2015


On Sun, Dec 13, 2015 at 4:41 PM, Chris Lattner <clattner at apple.com> wrote:
>
>> On Dec 13, 2015, at 3:34 AM, Davide Italiano via swift-dev <swift-dev at swift.org> wrote:
>>
>> On Sun, Dec 13, 2015 at 6:15 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>>> On Sun, Dec 13, 2015 at 2:52 AM, Davide Italiano <dccitaliano at gmail.com> wrote:
>>>> And now, swift compiled programs run correctly on FreeBSD!
>>>
>>> This is great, thanks Davide!
>>>
>>>> % ./swiftc hello.swift -o hello
>>>> davide at rabbit1:/exps/swift/build/Ninja-ReleaseAssert/swift-freebsd-x86_64/bin
>>>> % ./hello
>>>> hello
>>>> % cat hello.swift
>>>> print ("hello")
>>>
>>> How much of the testsuite passes?
>>>
>>
>> There isn't (yet) support for FreeBSD in lit.cfg so it fails.
>> I'll try to add those bits tomorrow and report how far it goes.
>
> This is very exciting Davide!  Thanks for pushing forward on this,
>
> -Chris

Thank you. After some hacking (patches will come soon) I got the
testsuite to run on FreeBSD.
This is the current status.

  Expected Passes    : 780
  Expected Failures  : 5
  Unsupported Tests  : 572
  Unexpected Failures: 994

Sure, there's still a lot to do but doesn't seem that bad for a first run =)

Thanks,

--
Davide


More information about the swift-dev mailing list