Re: [swift-dev] New to building Swift toolchain

2017-09-27 Thread Maksym Grebenets via swift-dev
So it must be something not related to the build tools being used. At least I went though tons of variations on those. It could be the particular version of simulator being used for running tests on iPhone 5. Maybe the fact that I have multiple Xcode versions contributes to that problem... I have

Re: [swift-dev] New to building Swift toolchain

2017-09-27 Thread Michael Gottesman via swift-dev
> On Sep 26, 2017, at 3:57 PM, Maksym Grebenets wrote: > > Hi Michael > > Thanks for following up! > > I've found some extra time too to give it few more tries. > As a matter of fact, I've tried quite a few things. > Spoiler alert - none of them worked :) > Here's the list of things anyways: >

Re: [swift-dev] New to building Swift toolchain

2017-09-26 Thread Maksym Grebenets via swift-dev
Hi Michael Thanks for following up! I've found some extra time too to give it few more tries. As a matter of fact, I've tried quite a few things. Spoiler alert - none of them worked :) Here's the list of things anyways: - A completely clean checkout of sift repo and all submodules (still same lap

Re: [swift-dev] New to building Swift toolchain

2017-09-26 Thread Michael Gottesman via swift-dev
Ok. My side machine info: ``` $ sw_vers ProductName:Mac OS X ProductVersion: 10.12.6 BuildVersion: 16G26 $ xcodebuild -version Xcode 9.0 Build version 9M214v $ cmake --version cmake version 3.8.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). $ ``` So I think I should

Re: [swift-dev] New to building Swift toolchain

2017-09-26 Thread Michael Gottesman via swift-dev
Ok. I am looking at this now on my side machine. Sorry for the delay, I had to land code and then I had vacation = (. Michael > On Sep 20, 2017, at 10:05 PM, Michael Gottesman via swift-dev > wrote: > > FYI, I haven't forgotten you! I just need to land some code tonight ; ). I > want to try

Re: [swift-dev] New to building Swift toolchain

2017-09-20 Thread Michael Gottesman via swift-dev
FYI, I haven't forgotten you! I just need to land some code tonight ; ). I want to try to reproduce exactly what you are doing. Michael > On Sep 20, 2017, at 6:08 AM, Maksym Grebenets wrote: > > I tried few more options. > > I tried switching my shell to bash and giving it a go. > This time I

Re: [swift-dev] New to building Swift toolchain

2017-09-20 Thread Maksym Grebenets via swift-dev
I tried few more options. I tried switching my shell to bash and giving it a go. This time I got some unusual configuration error. The error came from /usr/local/Cellar/cmake/3.9.2/share/cmake/Modules/FindPythonInterp.cmake. Unfortunately the error message was in stderr, while I only captured stdo

Re: [swift-dev] New to building Swift toolchain

2017-09-19 Thread Maksym Grebenets via swift-dev
I see. I gave it another go: https://gist.github.com/mgrebenets/e2c981951586910c679df17d377c9e69 Looking at the build logs, I can definitely see llvm source code being built. I've looked up a bunch of llvm .cpp files in the build log, e.g. LLVMTargetMachine.cpp. Unless I'm not looking in the righ

Re: [swift-dev] New to building Swift toolchain

2017-09-19 Thread Michael Gottesman via swift-dev
The reason why I know it wasn't clean is that you didn't rebuild LLVM. > On Sep 19, 2017, at 5:11 PM, Maksym Grebenets wrote: > > Hm. But this one was pretty much a clean build. I’ve made sure I removed all > build directories before running it. > > Is there a flag to pass to build-toolchain

Re: [swift-dev] New to building Swift toolchain

2017-09-19 Thread Maksym Grebenets via swift-dev
Hm. But this one was pretty much a clean build. I’ve made sure I removed all build directories before running it. Is there a flag to pass to build-toolchain to ensure clean build? Would —clean work? On Wed, 20 Sep 2017 at 9:48 am, Michael Gottesman wrote: > Can you do a new clean build and post

Re: [swift-dev] New to building Swift toolchain

2017-09-19 Thread Michael Gottesman via swift-dev
Can you do a new clean build and post the log? > On Sep 19, 2017, at 4:11 PM, Maksym Grebenets wrote: > > Sure, I've put it in a gist here: > https://gist.github.com/mgrebenets/9f50bc07615002cfe6ebb3a9f74cb3de > > > Cheers.

Re: [swift-dev] New to building Swift toolchain

2017-09-19 Thread Maksym Grebenets via swift-dev
Sure, I've put it in a gist here: https://gist.github.com/mgrebenets/9f50bc07615002cfe6ebb3a9f74cb3de Cheers. On Wed, Sep 20, 2017 at 5:46 AM, Michael Gottesman wrote: > Hey Maksym. Your email was too big b/c of the attachment. Can you put the > attachment into a pastebin or something like that

Re: [swift-dev] New to building Swift toolchain

2017-09-19 Thread Michael Gottesman via swift-dev
Hey Maksym. Your email was too big b/c of the attachment. Can you put the attachment into a pastebin or something like that? > On Sep 19, 2017, at 12:35 AM, Maksym Grebenets wrote: > > Hi Michael > > Thanks for the feedback! > > I gave it another go and this time made sure I have a proper set

Re: [swift-dev] New to building Swift toolchain

2017-09-18 Thread Michael Gottesman via swift-dev
> On Sep 18, 2017, at 8:54 AM, Maksym Grebenets via swift-dev > wrote: > > Hi all > > I guess like many other iOS devs with c/c++ background I really wanted to get > into Swift development one day, at least a tiny bit, at least to understand > how things work. > > So new refactoring tools a

[swift-dev] New to building Swift toolchain

2017-09-18 Thread Maksym Grebenets via swift-dev
Hi all I guess like many other iOS devs with c/c++ background I really wanted to get into Swift development one day, at least a tiny bit, at least to understand how things work. So new refactoring tools and starter tasks finally pulled me in. With a lot of struggle and a lot of help from communi