This is an automated email from the ASF dual-hosted git repository. bdeggleston pushed a commit to branch cep-45-mutation-tracking in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit 8b5865ce37573254f802cea1c43ce562fa590dff Author: Blake Eggleston <[email protected]> AuthorDate: Wed Sep 2 18:33:15 2026 -0700 Add -Dno-build-accord to skip the gradle subproject build The _build-accord target otherwise runs a full gradle clean build and publishToMavenLocal on every ant invocation. It also takes a lock on the shared gradle artifact cache, so a second checkout building concurrently blocks until the first finishes. --- .build/build-accord.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.build/build-accord.xml b/.build/build-accord.xml index 0d16197c6b..d47efe55bd 100644 --- a/.build/build-accord.xml +++ b/.build/build-accord.xml @@ -18,7 +18,11 @@ --> <project basedir=".." name="apache-cassandra-accord-build" xmlns:if="ant:if"> - <target name="_build-accord" depends="init"> + <!-- no-build-accord skips the gradle invocation below, for when the jar is already current. Two checkouts building + concurrently contend on the shared gradle artifact cache (~/.gradle/caches/modules-2) and one blocks until the + other finishes; setting GRADLE_USER_HOME per checkout isolates that instead, at the cost of duplicated + downloads. Follows the same convention as no-checkstyle and no-build-test. --> + <target name="_build-accord" depends="init" unless="no-build-accord"> <exec executable="${basedir}/${accord.dir}/gradlew" dir="${basedir}/${accord.dir}" logError="true" failonerror="true" failifexecutionfails="true"> <!-- Need to call clean as a version change with a jar that didn't have code changes will not produce a new jar with the new version... so need clean to make sure build is stable --> <arg value="clean" /> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
