thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King, III (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4532) Avoid updating Thrift compiler generated code if the output has not changed
Date Tue, 27 Mar 2018 23:36:00 GMT

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

James E. King, III commented on THRIFT-4532:
--------------------------------------------

Yes, I agree this would be useful.  I assume the solution involves writing to temporary files,
then checksumming both, and if not different destroying the temporary?

> Avoid updating Thrift compiler generated code if the output has not changed
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-4532
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4532
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (General)
>    Affects Versions: 0.11.0
>            Reporter: Buğra Gedik
>            Priority: Minor
>             Fix For: 0.12.0
>
>
> We would like to contribute an improvement to the Thrift compiler that would avoid regenerating
target file(s) if they are going to be exactly the same as the ones already present in the
same place. This will help when running the Thrift compiler in our build, especially in recursive
mode.



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

Mime
View raw message