1 Folly: Facebook Open-source Library
2 -----------------------------------
4 Folly is an open-source C++ library developed and used at Facebook.
6 ###[Get Started](folly/docs/Overview.md)
8 Folly is published on Github at https://github.com/facebook/folly; for
9 discussions, there is a Google group at
10 https://groups.google.com/d/forum/facebook-folly.
15 folly requires gcc 4.8+ and a version of boost compiled with C++11 support.
17 Please download googletest from
18 https://googletest.googlecode.com/files/gtest-1.7.0.zip and unzip it in the
19 folly/test subdirectory.
24 The following packages are required (feel free to cut and paste the apt-get
28 sudo apt-get install \
36 libdouble-conversion-dev \
52 The packages listed above for Ubuntu 13.10 are required, as well as:
55 sudo apt-get install \
59 The above packages are sufficient for Ubuntu 13.10 and Ubuntu 14.04.
61 In the folly directory, run
72 folly is available as a Formula and releases may be built via `brew install folly`.
74 You may also use `folly/bootstrap-osx-homebrew.sh` to build against `master`:
78 ./bootstrap-osx-homebrew.sh
85 Install the required packages from MacPorts:
104 Download and install double-conversion:
107 git clone https://github.com/google/double-conversion.git
109 cmake -DBUILD_SHARED_LIBS=ON .
114 Download and install folly with the parameters listed below:
117 git clone https://github.com/facebook/folly.git
120 ./configure CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"
125 Other Linux distributions
126 -------------------------
128 - double-conversion (https://github.com/google/double-conversion)
130 Download and build double-conversion.
131 You may need to tell configure where to find it.
133 [double-conversion/] `ln -s src double-conversion`
135 [folly/] `./configure LDFLAGS=-L$DOUBLE_CONVERSION_HOME/ CPPFLAGS=-I$DOUBLE_CONVERSION_HOME/`
137 [folly/] `LD_LIBRARY_PATH=$DOUBLE_CONVERSION_HOME/ make`
139 - additional platform specific dependencies:
155 - scons (for double-conversion)