[swift-corelibs-dev] libdispatch on Linux, or C++ std::async?

2016-05-29 Thread Brian Gesiak via swift-corelibs-dev
Hello all! I'm working on https://bugs.swift.org/browse/SR-710, which involves porting SourceKit to Linux. SourceKit contains a handful of references to libdispatch symbols. I have two questions: 1. Could someone share a set of instructions to build swift-corelibs-libdispatch on Linux? I'm using

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Madhu Samuel via swift-corelibs-dev
Wow, that was a quick response. Thanks Brian Gesiak and Brian Croom. My first quick attempt using build-toolchain script to build my own tool chain failed. Anyway I will give it another try and let you know the status. smime.p7s Description: S/MIME cryptographic signature

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Madhu Samuel via swift-corelibs-dev
Wow, that was a quick response. Thanks Brian Gesiak and Brian Croom. My first quick attempt using build-toolchain script to build my own tool chain failed. Anyway I will give it another try and let you know the status. On Mon, May 30, 2016 at 1:52 AM, Brian Croom wrote: > That's right, breaking

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Brian Croom via swift-corelibs-dev
That's right, breaking changes have been made to Swift since the latest toolchain snapshot was released, and Corelibs Foundation has been updated accordingly. Until the next snapshot, an alternative to building your own toolchain would be to check out an older commit of Foundation which still buil

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Brian Gesiak via swift-corelibs-dev
Madhu, Oy, my bad -- I only just noticed you put the toolchain version at the bottom of your original email. It's possible the May 9th toolchain is already too old to build XCTest. I'll double-check myself. In the meantime, you may want to try building your own toolchain and using that. - Brian

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Brian Gesiak via swift-corelibs-dev
Madhu, Thanks for the report! The main difference between the build scripts (which use xcodebuild) and using Xcode itself is the version of Swift that is used. The build scripts build a Swift 3.0 compiler, then use that to build XCTest. When using Xcode directly, you need to select a recent Swif

[swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Madhu Samuel via swift-corelibs-dev
Hi All, I am new to this forum. I am trying to build the xctest project. I followed the instructions at https://github.com/apple/swift-corelibs-xctest I am able to successfully build via the build scripts. But, if I build XCTest using xcode using the SwiftXCTest scheme I am getting a few errors.