1 Folly: Facebook Open-source LibrarY
2 -----------------------------------
4 Folly is an open-source C++ library developed and used at Facebook.
6 For details, see 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.
16 folly requires gcc 4.8+ and a version of boost compiled with C++11 support.
18 Please download googletest from
19 https://googletest.googlecode.com/files/gtest-1.6.0.zip and unzip it in the
20 folly/test subdirectory.
25 The following packages are required (feel free to cut and paste the apt-get
28 sudo apt-get install \
36 libdouble-conversion-dev \
51 The packages listed above for Ubuntu 13.10 are required, as well as:
53 sudo apt-get install \
56 The above packages are sufficient for Ubuntu 13.10 and Ubuntu 14.04.
58 In the folly directory, run
66 Other Linux distributions
67 -------------------------
69 - double-conversion (http://code.google.com/p/double-conversion/)
71 By default, the build tooling for double-conversion does not build
72 any libraries, which folly requires. To build the necessary libraries
73 copy folly/SConstruct.double-conversion to your double-conversion
74 source directory before building:
76 [double-conversion/] scons -f SConstruct.double-conversion
78 Then set CPPFLAGS/LDFLAGS so that folly can find your double-conversion
81 [folly/] LDFLAGS=-L<double-conversion>/ CPPFLAGS=-I<double-conversion>/src/
84 - additional platform specific dependencies:
100 - scons (for double-conversion)