Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate common lib jni and non-jni into 2 libs #1620

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

jmazanec15
Copy link
Member

Description

Creates a new shared non-jni library that the jni libraries can depend on. This is to resolve a build issue on windows that is coming from nmslib not being able to find symbols in the jni common library. The net result will be that we add one more shared library.

In addition, I removed all the CPack code from CMakeLists because we dont use it.

Issues Resolved

#1610
#1591

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed as per the DCO using --signoff

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.

Creates a new shared non-jni library that the jni libraries can depend
on. This is to resolve a build issue on windows that is coming from
nmslib not being able to find symbols in the jni common library. The
net result will be that we add one more shared library.

In addition, I removed all the CPack code from CMakeLists because we
dont use it.

Signed-off-by: John Mazanec <jmazane@amazon.com>
@navneet1v
Copy link
Collaborator

Overall code looks good to me. Waiting for all CIs to complete.

@jmazanec15
Copy link
Member Author

jmazanec15 commented Apr 17, 2024

@jmazanec15 jmazanec15 merged commit dc0953a into opensearch-project:main Apr 18, 2024
56 of 69 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 18, 2024
Creates a new shared non-jni library that the jni libraries can depend
on. This is to resolve a build issue on windows that is coming from
nmslib not being able to find symbols in the jni common library. The
net result will be that we add one more shared library.

In addition, I removed all the CPack code from CMakeLists because we
dont use it.

Signed-off-by: John Mazanec <jmazane@amazon.com>
(cherry picked from commit dc0953a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc. skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants