]> git.ipfire.org Git - thirdparty/git.git/commit - INSTALL
Fix profile feedback with -jN and add profile-fast
authorAndi Kleen <ak@linux.intel.com>
Tue, 8 Jul 2014 06:35:11 +0000 (23:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Jul 2014 17:56:47 +0000 (10:56 -0700)
commit066dd2632acf11a348ff209b79f42c1a87a71fbb
tree07116ea0e32429685fb4c0cf00f7e7a48afd79b9
parent5d7fd6d06feb29acc9e6304a75b4e26eb23491c4
Fix profile feedback with -jN and add profile-fast

Profile feedback always failed for me with -jN. The problem
was that there was no implicit ordering between the profile generate
stage and the profile use stage. So some objects in the later stage
would be linked with profile generate objects, and fail due
to the missing -lgcov.

This adds a new profile target that implicitely enforces the
correct ordering by using submakes. Plus a profile-install target
to also install. This is also nicer to type that PROFILE=...

Plus I always run the performance test suite now for the full
profile run.

In addition I also added a profile-fast / profile-fast-install
target the only runs the performance test suite instead of the
whole test suite. This significantly speeds up the profile build,
which was totally dominated by test suite run time. However
it may have less coverage of course.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
INSTALL
Makefile