Re: [swift-dev] 'SwiftShims': no such file or directory

2016-09-20 Thread Eric Wing via swift-dev
On 9/19/16, Dave Abrahams via swift-dev wrote: > > on Mon Sep 19 2016, Eric Wing wrote: > >> I've been trying to build Swift for Linux with --installable-package >> to build a swift-package.tar.gz that I can install to another Linux >> machine. >> >> When I extract my

Re: [swift-dev] More Swift 3 Raspberry Pi 2 build problems

2016-09-20 Thread Eric Wing via swift-dev
On 9/20/16, William Dillon wrote: > >> On Sep 20, 2016, at 1:01 PM, Eric Wing wrote: >> >> On 9/20/16, william wrote: >>> Hi Eric, >>> >>> Can you check whether what you're building on has this commit? >>>

Re: [swift-dev] Swift Package Manager

2016-09-20 Thread Daniel Dunbar via swift-dev
Yes, this is intentional. We don't have a strategy yet for dealing with package-specific individual compilation flags like this. In the meantime, you can try using a system module package instead, and manually defining OPENSSL_LOAD_CONF inside a header within the system module package before

Re: [swift-dev] Needs better error msg?

2016-09-20 Thread Mark Lacey via swift-dev
> On Sep 20, 2016, at 2:05 PM, Joe Groff via swift-dev > wrote: > >> >> On Sep 20, 2016, at 1:45 PM, Kevin Choi via swift-dev >> wrote: >> >> b.sw: >> func findIndex(array: [T], _ valueToFind: T) -> Int? { >>for (index, value) in

Re: [swift-dev] Needs better error msg?

2016-09-20 Thread Joe Groff via swift-dev
> On Sep 20, 2016, at 1:45 PM, Kevin Choi via swift-dev > wrote: > > b.sw: > func findIndex(array: [T], _ valueToFind: T) -> Int? { > for (index, value) in array.enumerated() { > if value == valueToFind { > return index > } > } >

[swift-dev] Needs better error msg?

2016-09-20 Thread Kevin Choi via swift-dev
b.sw: func findIndex(array: [T], _ valueToFind: T) -> Int? { for (index, value) in array.enumerated() { if value == valueToFind { return index } } return nil } let foundAtIndex = findIndex([1, 2, 3, 4], 3) print(foundAtIndex == 2) // true

Re: [swift-dev] More Swift 3 Raspberry Pi 2 build problems

2016-09-20 Thread Eric Wing via swift-dev
On 9/20/16, william wrote: > Hi Eric, > > Can you check whether what you're building on has this commit? > https://github.com/apple/swift-package-manager/commit/0268214b5477ca338b502c90aaa3e9ba50b68e18 >

Re: [swift-dev] More Swift 3 Raspberry Pi 2 build problems

2016-09-20 Thread william via swift-dev
Hi Eric, Can you check whether what you're building on has this commit? https://github.com/apple/swift-package-manager/commit/0268214b5477ca338b502c90aaa3e9ba50b68e18 There was a truncation of a

Re: [swift-dev] More Swift 3 Raspberry Pi 2 build problems

2016-09-20 Thread Eric Wing via swift-dev
And here is one more problem I found. I get a compiler assertion failure on some code that used to work for me in Swift 2.3 on Pi, and also compiles fine under Xcode 8/Swift 3. I filed a formal radar for this one. https://bugs.swift.org/browse/SR-2706 swift:

Re: [swift-dev] Extending Swift's continuous integration

2016-09-20 Thread mishal_shah via swift-dev
Hi Brian, Currently, we are working on getting the policy setup to be able add new systems to second Jenkins master and looking into extending @swift-ci capablelty to support additional platforms. Plan is to have this completed soon, we are working out few things before we make this available

Re: [swift-dev] [Swift CI] Build Failure: OSS - Swift Package - Ubuntu 15.10 (master) #2138

2016-09-20 Thread Ankit Aggarwal via swift-dev
Disabled this test for now: https://github.com/apple/swift-package-manager/commit/57c5be1db1c1e12e089dff02241ffbce5722fb0e Bug: https://bugs.swift.org/browse/SR-2703 - Ankit > On 20-Sep-2016, at

Re: [swift-dev] 'SwiftShims': no such file or directory

2016-09-20 Thread Dave Abrahams via swift-dev
on Mon Sep 19 2016, Eric Wing wrote: > I've been trying to build Swift for Linux with --installable-package > to build a swift-package.tar.gz that I can install to another Linux > machine. > > When I extract my package on the other machine, and try either > compiling a simple print("hello

Re: [swift-dev] 'SwiftShims': no such file or directory

2016-09-20 Thread Dave Abrahams via swift-dev
on Mon Sep 19 2016, Eric Wing wrote: > On 9/19/16, Daniel Dunbar wrote: >> Are you building within a shared folder? We have heard reports of this >> happening in such an environment, but we don't have a handle on the exact >> steps to reproduce. Getting that