Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Facebook's thrift
C++ D Java Python C Ruby Other
Branch: master
Pull request Compare This branch is 1193 commits behind facebook:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
thrift
CONTRIBUTING.md
LICENSE
README.md

README.md

FBThrift: Facebook's branch of apache thrift

The main focus of this package is the new C++ server, under thrift/lib/cpp2. This repo also contains a branch of the rest of apache thrift's repo with any changes Facebook has made, however the build system only supports cpp2.

Apache thrift is at http://thrift.apache.org/

Building

For your convenience, a build script is provided for ubuntu 12.10 64-bit:

cd fbthrift/thrift ./deps.sh

It will automatically pull down folly and build it, and then configure and build thrift.

Dependencies

  • Facebook's folly library: http://www.github.com/facebook/folly

  • Ubuntu 12.10 64-bit requires the following packages:

    • autoconf
    • libtool
    • g++
    • libboost-dev-all
    • libevent-dev
    • flex
    • bison
    • libgoogle-glog-dev
    • scons
    • libkrb5-dev
    • libsnappy-dev
    • libsasl2-dev

Docs

Some docs on the new cpp2 server are at: https://github.com/facebook/fbthrift/blob/master/thrift/doc/Cpp2.md

Something went wrong with that request. Please try again.