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

initial pass at adding riscv64 support in besu-native #244

Merged
merged 4 commits into from
Mar 4, 2025

Conversation

garyschulte
Copy link
Contributor

@garyschulte garyschulte commented Mar 4, 2025

Allow besu-native to build on linux-gnu-riscv64 , ignore constantine and blake2.

This PR just adds the build targets, it does not add CI for riscv64. The resulting merge will not automatically create a riscv64 compatible besu-native release.

Tested on bpif3 with Armbian

image

Signed-off-by: Gary Schulte <garyschulte@gmail.com>
@@ -16,7 +16,6 @@
rootProject.name='besu-native'
include 'arithmetic'
include 'blake2bf'
include 'bls12-381'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixing this vestigial bit of matter-labs lib which was removed in #225

Signed-off-by: Gary Schulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
// Skip for riscv64 since we are not building constantine for riscv64 yet
enabled = false
} else {
// environment 'LD_LIBRARY_PATH', "${System.env.LD_LIBRARY_PATH}:build/resources/main/linux-gnu-x86_64"
Copy link
Contributor

Choose a reason for hiding this comment

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

commented out code

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, yeah. that is informational since it is an alternative way to find the built library in the path. I will remove it though

@garyschulte garyschulte enabled auto-merge (squash) March 4, 2025 22:47
@garyschulte garyschulte merged commit 49b2ac0 into hyperledger:main Mar 4, 2025
12 checks passed
@garyschulte garyschulte deleted the feature/add-riscv64 branch March 4, 2025 23:11
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.

2 participants