Re: [swift-dev] sharing tips and tricks and scripts

2017-10-22 Thread Erik Eckstein via swift-dev
I agree that fixing build-script is the better approach than to introduce another wrapper around it. But there are many other needs for scripts, for example the (already existing) cmpcodesize script for comparing code size. And I think it makes sense to create a new directory rather than

Re: [swift-dev] sharing tips and tricks and scripts

2017-10-22 Thread Saleem Abdulrasool via swift-dev
I agree with Jordan (and Chris) on this. I think that we should try to simplify the build process that we have rather than encouraging more build script wrappers. The current build process is pretty cumbersome which is why I think that many people have wrapper scripts. In fact, it seems that it

Re: [swift-dev] sharing tips and tricks and scripts

2017-10-21 Thread Chris Lattner via swift-dev
Any scripts should be subject to the same code review and design policies as the rest of the compiler. A bisection script or build-script seem fine, but a four line script to automate something is probably not the right thing to include. -Chris > On Oct 17, 2017, at 6:05 PM, Jordan Rose via

[swift-dev] sharing tips and tricks and scripts

2017-10-17 Thread Erik Eckstein via swift-dev
I recently had some discussions about how to share those little tips and tricks which everyone has to make building, debugging, etc. the swift compiler easier. And actually we already have a central place for this: it’s the docs folder in the swift repo. Especially the DebuggingTheCompiler.rst