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 There is a bootstrap script if you use Homebrew (http://brew.sh/). At the time
73 of writing (OS X Yosemite 10.10.1) the default compiler (clang) has some
74 issues building, but gcc 4.9.2 from Homebrew works fine. (This is taken care
75 of by the bootstrap script.)
79 ./bootstrap-osx-homebrew.sh
84 Other Linux distributions
85 -------------------------
87 - double-conversion (https://github.com/floitsch/double-conversion/)
89 Download and build double-conversion.
90 You may need to tell configure where to find it.
92 [double-conversion/] `ln -s src double-conversion`
94 [folly/] `./configure LDFLAGS=-L$DOUBLE_CONVERISON_HOME/ CPPFLAGS=-I$DOUBLE_CONVERISON_HOME/`
96 [folly/] `LD_LIBRARY_PATH=$DOUBLE_CONVERISON_HOME/ make`
98 - additional platform specific dependencies:
114 - scons (for double-conversion)