compile quickstart

This commit is contained in:
Dobromir Popov
2025-09-06 11:44:25 +03:00
parent 27009b3d87
commit 8104d5f90b
2 changed files with 350 additions and 17 deletions

View File

@@ -1,24 +1,52 @@
from https://github.com/StickyFingaz420/CPUminer-opt-rinhash
# RinHash Miner
A comprehensive mining software supporting both CPU and GPU mining for the RinHash algorithm.
## ✅ VERIFIED SUCCESSFUL COMPILATIONS
Option 1: Build from Source (Recommended)
bash
### ROCm GPU Components ✅ VERIFIED
- **GPU Miner Executable**: `rinhash-gpu-miner` (27KB, successfully compiled)
- **GPU Library**: `librinhash_hip.so` (252KB, successfully compiled)
- **GPU Headers**: All CUDA header files (*.cuh) compiled successfully
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
## ⚠️ UNVERIFIED METHODS
# Clone the repository (if you haven't already)
git clone https://github.com/rplant8/cpuminer-opt-rinhash.git
cd cpuminer-opt-rinhash
The following compilation methods exist but have not been verified:
- CPU Miner compilation
- Complete system builds
- Docker container builds
- CUDA compilation
# Build it
./autogen.sh
./configure CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer"
make -j$(nproc)
## Quick Start
# Test the newly built binary
./cpuminer -a rinhash -o stratum+tcp://192.168.0.188:3333 -u db.win -p x -t 4
cpuminer-rinhash.exe -a rinhash -o stratum+tcp://192.168.0.188:3334 -u db.win -p x -t 4
For detailed compilation instructions, see **[COMPILE_QUICKSTART.md](COMPILE_QUICKSTART.md)**
## Current Status
### ✅ VERIFIED COMPONENTS
- ROCm GPU miner executable: `rinhash-gpu-miner`
- GPU library: `librinhash_hip.so`
- Build scripts: Available for various methods
### ⚠️ UNVERIFIED COMPONENTS
- CPU miner binary (not compiled)
- Complete build outputs (empty directories)
- Docker builds (not tested)
- CUDA compilation (not verified)
## Testing Verified Components
```bash
# Test GPU miner executable
ls -la rinhash-gpu-miner
file rinhash-gpu-miner
# Test GPU library
ls -la rocm-direct-output/gpu-libs/
file rocm-direct-output/gpu-libs/librinhash_hip.so
# GPU runtime check (if ROCm installed)
rocm-smi
```
For complete documentation, see **[COMPILE_QUICKSTART.md](COMPILE_QUICKSTART.md)**