[Mesa-dev] Lets talk about autotools
dylan at pnwbakers.com
Tue Sep 18 15:24:52 UTC 2018
Quoting Kenneth Graunke (2018-09-18 01:40:48)
> On Monday, September 17, 2018 3:24:56 PM PDT Dylan Baker wrote:
> > Quoting Marek Olšák (2018-09-17 15:14:11)
> > > How do I build 32-bit Mesa with meson?
> > >
> > > Thanks,
> > > Marek
> > >
> > Some people get away with just adding CFLAGs=-m32, but using a cross file and
> > doing a cross build is a better way, and is basically required if you want llvm.
> > Here's mine: https://gitlab.freedesktop.org/snippets/504
> > Dylan
> I've attached mine, I then do:
> meson --cross-file=/home/kwg/.local/meson-32-cross --buildtype=release --prefix=/home/kwg/Projects/mesa/build/32/install -Ddri-drivers=i965 -Dvulkan-drivers=intel -Dgallium-drivers= -Db_ndebug=true -Dglvnd=true build/32
> Other than the addition of --cross-file, it's just like any other build.
If you put your cross file in ~/.local/share/meson/cross then you could just do
meson --cross-file=meson-32-cross --buildtype=release --prefix=$PWD/build/32/install -Ddri-drivers=i965 -Dvulkan-drivers=intel -Dgallium-drivers= -Db_ndebug=true -Dglvnd=true build/32
I think Eric Engstrom also landed is if-debug patches, so ndebug is by default
only enabled for debug and debugoptimized builds now. I think.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 228 bytes
More information about the mesa-dev