23 lines
691 B
Markdown
23 lines
691 B
Markdown
from https://github.com/StickyFingaz420/CPUminer-opt-rinhash
|
|
|
|
|
|
|
|
Option 1: Build from Source (Recommended)
|
|
bash
|
|
|
|
Copy
|
|
# Install build dependencies
|
|
sudo apt update
|
|
sudo apt install build-essential autotools-dev autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev zlib1g-dev git automake libtool
|
|
|
|
# Clone the repository (if you haven't already)
|
|
git clone https://github.com/rplant8/cpuminer-opt-rinhash.git
|
|
cd cpuminer-opt-rinhash
|
|
|
|
# Build it
|
|
./autogen.sh
|
|
./configure CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer"
|
|
make -j$(nproc)
|
|
|
|
# Test the newly built binary
|
|
./cpuminer -a rinhash -o stratum+tcp://192.168.0.188:3333 -u username.workername -p x -t 4 |