X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=README.md;h=0e8c98b9608d683fd5a0729ed727449ce736fb33;hp=bbaa2966edfe172023d822dab8be021216668b0b;hb=766b616c0d104cfb37a2ad13284d320f2a4db67a;hpb=04574f427983543e0bcca330a781efb950487559 diff --git a/README.md b/README.md index bbaa2966..0e8c98b9 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Folly is published on Github at https://github.com/facebook/folly #### Dependencies -folly requires gcc 4.8+ and a version of boost compiled with C++11 support. +folly requires gcc 4.9+ and a version of boost compiled with C++14 support. Please download googletest from https://github.com/google/googletest/archive/release-1.8.0.tar.gz and unpack it into the @@ -83,6 +83,19 @@ folly/test subdirectory as `gtest`: rm -f release-1.8.0.tar.gz && \ mv googletest-release-1.8.0 gtest) +#### Linking non-default boost libraries + +If you have boost installed in a non-default location, you need to be sure that +the linker and configure scripts know where to find boost. This means making +sure that the `LIBRARY_PATH` environment variable contains `/lib`, +as well as including the path explicitly when running +`./configure`: + +``` +export LIBRARY_PATH=$BOOST_ROOT/lib:$LIBRARY_PATH +./configure --with-boost=$BOOST_ROOT/lib +``` + #### Ubuntu 12.04 This release is old, requiring many upgrades. However, since Travis CI runs @@ -113,7 +126,8 @@ sudo apt-get install \ zlib1g-dev \ binutils-dev \ libjemalloc-dev \ - libssl-dev + libssl-dev \ + pkg-config ``` If advanced debugging functionality is required @@ -136,7 +150,7 @@ sudo apt-get install \ The above packages are sufficient for Ubuntu 13.10 and Ubuntu 14.04. -In the folly directory, run +In the folly directory, run: ``` autoreconf -ivf ./configure @@ -145,6 +159,10 @@ In the folly directory, run sudo make install ``` +#### Ubuntu 16.04 LTS +The packages listed above for 13.10 and 14.04 are sufficient for installation, +and the build commands remain the same. + #### OS X (Homebrew) folly is available as a Formula and releases may be built via `brew install folly`. @@ -198,6 +216,12 @@ Download and install folly with the parameters listed below: sudo make install ``` +#### Windows (Vcpkg) + +folly is available in [Vcpkg](https://github.com/Microsoft/vcpkg#vcpkg-) and releases may be built via `vcpkg install folly`. + +You may also use `vcpkg install folly --head` to build against `master`. + #### Other Linux distributions - double-conversion (https://github.com/google/double-conversion)