use devtools g++ 4.7 to be able to compile rocksdb

pull/738/head
John Shahid 2014-07-15 15:36:53 -04:00
parent 3dfe43712c
commit 8972d738a3
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@ set -e
cd `dirname $0`
# To add devtools to the build machine, run the following commands
# cd /etc/yum.repos.d/
# http://people.centos.org/tru/devtools/devtools.repo
# yum --enablerepo=testing-devtools-6 install devtoolset-1.0
export PATH=/opt/centos/devtoolset-1.0/root/usr/bin/:$PATH
git checkout .
git pull --rebase
make clean