Re: [cfe-users] Clang 3.9 running 50% slower than 3.7

2016-03-19 Thread jps...@gmail.com via cfe-users
On Wed, Mar 16, 2016 at 5:55 PM, David Blaikie wrote: > > > On Wed, Mar 16, 2016 at 2:12 PM, jps...@gmail.com > wrote: > >> David and all, a couple more questions. I stumbled upon >> http://llvm.org/docs/Packaging.html and see a few other options. For a >> typical clang build where I am not hac

Re: [cfe-users] Clang 3.9 running 50% slower than 3.7

2016-03-19 Thread jps...@gmail.com via cfe-users
Got it -- thanks! On Wednesday, March 16, 2016, David Blaikie wrote: > > > On Wed, Mar 16, 2016 at 7:25 AM, jps...@gmail.com > via cfe-users < > cfe-users@lists.llvm.org > > wrote: > >> Hi, I recently installed "Release" clang (svn r263305) from source on my >> OSX machine, and it's compiling a

Re: [cfe-users] Clang 3.9 running 50% slower than 3.7

2016-03-19 Thread David Blaikie via cfe-users
On Wed, Mar 16, 2016 at 3:36 PM, jps...@gmail.com wrote: > > > On Wed, Mar 16, 2016 at 5:55 PM, David Blaikie wrote: > >> >> >> On Wed, Mar 16, 2016 at 2:12 PM, jps...@gmail.com >> wrote: >> >>> David and all, a couple more questions. I stumbled upon >>> http://llvm.org/docs/Packaging.html and

Re: [cfe-users] Clang 3.9 running 50% slower than 3.7

2016-03-19 Thread David Blaikie via cfe-users
On Wed, Mar 16, 2016 at 7:25 AM, jps...@gmail.com via cfe-users < cfe-users@lists.llvm.org> wrote: > Hi, I recently installed "Release" clang (svn r263305) from source on my > OSX machine, and it's compiling a 20 file C++ program about 50% slower than > the natively installed clang 3.7 (that came

Re: [cfe-users] Clang 3.9 running 50% slower than 3.7

2016-03-19 Thread don hinton via cfe-users
It looks like you are rerunning cmake without first removing the cache, CMakeCache.txt. Since the option () command that sets LLVM_ENABLE_ASSERTIONS didn't include FORCE, the previous cached value is preserved. Therefore, I'd recommend always removing the cache -- I actually blow away the entire

[cfe-users] Clang 3.9 running 50% slower than 3.7

2016-03-19 Thread jps...@gmail.com via cfe-users
Hi, I recently installed "Release" clang (svn r263305) from source on my OSX machine, and it's compiling a 20 file C++ program about 50% slower than the natively installed clang 3.7 (that came with xcode, I believe, although I don't use xcode). I currently have both sets of tools installed and am a

Re: [cfe-users] Clang 3.9 running 50% slower than 3.7

2016-03-19 Thread jps...@gmail.com via cfe-users
David and all, a couple more questions. I stumbled upon http://llvm.org/docs/Packaging.html and see a few other options. For a typical clang build where I am not hacking on clang, but I do want good error messages for debugging my programs, which options are recommended [1]? It seems like I should

Re: [cfe-users] Clang 3.9 running 50% slower than 3.7

2016-03-19 Thread David Blaikie via cfe-users
On Wed, Mar 16, 2016 at 2:12 PM, jps...@gmail.com wrote: > David and all, a couple more questions. I stumbled upon > http://llvm.org/docs/Packaging.html and see a few other options. For a > typical clang build where I am not hacking on clang, but I do want good > error messages for debugging my

Re: [cfe-users] Clang 3.9 running 50% slower than 3.7

2016-03-19 Thread jps...@gmail.com via cfe-users
David and Don, thanks for your tips. We're making progress as the new clang is only about 35% slower instead of 50% slower, but not quite at parity yet. Here's what I did: 1. deleted everything and started over, as Don suggested (I just checked out the source code from scratch again) 2. configure