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