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

Dylan Baker dylan at pnwbakers.com
Wed Dec 5 00:17:27 UTC 2018


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

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181204/56d3fae8/attachment.sig>


More information about the mesa-dev mailing list