[Mesa-dev] Mesa build instructions

Pekka Paalanen ppaalanen at gmail.com
Sat Apr 12 02:13:03 PDT 2014


On Fri, 11 Apr 2014 11:50:50 -0700
Eric Anholt <eric at anholt.net> wrote:

> For anyone that's curious about how I work:
> 
> My scripts setup looks a lot like Matt's.  I don't do OOT builds, and
> instead I just have 6 main trees:
> 
> ~/src/mesa (normal debug build)
> ~/src/mesa-release (non-debug build)
> ~/src/mesa-clean (usually HEAD~1 of ~/src/mesa)
> ~/src/32/mesa
> ~/src/32/mesa-release
> ~/src/32/mesa-clean
> 
> The debug build also is with -O2 so that I can actually get
> mostly-representative performance results while developing.  REALLY
> IMPORTANT: Don't forget -fno-omit-frame-pointer on 64-bit, otherwise you
> won't get backtraces from sysprof and perf (similarly, in your kernel,
> CONFIG_FRAME_POINTER=y).
> 
> I think the most important feature of my setup is the clean builds.  By
> having copies of unmodified mesa along with patched mesa, I can use
> http://anholt.net/compare-perf/ to easily produce stats to test whether
> my change is actually having the desired effect.

Hi Eric,

just curious, how have you set up git here?

Do you have a .git/ completely separate in each directory, and if
so, how do you keep them synced?

Or do you use some GIT_DIR env magic to have a single git repo with
multiple checkouts?


Thanks,
pq


More information about the mesa-dev mailing list