linux编译folly

sudo apt  install autoconf

sudo apt install libtool

sudo apt install libgtest-dev

sudo apt install libgflags-dev

sudo apt install libgoogle-glog-dev


git clone https://github.com/google/double-conversion.git

cd double-conversion

cmake . -DBUILD_TESTING=ON

make

sudo make install


autoreconf -ivf

./configure LDFLAGS=/usr/local/libevent-2.1.8/lib/ CPPFLAGS=/usr/local/libevent-2.1.8/include/ --prefix=/usr/local/folly --with-openssl=/usr/local/openssl-1.1.0e --with-boost=/usr/local/boost-1.64.0

make

make check

sudo make install

你可能感兴趣的:(----c/c++)