summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-07-19 16:32:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-07-19 16:32:52 (GMT)
commitd37b2991b1edea76c01ec05cc383005b55c96e36 (patch)
tree84981b73f1de1fb6ff924059da0c1d77e3d6ccdd /INSTALL
parent55272570dbe1c3f2a6f2f142c4bfe806665cd111 (diff)
parent39001007390a699265f16da47474d2b112118931 (diff)
downloadgit-d37b2991b1edea76c01ec05cc383005b55c96e36.zip
git-d37b2991b1edea76c01ec05cc383005b55c96e36.tar.gz
git-d37b2991b1edea76c01ec05cc383005b55c96e36.tar.bz2
Merge branch 'ak/gcc46-profile-feedback'
* ak/gcc46-profile-feedback: Add explanation of the profile feedback build to the README Add profile feedback build to git Add option to disable NORETURN
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL13
1 files changed, 13 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 16e45f1..bbb9d4d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -25,6 +25,19 @@ set up install paths (via config.mak.autogen), so you can write instead
$ make all doc ;# as yourself
# make install install-doc install-html;# as root
+If you're willing to trade off (much) longer build time for a later
+faster git you can also do a profile feedback build with
+
+ $ make profile-all
+ # make prefix=... install
+
+This will run the complete test suite as training workload and then
+rebuild git with the generated profile feedback. This results in a git
+which is a few percent faster on CPU intensive workloads. This
+may be a good tradeoff for distribution packagers.
+
+Note that the profile feedback build stage currently generates
+a lot of additional compiler warnings.
Issues of note: