MarijnStevens / yagna-binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning this project is dead.

Because this code was never merged, this project and all attempts to include all of Qumu ability, is pretty much dead. I proved the concept, but if the Golem Group doesnt embrase it, I cannot support it anymore. Anyone is free to find and detect what is possible in the Golem network, but I cant promise compatability. My whole trend was to tell the Golem group to embrase multi-arch, and I think I failed.

Yagna-binaries for aarch64

Youtube Demo

Hackathon entry for both @MarijnStevens and @ControlCplusControlV as an entry for the Golem Network Bounty in the 0xHackathon May 2021.

This build is for 64 bit arm architecture, also known as aarch64. This has been tested on both the Raspberry Pi 3 and 4. The Goal of this project was to provide a build of Golem for 64 bit arm as it becomes increasingly more common, especially after adoption from big companies like Apple and Nvidia.

Setup guide

  1. Install base image from here, make sure its version 21.04 64-Bit, this is needed as the LTS version lacks newer libraries needed to run the runtime.

  2. Run sudo apt update && sudo apt upgradeto get your packages up to date

  3. Then install a needed dependency via sudo apt-get install libpixman-1-0

  4. Then clone this repo via git clone https://github.com/MarijnStevens/yagna-binaries.git

  5. Go into the yagna-binaries folder and run the following

$ chmod +x ./install.sh
$ ./install.sh 
  1. Lastly, give the executing user KVM permissions: sudo adduser $(whoami) kvm

  2. Reboot / Relogin

  3. Then run ./golemsp run like normal to setup your node

  4. Once configured, restart with nohup golemsp run > yagna.log & to keep the process running when you disconnect the terminal.

Uninstall yagna-binaries

Remove it with $ chmod +x ./uninstall.sh

Compile from Sources

You can find the repositories yagna, ya-runtime-vm, ya-runtime-wasi. They all have ./build.sh scripts, but you need to have rust support, cross compatible dependencies for aarch64 and docker to build vmrt-x86_64. You can find the instructions to build the runtime in ya-runtime-vm/qemu-aarch64.

About

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%