[Mesa-dev] [PATCH v2] build: remove autotools

Marek Olšák maraeo at gmail.com
Wed Dec 5 00:52:47 UTC 2018


On Tue, Dec 4, 2018 at 7:18 PM Dylan Baker <dylan at pnwbakers.com> wrote:

> Quoting Marek Olšák (2018-12-04 16:04:11)
> > On Tue, Dec 4, 2018 at 7:01 PM Dylan Baker <dylan at pnwbakers.com> wrote:
> >
> >     Quoting Marek Olšák (2018-12-04 14:52:19)
> >     > CFLAGS="-fno-omit-frame-pointer" \
> >     > CXXFLAGS="-fno-omit-frame-pointer" \
> >     > LDFLAGS="-fuse-ld=gold" \
> >     >     meson $reconfigure build \
> >     >     --prefix /usr --libdir /usr/lib/$archdir --buildtype
> debugoptimized
> >     > --native-file $llvm_config \
> >     >     -Dgallium-va=false -Dgallium-xvmc=false -Dgallium-omx=disabled
> >     -Dgallium-xa
> >     > =false \
> >     >     -Dplatforms=x11,drm,surfaceless
> -Dgallium-drivers=radeonsi,r300,r600
> >     \
> >     >     -Ddri-drivers= -Dvulkan-drivers=amd \
> >     >     -Dlibunwind=true
> >     >
> >     > Marek
> >
> >     If you want the -DDEBUG added automatically you need a
> --buildtype=debug,
> >     --buildtype=debugoptimized doesn't get -DDEBUG.
> >
> >
> > That's a change in behavior compared to autotools, which was always
> > debugoptimized.
> >
> > Marek
>
> That was changed after the initial meson merge, here's the thread
> discussing
> that:
> https://lists.freedesktop.org/archives/mesa-dev/2017-November/175104.html


It doesn't discuss it.

Autotools doesn't have buildtype=debug (-O0). --enable-debug is
debugoptimized (-g -O2 -DDEBUG).

Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181204/d19271b5/attachment-0001.html>


More information about the mesa-dev mailing list