Skip to content

Commit

Permalink
testing centos7
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikpuneet07 committed Jun 10, 2024
1 parent 02a4500 commit 4667000
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions proxysql/build-binary-proxysql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ if [ -f /usr/bin/yum ]; then
fi
sudo yum -y install wget
if [[ $RHEL -eq 7 ]]; then
sudo yum install -y centos-release-scl
sudo yum install -y devtoolset-7-gcc-c++ --enablerepo='centos-sclo-rh'
scl enable devtoolset-7 'gcc --version' | head -1
sudo yum -y install automake bzip2 cmake3 make gcc-c++ gcc git openssl openssl-devel gnutls gnutls-devel libtool patch libuuid libuuid-devel perl-IPC-Cmd
gcc --version
g++ --version
which gcc
which g++
if [ -f /usr/bin/cmake3 ]; then
sudo mv /usr/bin/cmake /usr/bin/cmake2
sudo ln -s /usr/bin/cmake3 /usr/bin/cmake
Expand Down

0 comments on commit 4667000

Please sign in to comment.