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 package on the other machine

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? >>> https://github.com/apple/swift-package-manager/commit/0268214b5477ca338b502c90aaa3e9ba50b6

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 y

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 array.enumerated() { >>if value == valueToFind {

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 > } > } > return nil > } > > let f

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

[swift-dev] Swift Package Manager

2016-09-20 Thread Raminder Sodhi via swift-dev
Hi,   The swift package manger seems consider the -DOPENSSL_LOAD_CONF as a non-whitelisted flag. As a result, I get nonWhitelistedFlags("Non whitelisted flags found: [\"-DOPENSSL_LOAD_CONF\"] in pc file openssl")   Is this flag supposed to be non whitelisted ?   Seems relevant to be by reading upon

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

2016-09-20 Thread William Dillon via swift-dev
> 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? >> https://github.com/apple/swift-package-manager/commit/0268214b5477ca338b502c90aaa3e9ba50b68e18 >>

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 bi

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: /home/pi/Source/SWIFT/swift/lib/IRGen/

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

[swift-dev] Are there any Swift/LLVM optimizations I could be assigned to?

2016-09-20 Thread Eddie Santos via swift-dev
Hi all, Are there any moderately do-able optimizations that can be done in the Swift compiler that have not been done yet? I am a masters student at the University of Alberta in Dr. J. Nelson Amaral's compiler optimization course, and I am searching for a project that can be reasonably completed

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 2