imbajin commented on issue #3099:
URL: https://github.com/apache/hugegraph/issues/3099#issuecomment-5018795520

   Thanks @yugaaank — no one is assigned to this yet.
   
   For the fastest first step, please **do not start with a JUnit test**. The 
main unknown is the real RISC-V runtime integration, not HugeGraph's Java 
logic. A small disposable Docker/QEMU smoke helper is more useful first:
   
   1. Build the HugeGraph Server distribution on the host (x86-64/arm64); 
native RISC-V Maven/protoc support can come later.
   2. Run it in a glibc-based linux/riscv64 environment with **Java 11** 
(Ubuntu 24.04 provides OpenJDK 11 for riscv64).
   3. Install/configure libatomic1 automatically, then verify RocksDB 
open/put/get/close. The undefined __atomic_compare_exchange_1 symbol should 
make the smoke test fail; it should not be treated as the expected final result.
   4. Verify uname -m, java -version, HugeGraph init/start, /versions, REST 
schema + CRUD, one Gremlin query, restart, and persistence.
   5. Clean up only the container/image/volume created by the helper.
   
   Once that end-to-end path works reliably, we can decide which portable 
checks belong in JUnit/CI. A focused PR for the reproducible Java 11 QEMU smoke 
helper would be a great starting point.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to