Dmitry Konstantinov created CASSANDRA-21350:
-----------------------------------------------

             Summary: 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


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.

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