virtualeconomy / v-systems

V Systems Reference Full Node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARM AArch64 support

ncying opened this issue · comments

In current code, we used the latest released version of leveldbjni (leveldbjni-1.8, on 17 Oct 2013, https://github.com/fusesource/leveldbjni), this may not support the Android Phone to run a full-node.

In their latest merged PR (on 2 Nov 2017, fusesource/leveldbjni#82), ARM AArch64 is supported. We may add this feature to our project.

Added ARM AArch64 support on Linux.
Build and test are passed by issuing:
mvn clean package -P download -P linux64-aarch64

Tasks:

  1. May fork the repo to our project
  2. compile and build the code
  3. release the package to mvn
  4. update the package information in https://github.com/virtualeconomy/v-systems/
    "org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"

Is this task complete?

Sounds like something I'd enjoy.

What did you mean by may fork the repo to our project?

No. This is a task in the plan. Some particular packages should be revised to satisfy Linux in mobile phones. Then the user can run a node in mobile phone.

I mean it should fork the package repo and revised by us

Does the host system need leveldb?

I think so because I have run VSYS without it, but I am not sure. Thanks for any info!

https://mvnrepository.com/artifact/org.openlabtesting.leveldbjni/leveldbjni-linux64-aarch64/1.8

I'm trying this now but it is architecture specific so maybe not the best possible choice

boom, vsys on pi:

Screen Shot 2020-09-09 at 2 32 46 PM

I checked several packages that can make this work on my android phone, but I am not sure about the security problems back the packages.

We should take care to use such dependency for the official release, and listed choices to the users.

Closed by #229

The package I used is based on the master branch of the package that we are currently using and I do not see any security risk.