X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=README.md;h=fb6c124331f6fa2f94ac671ed7fd3046c721bdbf;hp=ab75045adc1c885a9933a223f4c24462169b2160;hb=a5a5daef1f43d6222a0261e856edd3a62f2c7b24;hpb=b85957465746e9275528ceeb4d6646094a586874 diff --git a/README.md b/README.md index ab75045a..fb6c1243 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,13 @@ Please download googletest from https://googletest.googlecode.com/files/gtest-1.7.0.zip and unzip it in the folly/test subdirectory. +Ubuntu 12.04 +------------ + +This release is old, requiring many upgrades. However, since Travis CI runs +on 12.04, `folly/build/deps_ubuntu_12.04.sh` is provided, and upgrades all +the required packages. + Ubuntu 13.10 ------------ @@ -67,20 +74,61 @@ In the folly directory, run sudo make install ``` -OS X +OS X (Homebrew) ---- -There is a bootstrap script if you use Homebrew (http://brew.sh/). At the time -of writing (OS X Yosemite 10.10.1) the default compiler (clang) has some -issues building, but gcc 4.9.2 from Homebrew works fine. (This is taken care -of by the bootstrap script.) +folly is available as a Formula and releases may be built via `brew install folly`. + +You may also use `folly/build/bootstrap-osx-homebrew.sh` to build against `master`: ``` cd folly - ./bootstrap-osx-homebrew.sh + ./build/bootstrap-osx-homebrew.sh make make check ``` +OS X (MacPorts) +---- +Install the required packages from MacPorts: + +``` + sudo port install \ + autoconf \ + automake \ + boost \ + gflags \ + git \ + google-glog \ + libevent \ + libtool \ + lz4 \ + lzma \ + scons \ + snappy \ + zlib +``` + +Download and install double-conversion: + +``` + git clone https://github.com/google/double-conversion.git + cd double-conversion + cmake -DBUILD_SHARED_LIBS=ON . + make + sudo make install +``` + +Download and install folly with the parameters listed below: + +``` + git clone https://github.com/facebook/folly.git + cd folly/folly + autoreconf -ivf + ./configure CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" + make + sudo make install +``` + Other Linux distributions ------------------------- @@ -97,7 +145,7 @@ Other Linux distributions - additional platform specific dependencies: - Fedora 17 64-bit + Fedora 21 64-bit - gcc - gcc-c++ - autoconf @@ -111,4 +159,7 @@ Other Linux distributions - zlib-devel - glog-devel - gflags-devel - - scons (for double-conversion) + - scons + - double-conversion-devel + - openssl-devel + - libevent-devel