I updated BAMT with the latest version of cgminer. This is how I did it. I'm sure there are more elegant or "correct" ways, but this worked for me. If I'm doing something horribly wrong, please point it out.
Logged in as root, type this into a terminal to download the latest cgminer and prepare it with the ADL SDK:
cd /usr/share
git clone https://github.com/ckolivas/cgminer.git
cd cgminer/ADL_SDK
wget http://download2-developer.amd.com/amd/GPU/zip/ADL_SDK_4.0.zip
unzip ADL_SDK_4.0.zip
cd include
mv adl* ..
cd ..
cd ..
Keep going. The following instructions on compiling cgminer are taken from
http://ck.kolivas.org/apps/cgminer/READMEcd /opt
tar xf /opt/AMD-APP-SDK-v2.4-lnx32/icd-registration.tgz
ln -s /opt/AMD-APP-SDK-v2.4-lnx32/include/CL /usr/include
ln -s /opt/AMD-APP-SDK-v2.4-lnx32/lib/x86/* /usr/lib/
ldconfig
cd /usr/share/cgminer
./autogen.sh
CFLAGS="-O2 -Wall -march=native" ./configure
make
Now that cgminer is compiled, you need to replace the cgminer that came with BAMT with the latest version. It's a good idea to stop mining before doing that, and to make a backup of the old cgminer:
gpumon
D
q
cd /opt/miners
mkdir cgminer_backup
cd cgminer
cp * ../cgminer_backup/
cd /usr/share/cgminer
cp * /opt/miners/cgminer
Now restart mining and verify that things work as they should:
You should see the latest version of cgminer running in a screen.