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

Add soemJavaNativeLibrary and support cross compilation for aarch64 #18

Merged
merged 6 commits into from
Nov 20, 2024

Conversation

ds58
Copy link
Contributor

@ds58 ds58 commented Nov 14, 2024

No description provided.

@ds58 ds58 marked this pull request as ready for review November 18, 2024 22:22
@ds58 ds58 requested review from calvertdw and reesep5 November 18, 2024 22:22
@ds58 ds58 changed the title [WIP] Add soemJavaNativeLibrary Add soemJavaNativeLibrary and support cross compilation for aarch64 Nov 18, 2024
@ds58 ds58 requested a review from achintyamohan November 18, 2024 22:22
Comment on lines +20 to +22
api("us.ihmc:soem:1.5.0")
api("us.ihmc:soem-platform-linux-x86_64:1.5.0")
api("us.ihmc:soem-platform-linux-arm64:1.5.0")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will have to publish these

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Looks like that's why the checks are failing. Maybe you should go ahead and publish so the tests in the PR pass?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, note that there is 1 failing test on develop already

cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
# Cross compile for arm64 using the toolchain
# cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../linux-aarch64-toolchain.cmake ..
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this means we need to run this on any arm64 machine?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When running on a native arm platform you don't need to use the cross compilation toolchain

@ds58 ds58 merged commit 033c5e9 into develop Nov 20, 2024
0 of 2 checks passed
@ds58 ds58 deleted the soem-java-native-library branch November 20, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants