git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix build problems related to profile-directed optimization

From
Ted Ts'o <tytso@mit.edu>
Date
Feb 6, 2012, 05:57 UTC
Message-ID
<20120206055750.GA6615@thunk.org>
In-Reply-To
<20120206041839.GB29365@sigill.intra.peff.net>
On Sun, Feb 05, 2012 at 11:18:39PM -0500, Jeff King wrote:
Show 6 quoted lines
> > -	$ make profile-all
> > -	# make prefix=... install
> > +	$ make --prefix=/usr PROFILE=BUILD all
> > +	# make --prefix=/usr PROFILE=BUILD install
> 
> Eh? --prefix?
Oops, configure meme strikes; will fix.
> > +As a caveat: a profile-optimized build takes a *lot* longer since it
> > +is the sources have to be built twice, and in order for the profiling
> 
> s/it is//
Thanks, will fix.
Show 8 quoted lines
> > +ifeq "$(PROFILE)" "GEN"
> > +	CFLAGS += -fprofile-generate=$(PROFILE_DIR) -DNO_NORETURN=1
> > +	EXTLIBS += -lgcov
> > +	export CCACHE_DISABLE=t
> > +	V=1
> > +else ifneq "$PROFILE" ""
> 
> Did you mean "$(PROFILE)" in the second conditional?
Yes, thanks.   Will fix.
						- Ted
Previous: Jeff KingNext: Theodore Ts'o
Message 12 of 18 in “Fix build problems related to profile-directed optimization”
  1. Fix build problems related to profile-directed optimizationTheodore Ts'o, Feb 2, 2012
  2. Junio C HamanoFeb 2, 2012
  3. Ted Ts'oFeb 2, 2012
  4. Ted Ts'oFeb 2, 2012
  5. Junio C HamanoFeb 3, 2012
  6. Ted Ts'oFeb 3, 2012
  7. Junio C HamanoFeb 3, 2012
  8. Theodore TsoFeb 3, 2012
  9. Junio C HamanoFeb 3, 2012
  10. Fix build problems related to profile-directed optimizationTheodore Ts'o, Feb 6, 2012
  11. Jeff KingFeb 6, 2012
  12. Ted Ts'oFeb 6, 2012
  13. Fix build problems related to profile-directed optimizationTheodore Ts'o, Feb 6, 2012
  14. Ted Ts'oFeb 8, 2012
  15. Junio C HamanoFeb 9, 2012
  16. Johannes SixtFeb 9, 2012
  17. Junio C HamanoFeb 9, 2012
  18. Andi KleenFeb 3, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.