[Mesa-dev] last call for autotools
Marek Olšák
maraeo at gmail.com
Wed Dec 12 20:42:01 UTC 2018
Most assertions and checks are enabled, because NDEBUG is not defined, but
DEBUG is not defined either, which is a Mesa-specific definition.
The default debug build for autotools is debugoptimized (-g -O2 -DDEBUG).
meson changed that behavior by removing -DDEBUG. Autotools doesn't have
what meson calls "debug", which indicates that most people don't want to
use "debug" much. People who wanted to -O0 had to set CFLAGS. Now people
who want the autotools debug build have to add -DDEBUG into CFLAGS.
On top of that, I discovered a 3rd issue with meson:
* meson --reconfigure doesn't re-run llvm-config.
Marek
On Wed, Dec 12, 2018 at 3:13 PM Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
wrote:
> On Wed, Dec 12, 2018 at 8:59 PM Marek Olšák <maraeo at gmail.com> wrote:
> >
> > There are 2 issues with meson:
> > * -DDEBUG is not present in debugoptimized builds.
>
> Do people expect -DDEBUG for debugoptimized? I would think that debug
> optimized would be an optimized build with debug symbols, but not
> expensive checks & asserts, which would match the current
> debugoptimized build?
>
> > * meson ignores CFLAGS with --reconfigure, for example: CFLAGS="-DDEBUG"
> meson --reconfigure ... doesn't update CFLAGS.
> >
> > Marek
> >
> > On Mon, Dec 10, 2018 at 6:11 PM Dylan Baker <dylan at pnwbakers.com> wrote:
> >>
> >> Meson 0.49.0 has been out for a couple of days now, and I'd like to
> make the
> >> final call for autotools. My patch is so massive that it's a huge pain
> to send
> >> to the list, the latest versions is here:
> >> https://gitlab.freedesktop.org/dbaker/mesa/commits/delete-autotools
> >>
> >> Dylan
> >> _______________________________________________
> >> mesa-dev mailing list
> >> mesa-dev at lists.freedesktop.org
> >> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181212/2e9e82e5/attachment.html>
More information about the mesa-dev
mailing list