Re: [swift-corelibs-dev] Building Foundation

2017-03-02 Thread Mohit Athwani via swift-corelibs-dev
Hi Alex, I can see that all of the tests mentioned in my last mail failed on: SwiftRuntimeTests: /home/mohit/Documents/swift-source/swift/unittests/runtime/Refcounting.cpp:26: void destroyTestObject(swift::HeapObject *): Assertion `object->Addr && "object already deallocated"' failed. I am on th

Re: [swift-corelibs-dev] Building Foundation

2017-03-02 Thread Alex Blewitt via swift-corelibs-dev
> On 2 Mar 2017, at 01:51, Mohit Athwani via swift-corelibs-dev > wrote: > > I am trying to build Foundation on my Ubuntu 16.04 LTS version using: > > swift/utils/build-script --xctest --foundation -t > > And it fails with the following tests failing: OK, what happened when you looked in the

Re: [swift-corelibs-dev] Building Foundation with SwiftPM

2017-01-30 Thread Ankit Aggarwal via swift-corelibs-dev
On Tue, Jan 31, 2017 at 8:13 AM, Philippe Hausler via swift-corelibs-dev < swift-corelibs-dev@swift.org> wrote: > So there are a few issues that would be a bit tricky to deal with: > > SwiftPM uses Foundation so you would have to devise some way to build > SwiftPM either without Foundation (which

Re: [swift-corelibs-dev] Building Foundation with SwiftPM

2017-01-30 Thread Philippe Hausler via swift-corelibs-dev
So there are a few issues that would be a bit tricky to deal with: SwiftPM uses Foundation so you would have to devise some way to build SwiftPM either without Foundation (which seems sub-optimal or replication of effort/code), directly importing parts of Foundation into the code-base for Swift

Re: [swift-corelibs-dev] Building Foundation with SwiftPM

2017-01-30 Thread Tony Parker via swift-corelibs-dev
When we were first bringing up the project we had a hack that forced the compiler to do incremental builds of the Swift files. However, it turned out that it wasn’t really safe or supported. If there is some way to actually turn that on now in a way that allows quick turnaround (probably sacrif

Re: [swift-corelibs-dev] Building Foundation in Xcode

2016-03-15 Thread Taylor Franklin via swift-corelibs-dev
; https://github.com/apple/swift/blob/a11e911f662c02c14e28286d76d154370ce5f5e1/utils/build-presets.ini#L711-L712 > > > > That disables the tests. Your toolchain builds much faster, but beware: > you > > may have a bug or two in there! ;) > > > > - Brian Gesiak > > > > > >