Skip to content
Open
Changes from all commits
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
14 changes: 12 additions & 2 deletions dev/ci-before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,24 @@
export THRIFT_VERSION=0.22.0

set -e
set -o pipefail
date
sudo apt-get update -qq
sudo apt-get install -qq --no-install-recommends build-essential pv autoconf automake libtool curl make \
g++ unzip libboost-dev libboost-test-dev libboost-program-options-dev \
g++ unzip libboost-dev libboost-test-dev libboost-program-options-dev wget \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to ensure an up to date version of wget

libevent-dev automake libtool flex bison pkg-config g++ libssl-dev xmlstarlet
date
pwd
wget -qO- https://archive.apache.org/dist/thrift/$THRIFT_VERSION/thrift-$THRIFT_VERSION.tar.gz | tar zxf -
for attempt in 1 2 3; do
if wget -nv -O- https://archive.apache.org/dist/thrift/$THRIFT_VERSION/thrift-$THRIFT_VERSION.tar.gz | tar zxf -; then
break
fi
if [[ "$attempt" -eq 3 ]]; then
echo "Failed to download thrift after ${attempt} attempts." >&2
exit 1
fi
sleep $((attempt * 5))
done
cd thrift-${THRIFT_VERSION}
chmod +x ./configure
./configure --disable-libs
Expand Down