[libcxx-dev] CMAKE_BUILD_TYPE for libcxx buildbots
Louis Dionne via libcxx-dev
libcxx-dev at lists.llvm.org
Tue Nov 24 10:35:43 PST 2020
> On Nov 6, 2020, at 08:06, Diana Picus via libcxx-dev <libcxx-dev at lists.llvm.org> wrote:
> Hi all,
> I was looking at the libcxx buildbots that we're maintaining at Linaro
>  and I noticed that they all default to building in Debug mode. I
> think we should either
> (a) Switch to Release (or RelWithDebInfo), or
> (b) Specify CMAKE_BUILD_TYPE explicitly as Debug so it serves as
> documentation in zorg.
> What is the community's preference? Is there a reason to stick with
> Debug mode for the buildbots? Note that this only affects 6 builders
> (aarch64, armv8 and armv7 with/without exceptions), although I don't
> mind touching other bots in zorg if need be.
I believe we should use RelWithDebInfo, since that's what most people build libc++ as when they ship it. I think it makes sense to test what's closest to what we ship.
More information about the libcxx-dev