How to build swift-corelibs-foundation from command line


(Rajeev Jeyaraj) #1

Hi All,

I am trying to build the corelibs-foundation from command line, is there a
way to specifiy it in the swift/utils/build script?

Thanks


(Philippe Hausler) #2

Building it on Linux just pass --foundation. Building it on Mac OS X you will need to build the toolchain, install that and then build via the Xcode project.

···

On Jun 7, 2016, at 5:59 PM, Rajeev Jeyaraj via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hi All,

I am trying to build the corelibs-foundation from command line, is there a way to specifiy it in the swift/utils/build script?

Thanks
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


(Rajeev Jeyaraj) #3

i'm trying to build it on mac OS X, i'm having issue with Xcode picking up
my tool chain, built via the build-toolchain script.
Is there any way I can build from the command line, rather than having to
go through Xcode?

···

On 7 June 2016 at 21:01, Philippe Hausler <phausler@apple.com> wrote:

Building it on Linux just pass --foundation. Building it on Mac OS X you
will need to build the toolchain, install that and then build via the Xcode
project.

> On Jun 7, 2016, at 5:59 PM, Rajeev Jeyaraj via swift-corelibs-dev < > swift-corelibs-dev@swift.org> wrote:
>
> Hi All,
>
> I am trying to build the corelibs-foundation from command line, is there
a way to specifiy it in the swift/utils/build script?
>
> Thanks
> _______________________________________________
> swift-corelibs-dev mailing list
> swift-corelibs-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


(Philippe Hausler) #4

It needs to be bootstrapped in a different way for OS X builds (primarily since there is already the system framework of Foundation present).

Are you instilling the toolchain to /Library/Developer/Toolchains? And do you have it selected in the preferences in Xcode?

···

On Jun 7, 2016, at 6:03 PM, Rajeev Jeyaraj <rajeewgandhi.jeyaraj@gmail.com> wrote:

i'm trying to build it on mac OS X, i'm having issue with Xcode picking up my tool chain, built via the build-toolchain script.
Is there any way I can build from the command line, rather than having to go through Xcode?

On 7 June 2016 at 21:01, Philippe Hausler <phausler@apple.com <mailto:phausler@apple.com>> wrote:
Building it on Linux just pass --foundation. Building it on Mac OS X you will need to build the toolchain, install that and then build via the Xcode project.

> On Jun 7, 2016, at 5:59 PM, Rajeev Jeyaraj via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:
>
> Hi All,
>
> I am trying to build the corelibs-foundation from command line, is there a way to specifiy it in the swift/utils/build script?
>
> Thanks
> _______________________________________________
> swift-corelibs-dev mailing list
> swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev