Switch to dtbartle/cgminer-gc3355 fork as dmaxl is offline
This commit is contained in:
@@ -47,8 +47,8 @@ Das `install.sh` Skript übernimmt die komplette Einrichtung inkl. Kompilieren v
|
||||
Falls Sie den Automatismus nicht nutzen wollen:
|
||||
|
||||
1. **Abhängigkeiten:** Python 3, `libusb-1.0-0-dev`, `libcurl4-openssl-dev`, `libncurses5-dev`.
|
||||
2. **Cgminer:** Installieren Sie einen Gridseed-kompatiblen Fork (z.B. https://github.com/dmaxl/cgminer).
|
||||
Configure flags: `./configure --enable-gridseed`
|
||||
2. **Cgminer:** Installieren Sie einen Gridseed-kompatiblen Fork (z.B. https://github.com/dtbartle/cgminer-gc3355).
|
||||
Configure flags: `./configure --enable-gridseed --enable-scrypt`
|
||||
3. **App:**
|
||||
- Code nach `/opt/necrohash` kopieren.
|
||||
- `pip install -r requirements.txt` (in venv).
|
||||
|
||||
14
install.sh
14
install.sh
@@ -18,18 +18,22 @@ echo "Installing system dependencies..."
|
||||
apt-get update
|
||||
apt-get install -y python3 python3-venv git libncurses5-dev libudev-dev build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev
|
||||
|
||||
# 2. Cgminer Installation (dmaxl fork for Gridseed)
|
||||
# 2. Cgminer Installation (dtbartle fork for Gridseed GC3355)
|
||||
if [ ! -f "/usr/local/bin/cgminer" ]; then
|
||||
echo "Compiling and installing cgminer for Gridseed..."
|
||||
cd /tmp
|
||||
git clone https://github.com/dmaxl/cgminer.git
|
||||
cd cgminer
|
||||
# Remove any existing failed clone
|
||||
rm -rf cgminer-gc3355
|
||||
|
||||
git clone https://github.com/dtbartle/cgminer-gc3355.git
|
||||
cd cgminer-gc3355
|
||||
./autogen.sh
|
||||
./configure --enable-gridseed
|
||||
# Standard flags for this fork usually include gridseed support by default or via flag
|
||||
./configure --enable-gridseed --enable-scrypt
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
rm -rf cgminer
|
||||
rm -rf cgminer-gc3355
|
||||
else
|
||||
echo "cgminer found, skipping compilation."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user