Switch to dtbartle/cgminer-gc3355 fork as dmaxl is offline

This commit is contained in:
Gemini Bot
2026-01-20 12:12:08 +00:00
parent eaba221af3
commit 5c0fa40cf5
2 changed files with 11 additions and 7 deletions

View File

@@ -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