Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikpuneet07 committed Jun 10, 2024
1 parent 4667000 commit 87bfb8c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion proxysql/build-binary-proxysql
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ set -o xtrace

if [ -f /usr/bin/yum ]; then
RHEL=$(rpm --eval %rhel)
if [[ $RHEL -eq 8 ]]; then
if [[ $RHEL -eq 9 ]]; then
sudo yum -y install python2 gnutls-devel libtool libuuid libuuid-devel perl-IPC-Cmd || true
sudo yum remove -y cmake
sudo yum -y install wget
wget https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/gcc-c++-11.4.1-2.3.el9.x86_64.rpm
wget https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/gcc-11.4.1-2.3.el9.x86_64.rpm
sudo rpm -ivh gcc-c++-11.4.1-2.3.el9.x86_64.rpm gcc-11.4.1-2.3.el9.x86_64.rpm
sudo wget https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8.tar.gz
sudo tar -zxf cmake-3.19.8.tar.gz
cd cmake-3.19.8/
Expand All @@ -22,6 +26,8 @@ if [ -f /usr/bin/yum ]; then
sudo make install
sudo ln -s /usr/local/bin/cmake /usr/bin/cmake
sudo cmake --version
gcc --version
g++ --version
fi
sudo yum -y install wget
if [[ $RHEL -eq 7 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion proxysql/qa-proxysql2-pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pipeline {
description: 'PXC version to test proxysql-admin suite',
name: 'PXC_VERSION')
choice(
choices: 'centos:7\ncentos:8\nubuntu:jammy\nubuntu:focal\ndebian:buster\ndebian:bullseye\ndebian:bookworm',
choices: 'centos:7\ncentos:8\noraclelinux:9\nubuntu:jammy\nubuntu:focal\ndebian:buster\ndebian:bullseye\ndebian:bookworm',
description: 'OS version for compilation',
name: 'DOCKER_OS')
choice(
Expand Down

0 comments on commit 87bfb8c

Please sign in to comment.