Skip to content

Conversation

@0xFF0
Copy link

@0xFF0 0xFF0 commented Sep 22, 2022

Raspberry Pi support for QRL

Tested with https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2021-11-08/2021-10-30-raspios-bullseye-armhf.zip

This PR was developped during the QRL Hackathon 2022.

Instructions to try these modifications on Raspberry Pi:

# Update and Upgrade packages
sudo apt update && sudo apt upgrade -y

# Install Required dependencies
sudo apt-get -y install swig4.0 python3-dev python3-pip build-essential pkg-config libssl-dev libffi-dev libhwloc-dev libboost-dev cmake libleveldb-dev libyaml-dev

# Make sure setuptools is the latest
pip3 install -U setuptools

# Install modified libraries (i.e: qrandomx and qryptonight)
git clone --recursive https://github.com/0xFF0/qrandomx
git clone --recursive https://github.com/0xFF0/qryptonight
cd qrandomx
sudo python3 setup.py install
cd ../qryptonight
sudo python3 setup.py install

# Download QRL
git clone https://github.com/theQRL/QRL.git
cd QRL

# Remove qrandomx and qryptonight from the requirements
sed -i 's/pyqryptonight/#pyqryptonight/g' setup.cfg
sed -i 's/pyqrandomx/#pyqrandomx/g' setup.cfg

# Temporary patch (https://github.com/theQRL/QRL/pull/1752)
sed -i 's/protobuf==3.15.8/protobuf==3.20.1/g' setup.cfg

# Install QRL
sudo python3 setup.py install

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