[swift-dev] [SR-710][RFC] Automatically detecting XCTest test methods on Linux: Reflection? SourceKit?
lukeh at padl.com
Mon May 9 22:48:48 CDT 2016
There is libxpc from NextBSD:
You’d still need to implement Mach IPC on top of something though.
> On 10 May 2016, at 12:35 PM, Brian Gesiak via swift-dev <swift-dev at swift.org> wrote:
> Thanks for the feedback, everyone!
> Porting SourceKit to Linux seems like a reasonable solution to me. Still, there are 354 lines of code in tools/SourceKit that reference "XPC", so a Linux port will take more than a few lines of source code changes.
> I imagine we'll need to insert some sort of shim layer that will use libxpc on OS X, and a hand-rolled solution for Linux. Alternatively, if anyone knows of a good open-source library that implements IPC for Linux (and that has a permissible license), that would be a great help here.
> I've also seen the idea proposed that Apple could open-source libxpc, which we could then port to Linux. This would involve less work than installing a shim layer in SourceKit, then in addition implementing a Linux IPC library behind the shim. I don't know who I could talk about making this happen, but in any case, I filed a Radar:
> * rdar://26187442
> * https://openradar.appspot.com/26187442 <https://openradar.appspot.com/26187442>
> > 2. Somehwat unrelated, but the compiler itself (`swiftc`) is not yet written in a way that it can be used from SourceKit.
> Could you explain this further?
> - Brian Gesiak
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-dev