Skip to content

Commit

Permalink
Compile Cmake from source
Browse files Browse the repository at this point in the history
Adapt compilation instructions to compile recent cmake from source. Fix #177.
  • Loading branch information
pkel committed Jan 21, 2019
1 parent 9d4723c commit ef8dad4
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/compiling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,22 @@ Ubuntu 16.04
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt install cmake libtool autoconf libboost-filesystem-dev libboost-iostreams-dev \
sudo apt install libtool autoconf libboost-filesystem-dev libboost-iostreams-dev \
libboost-serialization-dev libboost-thread-dev libboost-test-dev libssl-dev libjsoncpp-dev \
libcurl4-openssl-dev libjsoncpp-dev libjsonrpccpp-dev libsnappy-dev zlib1g-dev libbz2-dev \
liblz4-dev libzstd-dev libjemalloc-dev libsparsehash-dev python3-dev python3-pip \
git gcc-7 g++-7
# get recent cmake
git clone -b release https://gitlab.kitware.com/cmake/cmake.git
cd cmake
./bootstrap
make
make install
cd ..
# verify cmake version, should be >=3.13 now
cmake --version
git clone https://github.com/citp/BlockSci.git
cd BlockSci
mkdir release
Expand All @@ -37,7 +47,6 @@ Ubuntu 16.04
cd ..
CC=gcc-7 CXX=g++-7 sudo -H pip3 install -e blockscipy
Mac OS 10.13
--------------
Expand Down

0 comments on commit ef8dad4

Please sign in to comment.