You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/05/13 22:18:00 UTC

[jira] [Commented] (PROTON-2048) Proton-C build process compiles a lot of files twice

    [ https://issues.apache.org/jira/browse/PROTON-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838911#comment-16838911 ] 

ASF subversion and git services commented on PROTON-2048:
---------------------------------------------------------

Commit c5367f5307dae7909149875cca6b314603a33858 in qpid-proton's branch refs/heads/master from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=c5367f5 ]

PROTON-2048: Avoid recompiling some source files
- The source of proton-core used to be compiled twice
  Once for qpid-proton-core and once for qpid-proton
- Now use a cmake object library to only compile once
- The test_main of catch2 is very template heavy and takes
  a lot of time on small machines to compile. It was previously
  recompiled for each of the C tests, now we use a cmake object
  library.
- This reduces some CI build times by approx 20%


> Proton-C build process compiles a lot of files twice
> ----------------------------------------------------
>
>                 Key: PROTON-2048
>                 URL: https://issues.apache.org/jira/browse/PROTON-2048
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: build
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>
> This actually accounts for a very significant amount of the elapsed compile time. And is especially bad if building on low powered hosts like the Raspberry Pi.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org