[PATCH] profile feedback: -fprofile-use= and -fprofile-correction, correctness fixes and option semantic changes.
Daniel Jacobowitz
drow@false.org
Tue Apr 1 23:11:00 GMT 2008
On Wed, Apr 02, 2008 at 12:50:06AM +0200, Ralf Wildenhues wrote:
> Not sure if you're aware of it, but with current GNU make, listing
> prerequisites to .NOTPARALLEL doesn't have any effect; the above will
> simply cause 'make' not to run any rules in this Makefile in parallel.
>
> Since this hurts parallel build performance, can't we formulate the
> required ordering in terms or order-only dependencies? Something like
>
> all-stageprofile-libiberty: | $(targets_that_need_to_run_earlier)
>
> $(targets_that_need_to_run_later): | all-stageprofile-libiberty
Keep in mind that the top level Makefile can not assume GNU make; GCC
requires GNU make but src doesn't.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gcc-patches
mailing list