This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/8 v2] gen-perf-test: parallel build support
- From: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 3 Aug 2015 09:35:49 -0700
- Subject: Re: [PATCH 5/8 v2] gen-perf-test: parallel build support
- Authentication-results: sourceware.org; auth=none
- References: <m3bnezylks dot fsf at sspiff dot org>
On Sun, Jul 26, 2015 at 8:39 AM, Doug Evans <xdje42@gmail.com> wrote:
> Hi.
>
> This patch is v2 of this patch:
> https://sourceware.org/ml/gdb-patches/2015-07/msg00589.html
>
> Regression tested for real this time.
> The change is to the leave the default handling as setting
> GDB_PARALLEL to "yes" instead of a subdirectory name,
> and then having one function that computes the path to use,
> and then have everyone call it.
>
> 2015-07-26 Doug Evans <dje@google.com>
>
> * Makefile.in (workers/%.worker, build-perf): New rule.
> (GDB_PERFTEST_MODE): New variable.
> (check-perf): Use it.
> (clean): Clean up gdb.perf parallel build subdirs.
> * lib/build-piece.exp: New file.
> * lib/gdb.exp (make_gdb_parallel_path): New function
> (standard_output_file, standard_temp_file): Call it.
> (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
> of $GDB_PARALLEL.
> * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
Committed.