下载folly
https://github.com/facebook/folly
cd ~
git clone https://github.com/facebook/folly.git
一,Requirements
folly需要gcc 4.9+ 以及C ++ 14支持编译的boost
gcc版本查询
gcc --version
发现已经安装gcc 5.4.0
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
boost安装
https://stackoverflow.com/questions/12578499/how-to-install-boost-on-ubuntu
sudo apt-get install libboost-all-dev
dpkg -S /usr/include/boost/version.hpp
cd ~
git clone