Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Update dependency versions #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions setup_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash
set -e

FB_VERSION="2017.05.22.00"
ZSTD_VERSION="1.1.1"
FB_VERSION="2017.07.31.00"
WANGLE_COMMIT="e79e15163bc6cb1ee343b883ce769b8e3cbd1e96"
ZSTD_VERSION="1.3.0"

echo "This script configures ubuntu with everything needed to run beringei."
echo "It requires that you run it as root. sudo works great for that."
Expand Down Expand Up @@ -59,14 +60,14 @@ export CPPFLAGS="-I/usr/local/facebook/include"
cd /tmp

wget -O /tmp/folly-${FB_VERSION}.tar.gz https://github.com/facebook/folly/archive/v${FB_VERSION}.tar.gz
wget -O /tmp/wangle-${FB_VERSION}.tar.gz https://github.com/facebook/wangle/archive/v${FB_VERSION}.tar.gz
wget -O /tmp/wangle-${WANGLE_COMMIT}.tar.gz https://github.com/facebook/wangle/archive/${WANGLE_COMMIT}.tar.gz
wget -O /tmp/fbthrift-${FB_VERSION}.tar.gz https://github.com/facebook/fbthrift/archive/v${FB_VERSION}.tar.gz
wget -O /tmp/proxygen-${FB_VERSION}.tar.gz https://github.com/facebook/proxygen/archive/v${FB_VERSION}.tar.gz
wget -O /tmp/mstch-master.tar.gz https://github.com/no1msd/mstch/archive/master.tar.gz
wget -O /tmp/zstd-${ZSTD_VERSION}.tar.gz https://github.com/facebook/zstd/archive/v${ZSTD_VERSION}.tar.gz

tar xzvf folly-${FB_VERSION}.tar.gz
tar xzvf wangle-${FB_VERSION}.tar.gz
tar xzvf wangle-${WANGLE_COMMIT}.tar.gz
tar xzvf fbthrift-${FB_VERSION}.tar.gz
tar xzvf proxygen-${FB_VERSION}.tar.gz
tar xzvf mstch-master.tar.gz
Expand All @@ -88,7 +89,7 @@ autoreconf -ivf
make install
popd

pushd wangle-${FB_VERSION}/wangle
pushd wangle-${WANGLE_COMMIT}/wangle
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/facebook-${FB_VERSION} -DBUILD_SHARED_LIBS:BOOL=ON .
make
# Wangle tests are broken. Disabling ctest.
Expand Down