[cairo-commit] perf/cairo-perf-diff

Brian Ewins brianewins at kemper.freedesktop.org
Sun Jan 7 10:14:48 PST 2007


 perf/cairo-perf-diff |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

New commits:
diff-tree 22e271d687ad871a4e8a069ee2945c42062c1cb4 (from d30b1bf157126668c4309731022b2ded2ad09571)
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Thu Jan 4 15:06:48 2007 +0000

    [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.

diff --git a/perf/cairo-perf-diff b/perf/cairo-perf-diff
index 47ac456..f873917 100755
--- a/perf/cairo-perf-diff
+++ b/perf/cairo-perf-diff
@@ -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


More information about the cairo-commit mailing list