Conversation
Adds x86_64 and aarch64 support
…ion for OSX x86 and arm64 available
…ion for OSX x86 and arm64 available
Standardize cmake args Fix JAVA_HOME nuances Move more platform detection from maven to cmake
Closed
Sometimes Maven will use the JRE and jni.h can't be found
Author
|
Just an update... this is coming along nicely. Maven's profiles are intended to be very deterministic, so it took some tricks to allow a simplified command line call: mvn -P aarch64
mvn -P x86_64
mvn -P x86... but it does work. This branch will be merged soon. |
tresf
commented
Jul 20, 2021
DetectLinux.cmake is no longer required for jssc build with cmake/maven
os family unix will match macos, override the value by placing it lower in the pom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
mvn -P aarch64for all platforms which support it.armhfversion suffix (this seems to change frequently). Please edittoolchain/Armhf.cmakeas needed.Maven's profiles are intended to be very deterministic, so it took some tricks to allow a simplified command line calls:
If a profile is not selected, we'll choose the best match automatically.
Classic cross-compilation is still possible using the existing toolchains: