1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-10-23 21:49:05 +03:00
This commit is contained in:
Leonid Fedorov
2024-08-08 16:50:26 +04:00
parent a575455a75
commit 03fbb2a9e9

View File

@@ -54,7 +54,6 @@ elif [[ ${ID} == "rocky" ]]; then
PACKAGES_SUFFIX="-DRPM=${OS_SHORTCUT}"
PACKAGES_TYPE='rpm'
dnf -y update
dnf install -y --allowerasing automake cmake curl git jq python3-devel unzip gcc
if [[ ${VERSION_ID} == "9.3" ]]; then
message "Preparing dev requirements for Rockylinux 9"
@@ -62,11 +61,7 @@ elif [[ ${ID} == "rocky" ]]; then
epel-release \
scl-utils \
yum-utils
dnf install -y --allowerasing \
mono-devel \
jemalloc-devel \
gcc-c++
dnf install -y --allowerasing gcc-c++
else
message "Preparing dev requirements for Rockylinux 8"
dnf install -y 'dnf-command(config-manager)' && dnf config-manager --set-enabled powertools
@@ -74,8 +69,10 @@ elif [[ ${ID} == "rocky" ]]; then
. /opt/rh/gcc-toolset-${GCC_VERSION}/enable
rpmkeys --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo
dnf install -y mono-devel jemalloc-devel
fi
dnf install -y --allowerasing -y automake cmake curl dnf gcc git install jemalloc-devel jq mono-devel python3-devel unzip
else
echo "Unsupported distribution. This script only supports Rocky[8|9], Ubuntu [20.04|22.04|24.04] Debian[11|12]"
fi