mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-27 03:30:12 +01:00
[perf] Make cairo-perf-diff build cairo-perf-diff-files
This commit is contained in:
parent
766346aa5c
commit
7ccae2de6d
1 changed files with 8 additions and 2 deletions
|
|
@ -183,14 +183,20 @@ run_cairo_perf_if_not_cached() {
|
|||
cd $owd
|
||||
}
|
||||
|
||||
git_setup
|
||||
|
||||
# Build cairo-perf-diff-files if not available
|
||||
if [ ! -e $CAIRO_DIR/perf/cairo-perf-diff-files ]; then
|
||||
echo "Building cairo-perf-diff-files"
|
||||
make -C $CAIRO_DIR/perf/ cairo-perf-diff-files
|
||||
fi
|
||||
|
||||
if [ ! -e $old ]; then
|
||||
git_setup
|
||||
run_cairo_perf_if_not_cached $old old
|
||||
old=$(rev2perf $old)
|
||||
fi
|
||||
|
||||
if [ ! -e $new ]; then
|
||||
git_setup
|
||||
run_cairo_perf_if_not_cached $new new
|
||||
new=$(rev2perf $new)
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue