Re: [swift-dev] Starter project: Remove old mirrors

2015-12-07 Thread Joe Groff via swift-dev
> On Dec 6, 2015, at 2:20 AM, Dmitri Gribenko via swift-dev > wrote: > > We need new runtime entry points that make sense for the new mirror > implementation. The current entry points (the _reflect() function and > all its implementation details) directly depend on the old mirrors. > This step

Re: [swift-dev] Starter project: SR-2: Build configuration directives can not wrap switch cases

2015-12-07 Thread Meador Inge via swift-dev
On Sun, Dec 6, 2015 at 5:04 PM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: Hi, > > If you're looking for a starter project in the frontend area (parser > in this case), here is one. > > https://bugs.swift.org/browse/SR-2 > > This code should be accepted, but it is rejected now: >

[swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7

2015-12-07 Thread Dmitri Gribenko via swift-dev
Hi, RHEL 7 and CentOS 7 are widely used as server operating systems, and porting Swift to these distributions would benefit many community members. It should be relatively easy to do, since RHEL 7 is fundamentally another Linux system that uses the same basic libraries as other Linux ports we alr

Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7

2015-12-07 Thread Meador Inge via swift-dev
On Mon, Dec 7, 2015 at 11:47 AM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: Hi, > > RHEL 7 and CentOS 7 are widely used as server operating systems, and > porting Swift to these distributions would benefit many community > members. It should be relatively easy to do, since RHEL 7

Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7

2015-12-07 Thread Dmitri Gribenko via swift-dev
On Mon, Dec 7, 2015 at 10:25 AM, Meador Inge wrote: > On Mon, Dec 7, 2015 at 11:47 AM, Dmitri Gribenko via swift-dev > wrote: > >> Hi, >> >> RHEL 7 and CentOS 7 are widely used as server operating systems, and >> porting Swift to these distributions would benefit many community >> members. It sh

Re: [swift-dev] Problems caused by "is"

2015-12-07 Thread Slava Pestov via swift-dev
Hi Jacob, Maybe it would be better to figure out why getMemberSubstitutions() is being called on the invalid type, and try to catch the problem further up? Otherwise, Doug Gregor might have further suggestions. Slava > On Dec 5, 2015, at 11:41 PM, Jacob Bandes-Storch via swift-dev > wrote: >

Re: [swift-dev] How to view which tests are fail

2015-12-07 Thread Mish Awadah via swift-dev
> On Dec 5, 2015, at 7:08 AM, Sahil Wasan wrote: > > Hi Swift Team > > I am using this utils/build-script -RT command to runt tests. My question is > 1) At the end test is failing(4 test) but I do not know which tests are > failing and what is reason. What’s the output at the end of the test

Re: [swift-dev] Install Swift on Ubuntu 14.04 LTS

2015-12-07 Thread Mish Awadah via swift-dev
Please describe your problem in more detail, including steps to reproduce. You may also file a bug. - mish > On Dec 5, 2015, at 11:36 AM, Piero Sabino via swift-dev > wrote: > > I can't install Swift on Ubuntu 14.04 LTS x86_64 > > ___ > swift-dev

Re: [swift-dev] Swift REPL don't functions on Ubuntu 14.04 LTS

2015-12-07 Thread Mish Awadah via swift-dev
Please file a bug. > On Dec 6, 2015, at 10:47 AM, Piero Sabino via swift-dev > wrote: > > > > ___ > swift-dev mailing list > swift-dev@swift.org > https://lists.swift.org/mailman/listinfo/swift-dev ___ s

[swift-dev] Path Swift

2015-12-07 Thread Piero Sabino via swift-dev
Where I add path of Swift? I must create a configuration file or I type the follow line: $ export PATH=/path/to/usr/bin:"${PATH}" ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev

Re: [swift-dev] Path Swift

2015-12-07 Thread Jordan Rose via swift-dev
Hi, Piero. Sorry, I'm not quite sure what you're asking. Can you provide more details about the behavior you're seeing, and what you'd like it to do instead? Jordan > On Dec 7, 2015, at 5:06, Piero Sabino via swift-dev > wrote: > > Where I have to change the path of Swift? > Terminal or fold

Re: [swift-dev] Path Swift

2015-12-07 Thread Mish Awadah via swift-dev
Instead of “/path/to/usr/bin” in the line below, replace it with the actual path to the swift /usr/bin directory that you unpacked from the tarball. - mish > On Dec 7, 2015, at 11:19 AM, Piero Sabino via swift-dev > wrote: > > Where I add path of Swift? > I must create a configuration file or

[swift-dev] Swift Path

2015-12-07 Thread Piero Sabino via swift-dev
Where should I add the following line: export PATH = / path / to / usr / bin: "$ {PATH}"? In a configuration file or in a terminal? ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev

Re: [swift-dev] Swift Path

2015-12-07 Thread Mish Awadah via swift-dev
Add it to your ~/.bashrc to enable that path every time you launch a terminal. Type it into your terminal if you only want to use swift for the current terminal session. - mish > On Dec 7, 2015, at 11:37 AM, Piero Sabino via swift-dev > wrote: > > Where should I add the following line: > exp

Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7

2015-12-07 Thread Manolo van Ee via swift-dev
I'd be happy to help out as well with Centos 7 if we can easily divide tasks. Otherwise I can focus on Fedora, which should be similar, but might behave a little different. Same here though, no access to RHEL. FYI: The mixin_linux_installation preset builds on Fedora 23, but the created swift

Re: [swift-dev] swift-dev Digest, Vol 1, Issue 14

2015-12-07 Thread vivek pandya via swift-dev
ft in the same directory. > > Could you post the actual error message, and SHA1 hashes of the files? > > Dmitri > > -- > main(i,j){for(i=2;;i++){for(j=2;j (j){printf("%d\n",i);}}} /*Dmitri Gribenko */ > > > -- > > Message: 6 &

[swift-dev] swift path

2015-12-07 Thread Piero Sabino via swift-dev
Where  I find ~/.bashrc file?___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev

Re: [swift-dev] swift path

2015-12-07 Thread Alexandros Salazar via swift-dev
The ~/.bashrc file is a hidden file in your home directory. In Linux/*nix land, ~ always points to your local repository; for instance, on a Mac, ~ will typically point to /Users/YOUR_USERNAME, and ~/.bashrc would be /Users/YOUR_USERNAME/.bashrc This link has a thorough, if concise, overview of Li

Re: [swift-dev] swift path

2015-12-07 Thread Alexandros Salazar via swift-dev
Wow, sorry, not local repository; home directory. Don't know what I was thinking. On Mon, Dec 7, 2015 at 2:55 PM, Alexandros Salazar wrote: > The ~/.bashrc file is a hidden file in your home directory. In Linux/*nix > land, ~ always points to your local repository; for instance, on a Mac, ~ > wi

[swift-dev] Swift Path

2015-12-07 Thread Piero Sabino via swift-dev
I've type the path in ~/.bashrc,  then when type swift display the message : Swift is not installed. ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev

[swift-dev] Starter project: Prepare/host pre-built Swift binary packages for different Linux distributions

2015-12-07 Thread Roman Levenstein via swift-dev
Hi, The swift.org site provides pre-built binaries for Ubuntu already, but their are tarballs and not in the DEB format, which is the preferred way to install packages on Debian-based systems. RPM-based Linux distributions would need packages in the RPM format. It would be n

Re: [swift-dev] Starter project: Remove old mirrors

2015-12-07 Thread Jean-Pierre Simard via swift-dev
> Note that I'm already working on this part. The Swift runtime needs to provide low-level reflection interfaces that allow the standard library to implement Mirror without depending on private runtime ABI. That's great to hear! Is there any chance that this work could introduce type-level reflect

[swift-dev] Continuous Integration on Swift.org projects

2015-12-07 Thread Brad Erickson via swift-dev
I'm hoping to get an ETA or learn the plan for enabling Continuous integration on swift.org projects. It's listed as coming soon on the website. Unit tests and builds are being broken by current untested merges. I submitted a "testing the waters" travis-ci enabling PR on swift-package-manager, but

Re: [swift-dev] Continuous Integration on Swift.org projects

2015-12-07 Thread Dmitri Gribenko via swift-dev
On Mon, Dec 7, 2015 at 12:49 PM, Brad Erickson via swift-dev < swift-dev@swift.org> wrote: > I'm hoping to get an ETA or learn the plan for enabling Continuous > integration on swift.org projects. It's listed as coming soon on the > website. Unit tests and builds are being broken by current untest

Re: [swift-dev] Continuous Integration on Swift.org projects

2015-12-07 Thread Jacob Bandes-Storch via swift-dev
I submitted a PR last night to fix the crasher and recursion.swift. On Mon, Dec 7, 2015 at 12:52 PM Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: > On Mon, Dec 7, 2015 at 12:49 PM, Brad Erickson via swift-dev < > swift-dev@swift.org> wrote: > >> I'm hoping to get an ETA or learn the

[swift-dev] Swift Path

2015-12-07 Thread Piero Sabino via swift-dev
My .bashrc is attached to this mail. .bashrc.bashrc Description: Binary data ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev

[swift-dev] Build error on OS X.

2015-12-07 Thread Alexandros Salazar via swift-dev
I am trying to build Swift on OS X and get the following error: clang: *error: *no such file or directory: 'Source/swift/build/Ninja-ReleaseAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports' I have tried running ./swift/utils/build-script as well as ./swift/utils/build-script -R a

Re: [swift-dev] Continuous Integration on Swift.org projects

2015-12-07 Thread Brad Erickson via swift-dev
This is it Nadav: https://github.com/apple/swift/pull/296 -Brad Erickson On Mon, Dec 7, 2015 at 1:20 PM, Nadav Rotem wrote: > After reverting "Fixes [SR-78] swift compiler seg fault”” the only failing > test is: > > ./test/decl/protocol/req/recursion.swift > > Jacob, can you send a link to your

Re: [swift-dev] Continuous Integration on Swift.org projects

2015-12-07 Thread Jacob Bandes-Storch via swift-dev
It's https://github.com/apple/swift/pull/296 Jacob Bandes-Storch On Mon, Dec 7, 2015 at 1:20 PM, Nadav Rotem wrote: > After reverting "Fixes [SR-78] swift compiler seg fault”” the only failing > test is: > > ./test/decl/protocol/req/recursion.swift > > Jacob, can you send a link to your pull re

[swift-dev] Path Swift

2015-12-07 Thread Piero Sabino via swift-dev
My .bashrc is the following: # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac # don't put duplicate lines or lines

Re: [swift-dev] Path Swift

2015-12-07 Thread Kevin Ballard via swift-dev
Can you please stop creating a new thread for every single message? This is making it hard to read the list. Just reply to the last message in the thread instead. -Kevin On Mon, Dec 7, 2015, at 01:27 PM, Piero Sabino via swift-dev wrote: > My .bashrc is the following: [snip] _

Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7

2015-12-07 Thread Manolo van Ee via swift-dev
> On 07 Dec 2015, at 20:53, Dmitri Gribenko wrote: > >> On Mon, Dec 7, 2015 at 11:42 AM, Manolo van Ee >> wrote: >> I'd be happy to help out as well with Centos 7 if we can easily divide >> tasks. Otherwise I can focus on Fedora, which should be similar, but might >> behave a little differe

Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7

2015-12-07 Thread Dmitri Gribenko via swift-dev
On Mon, Dec 7, 2015 at 1:52 PM, Manolo van Ee wrote: > > >> On 07 Dec 2015, at 20:53, Dmitri Gribenko wrote: >> >>> On Mon, Dec 7, 2015 at 11:42 AM, Manolo van Ee >>> wrote: >>> I'd be happy to help out as well with Centos 7 if we can easily divide >>> tasks. Otherwise I can focus on Fedora, w

Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7

2015-12-07 Thread Meador Inge via swift-dev
On Mon, Dec 7, 2015 at 1:42 PM, Manolo van Ee wrote: I'd be happy to help out as well with Centos 7 if we can easily divide > tasks. Otherwise I can focus on Fedora, which should be similar, but might > behave a little different. > Thanks! I plan on scoping it out later today. I will update SR

Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7

2015-12-07 Thread Manolo van Ee via swift-dev
> On 07 Dec 2015, at 22:56, Dmitri Gribenko wrote: > >> On Mon, Dec 7, 2015 at 1:52 PM, Manolo van Ee wrote: >> >> On 07 Dec 2015, at 20:53, Dmitri Gribenko wrote: On Mon, Dec 7, 2015 at 11:42 AM, Manolo van Ee wrote: I'd be happy to help out as well with Centos

[swift-dev] Starter project: API to upgrade AnySequence to Any*Collection

2015-12-07 Thread Dmitri Gribenko via swift-dev
Hi, If someone looks for a starter project in the standard library with intermediate complexity (prior experience with Swift generics required), here's one. This is in the area of existential sequence and collection wrappers. Upgrading AnyForwardCollection to AnyRandomAccessCollection works: (s

Re: [swift-dev] Starter project: API to upgrade AnySequence to Any*Collection

2015-12-07 Thread Austin Zheng via swift-dev
Would this require a review/proposal, since it involves an API change? On Mon, Dec 7, 2015 at 2:08 PM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: > Hi, > > If someone looks for a starter project in the standard library with > intermediate complexity (prior experience with Swift g

Re: [swift-dev] Starter project: API to upgrade AnySequence to Any*Collection

2015-12-07 Thread Dmitri Gribenko via swift-dev
It would require a proposal and a review, but the implementation is more challenging here than the API design. The proposal would be trivial, just one extra API, if I'm imagining this correctly. Dmitri On Mon, Dec 7, 2015 at 2:10 PM, Austin Zheng wrote: > Would this require a review/proposal, s

Re: [swift-dev] Starter project: Convert release notes into something useful

2015-12-07 Thread joe via swift-dev
Now that the CHANGELOG.md file is in place, I can take a look at the "archeology exercise" bit. The updates to the Xcode release notes for official releases are online (https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html), but Radek, if you ha

Re: [swift-dev] Starter project: API to upgrade AnySequence to Any*Collection

2015-12-07 Thread Jacob Bandes-Storch via swift-dev
What do you mean by "without copying the underlying collection"? Is this specifically for the case where the AnySequence is wrapping a collection (which is not always the case)? On Mon, Dec 7, 2015 at 2:18 PM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote: > It would require a propos

Re: [swift-dev] Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7

2015-12-07 Thread Manolo van Ee via swift-dev
> On 07 Dec 2015, at 22:57, Meador Inge wrote: > >> On Mon, Dec 7, 2015 at 1:42 PM, Manolo van Ee wrote: >> >> I'd be happy to help out as well with Centos 7 if we can easily divide >> tasks. Otherwise I can focus on Fedora, which should be similar, but might >> behave a little different. >

Re: [swift-dev] Starter project: API to upgrade AnySequence to Any*Collection

2015-12-07 Thread Austin Zheng via swift-dev
I'd be interested in taking it but I have another ticket already, so if someone else wants it they should take it. Austin On Mon, Dec 7, 2015 at 2:35 PM, Dmitri Gribenko wrote: > On Mon, Dec 7, 2015 at 2:27 PM, Jacob Bandes-Storch > wrote: > > What do you mean by "without copying the underlyin

[swift-dev] Starter project: Initializers for converting UnsafePointers to integers

2015-12-07 Thread Dmitri Gribenko via swift-dev
Hi everyone, The standard library has bitPattern initializers on pointers. But we are missing initializers to create integers from pointers. Someone needs to propose these APIs, walk them through swift-evolution, write a patch for the library and add tests. extension UInt { init(bitPattern: Un

Re: [swift-dev] Starter bug: Sequence.flatMap() is missing a @noescape

2015-12-07 Thread Meador Inge via swift-dev
es an accompanying > test, and a proposal to swift-evolution. > > https://bugs.swift.org/browse/SR-126 Proposal mail here: https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151207/001025.html Cheers, Meador ___ swift-d

Re: [swift-dev] Starter project: Remove old mirrors

2015-12-07 Thread Slava Pestov via swift-dev
Hi Jean-Pierre, > On Dec 7, 2015, at 12:21 PM, Jean-Pierre Simard via swift-dev > wrote: > > > Note that I'm already working on this part. The Swift runtime needs to > > provide low-level reflection interfaces that allow the standard library to > > implement Mirror without depending on priva