Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
build
detail
docs
experimental
m4
test
Arena-inl.h
Arena.h
AtomicHashArray-inl.h
AtomicHashArray.h
AtomicHashMap-inl.h
AtomicHashMap.h
Benchmark.cpp
Benchmark.h
Bits.h
ConcurrentSkipList-inl.h
ConcurrentSkipList.h
Conv.cpp
Conv.h
DiscriminatedPtr.h
FBString.h
FBVector.h
Fingerprint.h
Foreach.h
Format-inl.h
Format.cpp
Format.h
FormatArg.h
GroupVarint.cpp
GroupVarint.h
Hash.h
Histogram-inl.h
Histogram.h
IntrusiveList.h
LICENSE
Likely.h
Logging.h
Makefile.am
Malloc.h
MapUtil.h
PackedSyncPtr.h
Portability.h
Preprocessor.h
ProducerConsumerQueue.h
README
RWSpinLock.h
Random.cpp
Random.h
Range.cpp
Range.h
SConstruct.double-conversion
ScopeGuard.h
SmallLocks.h
StlAllocator.h
String-inl.h
String.cpp
String.h
Synchronized.h
ThreadCachedArena.cpp
ThreadCachedArena.h
ThreadCachedInt.h
ThreadLocal.h
TimeoutQueue.cpp
TimeoutQueue.h
Traits.h
Unicode.cpp
Unicode.h
configure.ac
dynamic-inl.h
dynamic.cpp
dynamic.h
eventfd.h
json.cpp
json.h
small_vector.h
sorted_vector_types.h

README

Folly: Facebook Open-source LibrarY
-----------------------------------

Folly is an open-source C++ library developed and used at Facebook.

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.04 64-bit
    - g++
    - automake
    - autoconf
    - libtool
    - libboost1.46-all-dev
    - libgoogle-glog-dev
        This package has been removed from 12.04 -- use the one from 11.10
    - gflags (packages need to be downloaded from below)
        http://gflags.googlecode.com/files/libgflags-dev_2.0-1_amd64.deb
        http://gflags.googlecode.com/files/libgflags0_2.0-1_amd64.deb
    - scons (for double-conversion)

  Fedora 17 64-bit
    - gcc
    - gcc-c++
    - autoconf
    - automake
    - boost-devel
    - libtool
    - glog-devel
    - gflags-devel
    - scons (for double-conversion)
Something went wrong with that request. Please try again.