#!/usr/bin/env bash

sudo apt-get install -yq libdouble-conversion-dev libssl-dev make zip git autoconf libtool g++ libboost-all-dev libevent-dev flex bison libgoogle-glog-dev scons libkrb5-dev libsnappy-dev libsasl2-dev libnuma-dev

# Change directory to location of this script
cd "$(dirname ${0})"
git clone https://github.com/facebook/folly
cd folly/folly
git fetch
git checkout v0.32.0

autoreconf --install
./configure
make -j8
cd ../..

autoreconf --install
CPPFLAGS=" -I`pwd`/folly/" LDFLAGS="-L`pwd`/folly/folly/.libs/" ./configure
make -j8

#!/usr/bin/env bash

sudo apt-get install -yq libdouble-conversion-dev libssl-dev make zip git autoconf libtool g++ libboost-all-dev libevent-dev flex bison libgoogle-glog-dev scons libkrb5-dev libsnappy-dev libsasl2-dev libnuma-dev

# Change directory to location of this script
cd "$(dirname ${0})"
git clone https://github.com/facebook/folly
cd folly/folly
git fetch
git checkout v0.37.0

autoreconf --install
./configure
make -j8
cd ../..

autoreconf --install
CPPFLAGS=" -I`pwd`/folly/" LDFLAGS="-L`pwd`/folly/folly/.libs/" ./configure
make -j8

Update folly dependency for fbthrift
Update folly dependency for fbthrift

Summary:
Last time we released fbthrift, we missed updating the dependency on folly.

I plan to push this out as a one-off diff, not updating folly + fbthrift all the
way up to where fbcode is now.

Test Plan: Built opensource fbthrift with this change

Reviewed By: alandau@fb.com

Subscribers: doug, alandau, yfeldblum

FB internal diff: D2050491

Signature: t1:2050491:1430942034:7991b9ca5ce8abebb4965f41f5a349017e2106bd
