Skip to content

Instantly share code, notes, and snippets.

@ptantiku
Created May 21, 2018 12:10
Show Gist options
  • Save ptantiku/260c3a5a46b7f7ee6801998ee928e046 to your computer and use it in GitHub Desktop.
Save ptantiku/260c3a5a46b7f7ee6801998ee928e046 to your computer and use it in GitHub Desktop.
Porosity compilation steps.
# install dependencies
sudo apt install libboost-all-dev build-essential
# download source code
git clone https://github.com/comaeio/porosity.git
cd porosity/porosity/porosity/
# this is workaround file for fixing bug in libboost1.58-dev
wget https://raw.githubusercontent.com/ethereum/solidity/develop/libdevcore/boost_multiprecision_number_compare_bug_workaround.hpp
# Manual process
echo "!!! EDIT Porosity.h: so that Common.h is included above libboost !!"
# compile
make
# rename to porosity-bin
mv porosity ../../porosity-bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment