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

[swift-corelibs-dev] Building Foundation

2017-03-01 Thread Mohit Athwani via swift-corelibs-dev
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: Failing Tests (11): Swift-Unit :: runtime/SwiftRuntimeTests/RefcountingTest.release Swift-Unit :: runtime/SwiftRuntimeTest

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

[swift-corelibs-dev] Building Foundation with SwiftPM

2017-01-30 Thread Robert F Dickerson via swift-corelibs-dev
This has probably been discussed in the past, but wanted to revisit the idea of using native Swift tools to build Foundation. I brought this up in the Slack group, and it seemed to be warmly received- although probably still not simple because of some cyclical dependency issues in the build proce

[swift-corelibs-dev] Building Foundation on Linux with incremental builds?

2017-01-30 Thread Robert F Dickerson via swift-corelibs-dev
Does anyone know how to compile Foundation (with Ninja) on Ubuntu Linux 16.04 with Incremental builds enabled? It currently takes over 4 min on my 8 core, 16 GB machine because it rebuilds the project from the beginning each time. Any way to make the development to test cycle faster would be appr

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 > > > > > >