opensearch-project / k-NN

🆕 Find the k-nearest neighbors (k-NN) for your vector data
https://opensearch.org/docs/latest/search-plugins/knn/index/
Apache License 2.0
156 stars 123 forks source link

Added 'j' option to use multiple cpus to build JNI library. #2244

Closed 0ctopus13prime closed 2 weeks ago

0ctopus13prime commented 2 weeks ago

Description

Current plugin build script is not enabled with parallel compile, only using one single core to build the whole libraries. This PR is to add an option for user to specify the number of cpus for building.

Related Issues

Resolves #[Issue number to be closed when this PR is merged] N/A

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.