Skip to content

Instantly share code, notes, and snippets.

@morsine
Created May 15, 2021 22:15
Show Gist options
  • Save morsine/58b4b4d262e0671b37e4ce002780c89a to your computer and use it in GitHub Desktop.
Save morsine/58b4b4d262e0671b37e4ce002780c89a to your computer and use it in GitHub Desktop.
How to install MALI GPU Miner
# Run the following
apt-get install -y make build-essential software-properties-common curl wget git g++ binutils file zlib1g-dev libedit-dev automake autoconf dh-autoreconf opencl-headers libcurl4-openssl-dev pkg-config libtool libncurses5-dev ocl-icd-dev ocl-icd-opencl-dev ocl-icd-libopencl1 libpci-dev libvdpau1 libjansson* -y
apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++ libgmp-dev libncurses5-dev libtool opencl-headers mali-fbdev -y
# I know some of them are duplicates, i'm lazy
git clone https://github.com/hominoids/sgminer-arm
cd sgminer-arm
git submodule init
git submodule update
autoreconf -fi
CFLAGS="-Os -Wall -march=native -std=gnu99 -mfpu=neon" LDFLAGS="-L/usr/lib/arm_compute-v18.03-bin-linux/lib/linux-armv7a-neon-cl" ./configure --disable-adl --disable-adl-checks
make
# tested and working on armv7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment