[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] 1_stdlib/NSSetAPI.swift fails verifying open archetypes

2016-07-16 Thread Roman Levenstein via swift-dev
Oh, I wasn’t aware of this issue. I’ll see if I can fix it. -Roman > On Jul 16, 2016, at 12:22 PM, Mark Lacey wrote: > > FYI, I hit this yesterday on the master-next merge and have disabled the test > on that branch. I hadn’t realized that it was already failing on master. > > Mark > >> On

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 15.10 (master) #6877

2016-07-26 Thread Roman Levenstein via swift-dev
I’m looking into it. This failure was not present on the Linux machine where I tested. Should be easy to fix. -Roman > On Jul 26, 2016, at 10:53 PM, no-re...@swift.org wrote: > > [FAILURE] oss-swift-incremental-RA-linux-ubuntu-15_10 [#6877] > > Build URL: > https://ci.swift.org/job/oss-sw

Re: [swift-dev] End of source-breaking changes for Swift 3

2016-07-27 Thread Roman Levenstein via swift-dev
SE-0130 - Replace repeating Character and UnicodeScalar forms of String.init This one was implemented by me. It was committed yesterday. And, BTW, it was not mentioned in the original list of pr

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #6768

2016-08-01 Thread Roman Levenstein via swift-dev
> On Aug 1, 2016, at 7:38 PM, Jordan Rose wrote: > > /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: > symbol lookup error: > /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-lin

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (master) #114

2016-10-19 Thread Roman Levenstein via swift-dev
Hi Doug, It could be related to my commit 91f5b9dac1f0be357dd8c93bb449a415e33cc66f. Can you try a clean build? That’s how I got it to pass tests on the bots when I was testing the PR before I merged. -Roman > On Oct 19, 2016, at 9:59 AM, Doug Coleman wrote: > > Failing with: > > undefined

Re: [swift-dev] High-level SIL Optimization: How do I get a FuncRef from the stdlib?

2016-11-15 Thread Roman Levenstein via swift-dev
Hi, > On Nov 15, 2016, at 5:17 PM, Ben Ng via swift-dev wrote: > > Good evening, folks. > > I’ve been working on a high-level SIL optimization pass that replaces an > application of the `+=` function with an application of `Array.concat(A: > Element)`. I’m blocked because I can’t figure out h

Re: [swift-dev] Questions about ARC

2016-11-30 Thread Roman Levenstein via swift-dev
> On Nov 30, 2016, at 6:25 PM, Jiho Choi via swift-dev > wrote: > > Thanks for clarifications. I have a couple of follow-up questions. > > 1. Could you please provide more information (e.g. source code location) > about the optimization applying non-atomic reference counting? What's the >

Re: [swift-dev] Questions about ARC

2016-12-01 Thread Roman Levenstein via swift-dev
> On Nov 30, 2016, at 9:40 PM, Jiho Choi wrote: > > Thanks for providing the pointer. > Do you have any preliminary result or goal (e.g. the replacement ratio) of > the optimization? > Is it going to replace all ARC operations with non-atomic ones for > single-threaded applications? In the i

Re: [swift-dev] Questions about ARC

2016-12-01 Thread Roman Levenstein via swift-dev
> On Dec 1, 2016, at 4:55 PM, Jiho Choi wrote: > > Thanks for the explanation. > One last question is why non-atomic ARC operations still use atomic load and > store. Wouldn't regular memory operations be enough? They use atomic operations with __ATOMIC_RELAXED, which basically means that th

Re: [swift-dev] Performance issues in automatic reference counting (ARC)?

2017-01-31 Thread Roman Levenstein via swift-dev
Hi Mikio, > On Jan 31, 2017, at 12:07 AM, Mikio Takeuchi via swift-dev > wrote: > > Hi Michael, > > > If you are interested in the perf difference with ARC atomics, Roman > > recently added a mode to the compiler called -assume-single-threaded that > > uses non-atomic reference counts anywhe

Re: [swift-dev] Profiling ARC

2017-02-17 Thread Roman Levenstein via swift-dev
> On Feb 17, 2017, at 2:31 PM, Michael Gottesman via swift-dev > wrote: > >> >> On Feb 17, 2017, at 11:30 AM, David P Grove via swift-dev >> mailto:swift-dev@swift.org>> wrote: >> >> swift-dev-boun...@swift.org wrote on >> 02/16/2017 09:48:28 PM: >> > >

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - OS X (master) #8805

2017-03-15 Thread Roman Levenstein via swift-dev
Should be fixed here: https://github.com/apple/swift/pull/8113 It runs a full CI test now. Hopefully this time, it will be a clean merge ;-) Sorry for the inconvenience it introduced. -Roman > On Mar 15, 2017, at 1:11 AM, Greg Parker via swift-dev

Re: [swift-dev] IRGen's swift_rt_* functions

2017-04-25 Thread Roman Levenstein via swift-dev
> On Apr 25, 2017, at 11:18 AM, Jordan Rose wrote: > > I believe these are interposition points for things like dtrace, and also > useful for Roman's experiments with nonatomic retain counting. Roman, do you > know? I had a chat with Slava yesterday and explained it to him. But basically, t

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (master) #3748

2017-05-19 Thread Roman Levenstein via swift-dev
> On May 19, 2017, at 7:48 AM, Michael Ilseman wrote: > > Roman, any chance this is related? > > 16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: > undefined symbol: _T0s27_allocateUninitializedArraySayxG_BptBwlFs5UInt8V_Tgq5 > I haven’t seen it during testin

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #2702

2017-05-19 Thread Roman Levenstein via swift-dev
> On May 19, 2017, at 7:56 AM, Michael Ilseman wrote: > > Roman, > > TEST 'Swift(linux-x86_64) :: stdlib/ManagedBuffer.swift' > FAILED > [ RUN ] ManagedBuffer.ManagedBufferPointer > stdout>>> check failed at > /home/buildnode/disk2/workspace/oss

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

2017-05-19 Thread Roman Levenstein via swift-dev
> On May 19, 2017, at 10:32 AM, Michael Ilseman wrote: > > Might be addressed by Roman’s revert. Roman, did that land? > Yes. It was merged into master an hour ago or so. > TEST 'Swift(linux-x86_64) :: stdlib/ManagedBuffer.swift' > FAILED > Script:

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

2017-05-19 Thread Roman Levenstein via swift-dev
Hi Joe, Hi Mishal, Hi Michael, Can you try a clean build here as well? It seems like it helped with Ubuntu-16_10. Thanks, Ro,am > On May 19, 2017, at 8:17 PM, no-re...@swift.org wrote: > > [FAILURE] oss-swift-package-linux-ubuntu-14_04 [#749] > > Build URL: > https://ci.swift.org/job/

Re: [swift-dev] [Swift CI] Build Still Failing: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #2723

2017-05-20 Thread Roman Levenstein via swift-dev
> On May 20, 2017, at 19:40, Joe Shajrawi via swift-dev > wrote: > > FAIL: Swift(linux-x86_64) :: stdlib/ManagedBuffer.swift (6808 of 9856) > TEST 'Swift(linux-x86_64) :: stdlib/ManagedBuffer.swift' > FAILED > Script: > > I don’t see why this commit

Re: [swift-dev] Segfaults in swift-build bootstrap on Linux?

2017-10-04 Thread Roman Levenstein via swift-dev
> On Oct 3, 2017, at 6:58 PM, Greg Parker via swift-dev > wrote: > > I have seen two PR test runs today on Linux that have crashed in swift-build > bootstrap. Is anyone tracking this? > > https://ci.swift.org/job/swift-PR-Linux-smoke-test/1381 >