Switch to dtbartle/cgminer-gc3355 fork as dmaxl is offline
This commit is contained in:
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