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

Dmitry Konstantinov commented on CASSANDRA-21350:
-------------------------------------------------

[~dcapwell] any concerns from your side regarding this change?

> Add no-build-accord Ant option to be able to skip Accord module rebuild
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-21350
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21350
>             Project: Apache Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Dmitry Konstantinov
>            Assignee: Dmitry Konstantinov
>            Priority: Normal
>             Fix For: 6.x, 7.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As a part of +local dev+ activities I frequently build Cassandra main jar 
> using: ant jar
> it compiles only changed classes and work fast.
> Since 6.0 we have Accord module as a dependency for this task and it 
> increases the build time (even if Gradle compiler server is used, the current 
> configuration for Accord do a clean build every time). 
> For dev purposes it would be nice to have a flag to skip Accord build.
> It is not expected to be used on CI.
> Timing (captured for the second run, so file caches are warm)
> {code}
> time ant jar
> ...
> real    0m53.284s
> user    0m34.861s
> sys     0m8.887s
> {code}
> {code}
> time ant jar -Dno-build-accord=true
> ...
> real    0m19.981s
> user    0m26.189s
> sys     0m6.319s
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to