Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#70 closed enhancement (fixed)

add build option to optimize for speed

Reported by: felix winkelmann Owned by:
Priority: minor Milestone:
Component: build system Version: 4.1.x
Keywords: Cc:
Estimated difficulty:

Description

something like

make ... OPTIMIZE_FOR_SPEED=yes ...

This should use the gcc option -O3 instead of the default -Os.

Change History (6)

comment:1 Changed 15 years ago by Jim Ursetto

Why create a dedicated option when the user can just override C_COMPILER_OPTIMIZATION_OPTIONS from the make command-line, providing much more control?

comment:2 in reply to:  1 ; Changed 15 years ago by felix winkelmann

Replying to zbigniew:

Why create a dedicated option when the user can just override C_COMPILER_OPTIMIZATION_OPTIONS from the make command-line, providing much more control?

I thought it might be easier to use (and we should know better what options to use for maximum performance).

comment:3 in reply to:  2 ; Changed 15 years ago by Jim Ursetto

Replying to felix:

I thought it might be easier to use (and we should know better what options to use for maximum performance).

OK, this makes sense. But, if it is still possible to leave the manual override in as well, I would appreciate it. Sometimes we can't pick "fast" options just based on platform/arch.

comment:4 in reply to:  3 Changed 15 years ago by felix winkelmann

Replying to zbigniew:

Replying to felix:

I thought it might be easier to use (and we should know better what options to use for maximum performance).

OK, this makes sense. But, if it is still possible to leave the manual override in as well, I would appreciate it. Sometimes we can't pick "fast" options just based on platform/arch.

Sure. It must be possible to override the optimization options in any case.

comment:5 Changed 15 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

added in r15540.

comment:6 Changed 15 years ago by (none)

Milestone: 4.2.0

Milestone 4.2.0 deleted

Note: See TracTickets for help on using tickets.