Skip to content

Draft: solvers: Cross-compile and bundle native libraries for multiple OS into a single jar

Antoine Belvire requested to merge build/cross-compilation into master

Context

These commits allows to cross-compile and bundle multiple native libraries into a single jar.

This way the jar is really portable, provided that native libraries for all platforms have been compiled - which is not really the case since only Linux -> Windows cross-compilation works.

Alternate method - packaging a jar for each os and architecture - is better from disk usage point of view but is more difficult to set up. Tried to configure it by defining new Gradle configurations and using variant selection mechanism, but got lost and fell back to this simpler solution.

What has changed?

Main Changes

TODO

Side Effects

TODO

Others

TODO

Reviewers

TODO

Merge request reports