forked from facebook/folly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
63 lines (48 loc) · 1.65 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Folly: Facebook Open-source LibrarY
-----------------------------------
Folly is an open-source C++ library developed and used at Facebook.
For details, see folly/docs/Overview.md.
Folly is published on Github at https://github.com/facebook/folly; for
discussions, there is a Google group at
https://groups.google.com/d/forum/facebook-folly.
Dependencies
------------
- double-conversion (http://code.google.com/p/double-conversion/)
By default, the build tooling for double-conversion does not build
any libraries, which folly requires. To build the necessary libraries
copy folly/SConstruct.double-conversion to your double-conversion
source directory before building:
[double-conversion/] scons -f SConstruct.double-conversion
Then set CPPFLAGS/LDFLAGS so that folly can find your double-conversion
build:
[folly/] LDFLAGS=-L<double-conversion>/ CPPFLAGS=-I<double-conversion>/src/
configure ...
- googletest (Google C++ Testing Framework)
Grab gtest 1.6.0 from:
http://googletest.googlecode.com/files/gtest-1.6.0.zip
Unzip it inside of the test/ subdirectory.
- additional platform specific dependencies:
Ubuntu 12.10 64-bit
- g++
- automake
- autoconf
- autoconf-archive
- libtool
- libboost1.46-all-dev
- libgoogle-glog-dev
- libgflags-dev
- scons (for double-conversion)
- binutils-dev (optional)
- libiberty-dev (optional)
- libjemalloc-dev (optional)
Fedora 17 64-bit
- gcc
- gcc-c++
- autoconf
- autoconf-archive
- automake
- boost-devel
- libtool
- glog-devel
- gflags-devel
- scons (for double-conversion)