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

[CI] Build xgboost4j.dll and libxgboost4j.dylib into snapshot JARs #5559

Closed
hcho3 opened this issue Apr 17, 2020 · 2 comments
Closed

[CI] Build xgboost4j.dll and libxgboost4j.dylib into snapshot JARs #5559

hcho3 opened this issue Apr 17, 2020 · 2 comments

Comments

@hcho3
Copy link
Collaborator

hcho3 commented Apr 17, 2020

#5533 and #5539 created a Maven repository to host snapshots for XGBoost4J. The JAR files contain both bytecode for Java/Scala code as well as the native library libxgboost4j.so. The native library is compiled to run on 64-bit Linux. So you cannot deploy XGBoost4J-Spark to a server running Windows Server.

Proposal: Build xgboost4j.dll using Visual Studio and insert it into the JAR file. This needs to be automated as part of CI.

@hcho3 hcho3 changed the title [CI] Build XGBoost4J.DLL into snapshot JARs [CI] Build xgboost4j.dll and libxgboost4j.dylib into snapshot JARs Jul 18, 2020
@hcho3
Copy link
Collaborator Author

hcho3 commented Jul 18, 2020

It would also be nice to have the Mac OS library libxgboost4j.dylib in the JAR file as well.

@hcho3 hcho3 closed this as completed Sep 8, 2020
@hcho3
Copy link
Collaborator Author

hcho3 commented Sep 8, 2020

Currently distributed training is broken on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant