Last active
March 13, 2016 10:58
-
-
Save martinhbramwell/49fc1fafea29832f5241 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These are my notes on how I prepared to do Ether mining with this machine : | |
# * Ubuntu Trusty 64bit | |
# * Radeon R9 380 | |
# | |
# This is my first try. I doubt if I will succeed. | |
# | |
## Prepare for building in Ubuntu | |
################################## | |
# From : https://github.com/ethereum/webthree-umbrella/wiki/Building-on-Ubuntu | |
mkdir -p tmp/ | |
cd tmp/ | |
sudo apt-add-repository ppa:george-edison55/cmake-3.x | |
~/aptFix.sh # https://gist.github.com/martinhbramwell/6621909 | |
sudo apt-get -y install language-pack-en-base | |
sudo dpkg-reconfigure locales | |
sudo apt-get -y install software-properties-common | |
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - | |
sudo add-apt-repository "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main" | |
~/aptFix.sh | |
sudo apt-get -y install llvm-3.7-dev | |
sudo add-apt-repository -y ppa:ethereum/ethereum-qt | |
sudo add-apt-repository -y ppa:ethereum/ethereum | |
sudo add-apt-repository -y ppa:ethereum/ethereum-dev | |
~/aptFix.sh | |
sudo apt-get -y install build-essential git cmake libboost-all-dev | |
sudo apt-get -y install libgmp-dev libleveldb-dev libminiupnpc-dev | |
sudo apt-get -y install libreadline-dev libncurses5-dev libcurl4-openssl-dev | |
sudo apt-get -y install libcryptopp-dev libmicrohttpd-dev libjsoncpp-dev | |
sudo apt-get -y install libargtable2-dev libedit-dev mesa-common-dev | |
sudo apt-get -y install ocl-icd-libopencl1 opencl-headers libgoogle-perftools-dev | |
sudo apt-get -y install qtbase5-dev qt5-default qtdeclarative5-dev | |
sudo apt-get -y install libqt5webkit5-dev libqt5webengine5-dev | |
sudo apt-get -y install ocl-icd-dev libv8-dev libz-dev | |
sudo apt-get -y install libjson-rpc-cpp-dev | |
sudo apt-get -y install libjson-rpc-cpp-dev | |
sudo apt-get -y install qml-module-qtquick-controls qml-module-qtwebengine | |
## Build in Ubuntu | |
################### | |
mkdir cpp-ethereum | |
cd cpp-ethereum | |
git clone --recursive https://github.com/ethereum/webthree-umbrella | |
cd webthree-umbrella | |
git checkout release | |
git submodule update | |
mkdir build | |
cd build | |
cmake .. | |
make | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment