[swift-users] libswift frontend ios

Joe Groff jgroff at apple.com
Mon Feb 22 19:53:39 CST 2016


> On Feb 22, 2016, at 5:49 PM, Ramakrishna Mallireddy <ramakrishna.malli at gmail.com> wrote:
> 
> Hi Joe, 
> 
> I am not looking to build the llvm back-end, I am only looking to build front-ends to generate llvm IR on iOS.
> 
> have build the swift-llvm & swift-clang static libraries for iOS using cmake, 
> now I am looking to build the swift front-end for iOS,  do you have any instructions that makes my job easier going forward.

We don't build any of the compiler for iOS, either the backend or frontend. I'd start by adding targets to the build system for the compiler's libraries (libswiftAST, libswiftSema, etc.) targeting iOS and seeing what breaks.

-Joe

> Thanks
> Ramakrishna 
> 
> On Mon, Feb 22, 2016 at 11:20 PM, Joe Groff <jgroff at apple.com <mailto:jgroff at apple.com>> wrote:
> On Feb 22, 2016, at 4:29 AM, Ramakrishna Mallireddy via swift-users <swift-users at swift.org <mailto:swift-users at swift.org>> wrote:
>> 
>> HI,
>> 
>> How can I compile the swift front-end for iOS.
>> the build-script mentioned only Swift Standard Library for iOS.
>> 
>> I have read the build-script-impl, it does have the iOS build flags, but are they only for building the standard library  or am I missing something.
> 
> That's right, the build script only builds the runtime libraries for iOS, not the compiler itself. We don't build or test the compiler on iOS since that's not normally useful for Xcode development.
> 
> -Joe
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160222/cd2aa78c/attachment.html>


More information about the swift-users mailing list