Use custom configuration to build mesa and add --no-rebuild & --release options
The --no-rebuild
option helps to avoid rebuilding mesa in case
of multiple test runs. The build now also respects
the -j option.
With the --release
option, the buildtype is changed to 'release'.
Note that this option only has effect if --no-rebuild
is not used at the same time.