dlink -f $(which java) | sed -e "s:/jre/bin/java::")
いろは(iroha) is ...
cmake(3.5.2)
sudo apt -y install default-jdk
sudo apt -y install default-jre
sudo apt -y install libssl-dev
# if OSX
export JAVA_HOME=$(/usr/libexec/java_home)
# if ubuntu
export JAVA_HOME=$(readlink -f $(which java) | sed -e "s:/jre/bin/java::")
export IROHA_HOME=$(pwd)/iroha
cd $IROHA_HOME
git submodule init
git submodule update
cd core/vendor/ed25519; make
cd $IROHA_HOME
cd code/vendor/leveldb; make
cd $IROHA_HOME
cd core/vendor/msgpack-c; cmake -DMSGPACK_CXX11=ON .; sudo make install
mkdir build
cd build
cmake ..
make
../test.sh