Update on toolchain and XCTest requirements for Foundation


(Philippe Hausler) #1

Just as a note to those who may be working on Foundation; we have a few version requirements that are required to build Foundation on both Ubuntu and Mac OS X.

XCTest must include the commit https://github.com/apple/swift-corelibs-xctest/commit/e5cf2f401867ab90b1b307b4b825f2e7fafddf51 which introduces the throws attribute on the array of test cases.
The swift toolchain must recent as of 2016-01-15 to include the new keyword replacement for typealias; associatedtype.

Hope that saves others time hunting down the right versions to build.


(Daniel Brajkovic) #2

The latest snapshot on https://swift.org/download/#latest-development-snapshots is dated 2016-01-11. There is no 2016-01-15 snapshot. As expected, I am getting errors trying to build because of associated type.

···

On Jan 17, 2016, at 2:25 PM, Philippe Hausler via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Just as a note to those who may be working on Foundation; we have a few version requirements that are required to build Foundation on both Ubuntu and Mac OS X.

XCTest must include the commit https://github.com/apple/swift-corelibs-xctest/commit/e5cf2f401867ab90b1b307b4b825f2e7fafddf51 which introduces the throws attribute on the array of test cases.
The swift toolchain must recent as of 2016-01-15 to include the new keyword replacement for typealias; associatedtype.

Hope that saves others time hunting down the right versions to build.

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


(Philippe Hausler) #3

To un-block you you could locally revert 8f7441d17b638c22ad19dee0f53dc290b1c4dd42. I apologize if that has caused any inconvenience; in retrospect I merged that in a bit more ambitiously than I probably should have.

The associatedtype should be coming in with the next snapshot.

···

On Jan 18, 2016, at 9:41 AM, Daniel Brajkovic via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

The latest snapshot on https://swift.org/download/#latest-development-snapshots is dated 2016-01-11. There is no 2016-01-15 snapshot. As expected, I am getting errors trying to build because of associated type.

On Jan 17, 2016, at 2:25 PM, Philippe Hausler via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:

Just as a note to those who may be working on Foundation; we have a few version requirements that are required to build Foundation on both Ubuntu and Mac OS X.

XCTest must include the commit https://github.com/apple/swift-corelibs-xctest/commit/e5cf2f401867ab90b1b307b4b825f2e7fafddf51 which introduces the throws attribute on the array of test cases.
The swift toolchain must recent as of 2016-01-15 to include the new keyword replacement for typealias; associatedtype.

Hope that saves others time hunting down the right versions to build.

_______________________________________________
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

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


(Daniel Brajkovic) #4

That worked. Thanks.

Dan Brajkovic

···

Sent from my iPhone

On Jan 18, 2016, at 11:51 AM, Philippe Hausler <phausler@apple.com> wrote:

To un-block you you could locally revert 8f7441d17b638c22ad19dee0f53dc290b1c4dd42. I apologize if that has caused any inconvenience; in retrospect I merged that in a bit more ambitiously than I probably should have.

The associatedtype should be coming in with the next snapshot.

On Jan 18, 2016, at 9:41 AM, Daniel Brajkovic via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

The latest snapshot on https://swift.org/download/#latest-development-snapshots is dated 2016-01-11. There is no 2016-01-15 snapshot. As expected, I am getting errors trying to build because of associated type.

On Jan 17, 2016, at 2:25 PM, Philippe Hausler via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Just as a note to those who may be working on Foundation; we have a few version requirements that are required to build Foundation on both Ubuntu and Mac OS X.

XCTest must include the commit https://github.com/apple/swift-corelibs-xctest/commit/e5cf2f401867ab90b1b307b4b825f2e7fafddf51 which introduces the throws attribute on the array of test cases.
The swift toolchain must recent as of 2016-01-15 to include the new keyword replacement for typealias; associatedtype.

Hope that saves others time hunting down the right versions to build.

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

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