-
Notifications
You must be signed in to change notification settings - Fork 11
Conversation
This is now working - the LTO job is fixed. But a new one is failing: the g++ one:
This is because g++ uses more memory than clang++, mason is compiling in parallel, and the machine is overwhelmed by the memory usage and decides to kill g++ |
@springmeyer awesome, this looks great. Sorry for rushing it, as I know you had originally proposed this for post-refactor. My thinking about going for it now was that the next stuff on our roadmap involves pivoting away from this library for awhile and I wasn't sure when we'd next be back to it. Any idea why there's a one-line coverage change? I'm kind of inclined to ignore it... |
@apendleton no idea on the one line of coverage - I'm also okay ignoring for now. This branch should noe be 🍏 and is ready to merge into your The one difficulty here that I'll document for my future self is that the g++-6 job, which we have just for wider coverage of compilers and to leverage the
Fixed by disabling binutils install from mason and falling back to the old binutils from the system. |
Yeah, GCC is also much fussier about warnings (partly because we only do Clang warning pragmas at the moment), and as far as I know we're the only consumer of this library and are an all-LLVM shop, so I have no particular attachment to the GCC tests. That said, happy to defer to core tech's assessment of their utility if there are extra classes of error they catch. Anyhow, thanks again. |
g++ is included since it's |
We did have to fight with it a little bit because of some of the newly recommended warning flags we added in this refactor; we use the |
Thanks for that feedback.
By design per mapbox/cpp#37. Glad it was not too much of a battle. 👍 then on keeping the g++ job and keeping |
This is a fix on top of the
cache-split
branch. It should fix LTO on linux by:mbxcxx
command that we use to do this in the future (rather than this clumsyscripts/setup.sh
copied everywhere)Should fix #117 (comment)