pgkdep/rhel: Disable liburing on Centos7|RHEL7

Change-Id: I9986004a2573af239286eef2fb6f67662f2598d5
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4019
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Michal Berger 2020-09-01 18:36:02 +02:00 committed by Tomasz Zawadzki
parent 8ef9f7b2af
commit 97ab0917e7

View File

@ -33,6 +33,11 @@ if [[ $ID == centos || $ID == rhel ]]; then
repos+=("https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm")
repos+=("https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm")
[[ $ID == centos ]] && repos+=("centos-release-ceph-nautilus.noarch")
# Disable liburing, see https://github.com/spdk/spdk/issues/1564
if [[ $INSTALL_LIBURING == true ]]; then
echo "Liburing not supported on ${ID}$VERSION_ID, disabling"
INSTALL_LIBURING=false
fi
fi
if [[ $VERSION_ID == 8* ]]; then
repos+=("https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm")