You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Andrew Hsu (JIRA)" <ji...@apache.org> on 2009/11/07 01:53:32 UTC

[jira] Commented: (TS-19) Add -pipe when compiling with gcc

    [ https://issues.apache.org/jira/browse/TS-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774515#action_12774515 ] 

Andrew Hsu commented on TS-19:
------------------------------

Wall-clock time of compile improves for me (with `make -j`) by 2.4%, but I'll take anything I can get (save enough time to get an extra hour of sleep at the end of the week).

The place to put -pipe is appropriate for now assuming we only got gcc.  I will like to address the way common_opt, debug_opt, etc are constructed in order to make it easier to override flags at configure time and make it easier to slip in other compilers if need be, but that ought to be a separate jira ticket.

I've tested on RHEL4 32-bit and Fedora 11 64-bit.  The patch looks good to me.

Cheers,
Andrew

> Add -pipe when compiling with gcc
> ---------------------------------
>
>                 Key: TS-19
>                 URL: https://issues.apache.org/jira/browse/TS-19
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Leif Hedstrom
>            Priority: Trivial
>
> Adding a -pipe when compiling with gcc will reduce compile time slightly, and shouldn't have any drawbacks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.