-
Notifications
You must be signed in to change notification settings - Fork 304
CentOS
Pieter Noordhuis edited this page Aug 8, 2017
·
1 revision
Compile Gloo on a vanilla CentOS instance.
These are the same for CentOS 6 and CentOS 7.
# Install basic development
sudo yum groupinstall -y 'Development Tools'
sudo yum install -y git cmake
# Install GCC 4.9
sudo yum install -y centos-release-scl
sudo yum install -y devtoolset-3-gcc-c++
git clone --recursive https://github.com/facebookincubator/gloo
# Enable devtoolset-3 to make GCC 4.9 default
. /opt/rh/devtoolset-3/enable
# Build Gloo
cd gloo
mkdir -p build
cd build
cmake ../ -DBUILD_TEST=ON
make
# Run tests
./gloo/test/test