#!/bin/bash

. "$(dirname "$0")/deps_common.sh"

sudo yum install -y \
    openssl-devel \
    openssl-libs \
    make \
    zip \
    git \
    autoconf \
    libtool \
    gcc-c++ \
    boost \
    libevent-devel \
    libevent \
    flex \
    bison \
    scons \
    krb5-devel \
    snappy-devel \
    libgsasl-devel \
    numactl-devel \
    numactl-libs \
    cmake

# no rpm for this?
if [ ! -e double-conversion ]; then
  echo "Fetching double-conversion from git (yum failed)"
  git clone https://github.com/floitsch/double-conversion.git double-conversion
  cd double-conversion
  cmake . -DBUILD_SHARED_LIBS=ON
  sudo make install
  cd ..
fi

install_folly centos  # needs git
install_mstch centos  # needs git, cmake
install_zstd centos   # needs git
install_wangle centos

#!/bin/bash

. "$(dirname "$0")/deps_common.sh"

sudo yum install -y \
    openssl-devel \
    openssl-libs \
    make \
    zip \
    git \
    autoconf \
    libtool \
    gcc-c++ \
    boost \
    boost-devel \
    libevent-devel \
    libevent \
    flex \
    bison \
    scons \
    krb5-devel \
    snappy-devel \
    libgsasl-devel \
    numactl-devel \
    numactl-libs \
    gflags-devel \
    glogs-devel \
    cmake

# no rpm for this?
if [ ! -e double-conversion ]; then
  echo "Fetching double-conversion from git (yum failed)"
  git clone https://github.com/floitsch/double-conversion.git double-conversion
  cd double-conversion
  cmake . -DBUILD_SHARED_LIBS=ON
  sudo make install
  cd ..
fi

install_folly centos  # needs git
install_mstch centos  # needs git, cmake
install_zstd centos   # needs git
install_wangle centos

Add more dependencies required by open source thrift build
Add more dependencies required by open source thrift build

Summary: Add more dependencies required by open source thrift build

Reviewed By: eduardo-elizondo

Differential Revision: D4861646

fbshipit-source-id: a288845798a69b8f1a05a6294708f25e74ef7d15
