On Friday, July 22, 2016 at 10:32:33 PM UTC+10, Paolo Amadini wrote: > I build mozilla-central on OS X 10.9.5 with the latest compatible > version of XCode. > > $ clang --version > Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) > Target: x86_64-apple-darwin13.4.0 > Thread model: posix > > A clobber build with a plain .mozconfig file takes about 15 minutes. > > As a result of bug 1286204 (require at least clang 3.6) the build broke, > and I had to install a newer version of clang: > > $ brew install llvm --with-clang > > $ /usr/local/opt/llvm/bin/clang --version > clang version 3.8.1 (tags/RELEASE_381/final) > Target: x86_64-apple-darwin13.4.0 > Thread model: posix > InstalledDir: /usr/local/opt/llvm/bin > > I've added these lines to .mozconfig: > > CC=/usr/local/opt/llvm/bin/clang > CXX=/usr/local/opt/llvm/bin/clang++ > > The same revision takes about 26 minutes to build. > > I've tested on changeset feaaf1af1065, which is obviously from before > the new requirement was introduced, with the .mozconfig being the only > difference between the two builds. > > Any suggestions on how to avoid this build time regression? > > Cheers, > Paolo
Not sure if this is related: I'm usually following Apple's releases closely (now OS X 10.11.6, Xcode 7.3.1, and Apple LLVM 7.3.0), and in the past couple of months I've also seen a slow down of the build from 12 to 22 minutes! I cannot pinpoint exactly when this happened. I don't know how to correlate Apple and non-Apple clang versions. _______________________________________________ dev-builds mailing list dev-builds@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-builds