Re: [Mesa-dev] Meson's default build type

2017-11-06 Thread Chad Versace
On Mon 06 Nov 2017, Eric Engestrom wrote: > On Monday, 2017-11-06 08:07:21 -0800, Chad Versace wrote: > > On Thu 02 Nov 2017, Dylan Baker wrote: > > > Quoting Matt Turner (2017-11-02 10:06:43) > > > > On Thu, Nov 2, 2017 at 9:51 AM, Michel Dänzer > > > > wrote: > > > > >

Re: [Mesa-dev] Meson's default build type

2017-11-06 Thread Eric Engestrom
On Monday, 2017-11-06 08:07:21 -0800, Chad Versace wrote: > On Thu 02 Nov 2017, Dylan Baker wrote: > > Quoting Matt Turner (2017-11-02 10:06:43) > > > On Thu, Nov 2, 2017 at 9:51 AM, Michel Dänzer wrote: > > > > FWIW, my vote is for debugoptimized: Assertions are enabled and

Re: [Mesa-dev] Meson's default build type

2017-11-06 Thread Chad Versace
On Thu 02 Nov 2017, Dylan Baker wrote: > Quoting Matt Turner (2017-11-02 10:06:43) > > On Thu, Nov 2, 2017 at 9:51 AM, Michel Dänzer wrote: > > > FWIW, my vote is for debugoptimized: Assertions are enabled and there's > > > debugging information useful for bug reports, but

Re: [Mesa-dev] Meson's default build type

2017-11-06 Thread Chad Versace
On Thu 02 Nov 2017, Eric Engestrom wrote: > On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote: > > On Wed 01 Nov 2017, Dylan Baker wrote: > > > I'm not dead set on debug as the default buildtype, it's what we have ATM > > > though. I asked around here and the feeling was that builtype

Re: [Mesa-dev] Meson's default build type

2017-11-06 Thread Ernst Sjöstrand
Hi, I haven't seen anyone mention -Og in this thread yet: "-Og enables optimizations that do not interfere with debugging." Was added in GCC 4.8. Regards //Ernst 2017-11-06 13:25 GMT+01:00 Eero Tamminen : > Hi, > > On 04.11.2017 03:28, Christian Schmidbauer wrote: >>>

Re: [Mesa-dev] Meson's default build type

2017-11-06 Thread Eero Tamminen
Hi, On 04.11.2017 03:28, Christian Schmidbauer wrote: On Thu, Nov 2, 2017 at 11:45 AM, Andres Rodriguez wrote: [...] In the autotools system we have today, we have --enable-debug, which adds -g and -O0 if some -g* and -O* are not already in CFLAGS. It also adds -DDEBUG

Re: [Mesa-dev] Meson's default build type

2017-11-03 Thread Matt Turner
On Fri, Nov 3, 2017 at 6:28 PM, Christian Schmidbauer wrote: >> On Thu, Nov 2, 2017 at 11:45 AM, Andres Rodriguez wrote: >>> >>> >>> On 2017-11-02 01:52 PM, Eric Engestrom wrote: On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote:

Re: [Mesa-dev] Meson's default build type

2017-11-03 Thread Christian Schmidbauer
> On Thu, Nov 2, 2017 at 11:45 AM, Andres Rodriguez wrote: >> >> >> On 2017-11-02 01:52 PM, Eric Engestrom wrote: >>> >>> On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote: On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote: > > On Wed 01

Re: [Mesa-dev] Meson's default build type

2017-11-03 Thread Dylan Baker
Quoting Matt Turner (2017-11-03 15:05:24) [snip] > > Meson's debug build should correspond to --enable-debug. > debugoptimized vs release is a little less obvious. Perhaps > debugoptimized should default to -g -O2 but leave assertions enabled, > and release should default to -g -O2 -DNDEBUG?

Re: [Mesa-dev] Meson's default build type

2017-11-03 Thread Matt Turner
On Thu, Nov 2, 2017 at 11:45 AM, Andres Rodriguez wrote: > > > On 2017-11-02 01:52 PM, Eric Engestrom wrote: >> >> On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote: >>> >>> On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote: On Wed 01 Nov 2017,

Re: [Mesa-dev] Meson's default build type

2017-11-03 Thread Andres Rodriguez
On 2017-11-03 05:25 AM, Michel Dänzer wrote: On 02/11/17 07:45 PM, Andres Rodriguez wrote: On 2017-11-02 01:52 PM, Eric Engestrom wrote: On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote: On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote: On Wed 01 Nov 2017, Dylan Baker

Re: [Mesa-dev] Meson's default build type

2017-11-03 Thread Michel Dänzer
On 02/11/17 07:45 PM, Andres Rodriguez wrote: > On 2017-11-02 01:52 PM, Eric Engestrom wrote: >> On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote: >>> On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote: On Wed 01 Nov 2017, Dylan Baker wrote: > Quoting Ilia Mirkin

Re: [Mesa-dev] Meson's default build type

2017-11-02 Thread Andres Rodriguez
On 2017-11-02 01:52 PM, Eric Engestrom wrote: On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote: On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote: On Wed 01 Nov 2017, Dylan Baker wrote: Quoting Ilia Mirkin (2017-11-01 16:05:17) On Wed, Nov 1, 2017 at 7:03 PM, Dylan

Re: [Mesa-dev] Meson's default build type

2017-11-02 Thread Eric Engestrom
On Thursday, 2017-11-02 17:39:53 +, Eric Engestrom wrote: > On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote: > > On Wed 01 Nov 2017, Dylan Baker wrote: > > > Quoting Ilia Mirkin (2017-11-01 16:05:17) > > > > On Wed, Nov 1, 2017 at 7:03 PM, Dylan Baker wrote: >

Re: [Mesa-dev] Meson's default build type

2017-11-02 Thread Eric Engestrom
On Thursday, 2017-11-02 09:46:05 -0700, Chad Versace wrote: > On Wed 01 Nov 2017, Dylan Baker wrote: > > Quoting Ilia Mirkin (2017-11-01 16:05:17) > > > On Wed, Nov 1, 2017 at 7:03 PM, Dylan Baker wrote: > > > > Quoting Ilia Mirkin (2017-11-01 15:52:56) > > > >> On Wed, Nov

Re: [Mesa-dev] Meson's default build type

2017-11-02 Thread Dylan Baker
Quoting Matt Turner (2017-11-02 10:06:43) > On Thu, Nov 2, 2017 at 9:51 AM, Michel Dänzer wrote: > > FWIW, my vote is for debugoptimized: Assertions are enabled and there's > > debugging information useful for bug reports, but performance should be > > decent. > > If

Re: [Mesa-dev] Meson's default build type

2017-11-02 Thread Matt Turner
On Thu, Nov 2, 2017 at 9:51 AM, Michel Dänzer wrote: > FWIW, my vote is for debugoptimized: Assertions are enabled and there's > debugging information useful for bug reports, but performance should be > decent. If debugoptimized turns on DEBUG, then I don't think performance

Re: [Mesa-dev] Meson's default build type

2017-11-02 Thread Michel Dänzer
On 02/11/17 05:46 PM, Chad Versace wrote: > On Wed 01 Nov 2017, Dylan Baker wrote: >> Quoting Ilia Mirkin (2017-11-01 16:05:17) >>> On Wed, Nov 1, 2017 at 7:03 PM, Dylan Baker wrote: Quoting Ilia Mirkin (2017-11-01 15:52:56) > On Wed, Nov 1, 2017 at 6:49 PM, Chad

[Mesa-dev] Meson's default build type

2017-11-02 Thread Chad Versace
On Wed 01 Nov 2017, Dylan Baker wrote: > Quoting Ilia Mirkin (2017-11-01 16:05:17) > > On Wed, Nov 1, 2017 at 7:03 PM, Dylan Baker wrote: > > > Quoting Ilia Mirkin (2017-11-01 15:52:56) > > >> On Wed, Nov 1, 2017 at 6:49 PM, Chad Versace > > >>