[swift-users] can module cache fulfils empty -sdk path. (iOS)

2016-03-30 Thread Ramakrishna Mallireddy via swift-users
Hi, I want to reduce the baggage & compile time for system frameworks by providing compiled framework pcm files. does pcm files are enough for ClangImporter(it's ok if it still needs sdk/include). Every time I run swift compiler on iOS device/simulator to compile a simple helloworld.swift file, i

Re: [swift-users] ClangImporter /var/temp dir settings..

2016-03-30 Thread Ramakrishna Mallireddy via swift-users
Thanks Jordan, I am running swift+llvm on iOS and I can't set TMPDIR and have changed "*getDefaultTempDir*" according to my needs. Thanks Ramakrishna On Thu, Mar 31, 2016 at 2:27 AM, Jordan Rose wrote: > Hi, Ramakrishna. IIRC, there's no command-line argument for this, but both > Clang and Swif

Re: [swift-users] swift-llvm IR vs llvm IR

2016-03-30 Thread Ramakrishna Mallireddy via swift-users
Thanks Douglas, does https://github.com/apple/swift-llvm/blob/upstream-with-swift/docs/LangRef.rst, reflect those tiny changes that llvm-swift made. if it just the same llvm lang ref then is there any doc/ref for llvm-swift changes. Thanks Ramakrishna On Wed, Mar 30, 2016 at 10:01 PM, Douglas G

Re: [swift-users] swift-2.2.1-SNAPSHOT-2016-03-28-a.xctoolchain cannot find swift-build

2016-03-30 Thread Daniel Dunbar via swift-users
You should install the development snapshots if you want to try `swift build`. - Daniel > On Mar 30, 2016, at 5:14 PM, Eddy Hahn via swift-users > wrote: > > Hi, > > I have installed the new toolchain and Swift Package Manager. I am missing > the swift-build app. > > > error: unable to i

[swift-users] swift-2.2.1-SNAPSHOT-2016-03-28-a.xctoolchain cannot find swift-build

2016-03-30 Thread Eddy Hahn via swift-users
Hi, I have installed the new toolchain and Swift Package Manager. I am missing the swift-build app. error: unable to invoke subcommand: /Library/Developer/Toolchains/swift-2.2.1-SNAPSHOT-2016-03-28-a.xctoolchain/usr/bin/swift-build (No such file or directory) Any idea what build should I us

[swift-users] Cannot implement NSURLSessionDownloadDelegate

2016-03-30 Thread Charles Lane via swift-users
I have the same problem except it’s with the UISearchResultsUpdating protocol. I read Jordan’s reply with the workaround but I’m not familiar enough with OBJC to implement it. Could you possibly show me the correct form for the following: func updateSearchResults(for searchController: UISearchCo

Re: [swift-users] ClangImporter /var/temp dir settings..

2016-03-30 Thread Jordan Rose via swift-users
Hi, Ramakrishna. IIRC, there's no command-line argument for this, but both Clang and Swift should be looking at the standard environment variable TMPDIR. As long as that's set early enough in compilation, it should work for your purposes. Best, Jordan > On Mar 24, 2016, at 4:34 , Ramakrishna

Re: [swift-users] swift-llvm IR vs llvm IR

2016-03-30 Thread Douglas Gregor via swift-users
> On Mar 30, 2016, at 6:46 AM, Ramakrishna Mallireddy via swift-users > wrote: > > Does swift-llvm IR add any new IR to llvm or it's the same llvm IR. It’s the same LLVM IR. The difference between the LLVM in the swift-llvm repository https://github.com/apple/swift-llvm/tree/upstream

[swift-users] swift-llvm IR vs llvm IR

2016-03-30 Thread Ramakrishna Mallireddy via swift-users
Does swift-llvm IR add any new IR to llvm or it's the same llvm IR. Thanks Ramakrishna ___ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users