On Thu, May 21, 2020 at 2:32 PM Yuvraaj Kelkar <[email protected]> wrote:

> @speed:
> I haven't delved into the actual ant build files, but from a cursory look
> at the CPU utilization during an ant task, should I assume that more cores
> = faster?
> If there's other information that you can share about how to make it
> faster, or if you have future plans in that direction, please tell me so I
> can share with the team.
> We're always looking to improve the underlying platform.
>

It's not so much Ant or Gradle as it its having test runners to run tests
in parallel.  So yes; more CPUs equals faster build (due to the tests).
But the build may not detect the number of CPUs properly in Crave, from
what I see.  It is, at least, explicitly configurable, as I showed.


> @gradle requirements
> With a bit of trial and error and the Solr readme.md I was able to get the
> current Ant environment up a few days ago:
> https://github.com/accupara/docker-images/blob/master/java/solr/Dockerfile
> <https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgithub.com%2Faccupara%2Fdocker-images%2Fblob%2Fmaster%2Fjava%2Fsolr%2FDockerfile&recipient=ZGV2QGx1Y2VuZS5hcGFjaGUub3Jn>
> After looking at the mailing list archive for a bit, I see that the
> community is trying to get a working Gradle build.
> Can you point me to any docs for the Solr specific Gradle requirements so
> I can enable that in the Solr image we've created?
>

The top level "help/" is pretty good.  See:
https://github.com/apache/lucene-solr/blob/master/help/localSettings.txt
and some other sibling files.  Also, I think this GitHub PR hook is useful
to glean how simple it is:
https://github.com/apache/lucene-solr/blob/master/.github/workflows/gradle-precommit.yml

Thanks,

 ~ David

Reply via email to