#!/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

#!/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 \
    glog-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

Fix typo on rpm package name
Fix typo on rpm package name

Summary:
Seems like glogs-devel is not a real package name.
`s/glogs-devel/glog-devel`

Reviewed By: GeniusYe

Differential Revision: D5061346

fbshipit-source-id: 0e3ccd9e793a89a77aa7993a0b20ca73594f6e62
