mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-21 20:30:48 +02:00
[perf/cairo-perf-diff] Pass CAIRO_AUTOGEN_OPTIONS to autogen.
Makes it was possible to run cairo-perf-diff with different configurations, eg with quartz enabled.
This commit is contained in:
parent
d30b1bf157
commit
22e271d687
1 changed files with 4 additions and 1 deletions
|
|
@ -31,6 +31,9 @@ usage() {
|
|||
echo " $argv0 HEAD -- stroke" >&2
|
||||
echo "" >&2
|
||||
echo "The performance results are cached in .perf next to the .git directory." >&2
|
||||
echo "" >&2
|
||||
echo "Set CAIRO_AUTOGEN_OPTIONS to pass options to autogen for both" >&2
|
||||
echo "builds." >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
@ -131,7 +134,7 @@ run_cairo_perf_if_not_cached() {
|
|||
git checkout tmp-cairo-perf-diff
|
||||
git reset --hard $sha
|
||||
if [ ! -e Makefile ]; then
|
||||
CFLAGS="-O2" ./autogen.sh
|
||||
CFLAGS="-O2" ./autogen.sh $CAIRO_AUTOGEN_OPTIONS
|
||||
fi
|
||||
make CFLAGS="-O2" || (rm config.cache && make CFLAGS="-O2")
|
||||
for file in $boilerplate_files; do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue