Skip to content

Conversation

@Dayuxiaoshui
Copy link

What changes were proposed in this pull request?

This PR adds RISC-V architecture support to GeaFlow build system:

  • Add riscv64/riscv architecture detection in build.sh
  • Configure RISC-V specific Docker image names (geaflow-riscv, geaflow-console-riscv)
  • Update error message to include riscv64 in supported architectures
  • Add architecture-specific Maven parameters for aarch64 build compatibility

The changes enable GeaFlow to be built and deployed on RISC-V platforms, expanding the supported hardware architectures beyond x86_64 and ARM64.

How was this PR tested?

  • Tests have Added for the changes
  • Production environment verified

Test Environment:

  • System Architecture: riscv64
  • Java Version: 11.0.23 (Bisheng)
  • Platform: sg2044 (RISC-V)
  • Build Time: 43 minutes 8 seconds

Test Results:

  • ✅ Successfully compiled 45 JAR files (3 MB total)
  • ✅ JAR file integrity verification passed
  • ✅ Class loader functionality verified
  • ✅ Core class loading validation passed (org.apache.geaflow.common.config.Configuration)
  • ✅ All 15 core modules compiled successfully:
    • geaflow-api, geaflow-cluster, geaflow-core-common
    • geaflow-dsl-common, geaflow-dsl-parser
    • geaflow-highavailability, geaflow-metaserver-common
    • geaflow-metaserver-engine, geaflow-operator
    • geaflow-pdata, geaflow-plan, geaflow-processor
    • geaflow-runtime-common, geaflow-service-discovery-redis
    • geaflow-analytics-service

Conclusion:
GeaFlow core functionality is fully operational on RISC-V architecture. All critical components have been verified and tested successfully.

Dayuxiaoshui and others added 2 commits November 21, 2025 21:48
- Add riscv64/riscv architecture detection in build.sh
- Configure RISC-V specific Docker image names (geaflow-riscv, geaflow-console-riscv)
- Update error message to include riscv64 in supported architectures
- Add architecture-specific Maven parameters for aarch64 build compatibility

Tested on riscv64 (sg2044) platform:
- Successfully compiled 45 JAR files
- Core modules verified and functional
- JAR integrity and class loading tests passed

Co-authored-by: gong-flying <[email protected]>
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.

1 participant