tar xfvz AMD-APP-SDK-v2.8-lnx32.tgz chmod +x Install-AMD-APP.sh ./Install-AMD-APP.sh rm -rf /opt/AMD-APP-SDK-v2.4-lnx32/ coldreboot
Это все устанавливается в /opt/AMDAPP
И в update.sh надо бы прописать /opt/AMDAPP вместо /opt/AMD-APP-SDK-v2.4-lnx32/
update.sh
#!/bin/bash ./autogen.sh ATISTREAMSDKROOT="/opt/AMD-APP-SDK-v2.4-lnx32/" CFLAGS="-O2 -Wall -march=native" ./configure --enable-scrypt --enable-bitforce --bindir="/opt/miners/cgminer" --prefix="/opt/miners/cgminer" make -j3 sync ./cgminer -n
ln -sf /opt/AMDAPP/include/CL /usr/include ln -sf /opt/AMDAPP/lib/x86/* /usr/lib/ ldconfig cd /opt/miners rm -rf cgminer git clone https://github.com/ckolivas/cgminer.git cp /mnt/data/update_bamt/ADL_SDK/include/* /opt/miners/cgminer/ADL_SDK/ cd cgminer