From 088d1a0168cdf0e3ca651cf07012025ba6eab3fa Mon Sep 17 00:00:00 2001 From: Kaj Niemi Date: Mon, 9 Oct 2023 13:14:51 +0000 Subject: build: Enable building on AlmaLinux 9 AlmaLinux is identical to Rocky and can be made to work with the same build dependencies Type: feature Change-Id: I24bb8781a02c15f887c9c26cc98621e6256f4115 Signed-off-by: Kaj Niemi --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 17d633562a3..a2d8b18be3b 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ endif ifeq ($(filter ubuntu debian linuxmint,$(OS_ID)),$(OS_ID)) PKG=deb -else ifeq ($(filter rhel centos fedora opensuse-leap rocky,$(OS_ID)),$(OS_ID)) +else ifeq ($(filter rhel centos fedora opensuse-leap rocky almalinux,$(OS_ID)),$(OS_ID)) PKG=rpm endif @@ -150,6 +150,15 @@ else ifeq ($(OS_ID),rocky) RPM_DEPENDS += python3-virtualenv python3-jsonschema RPM_DEPENDS += infiniband-diags llvm clang cmake RPM_DEPENDS_GROUPS = 'Development Tools' +else ifeq ($(OS_ID),almalinux) + RPM_DEPENDS += yum-utils + RPM_DEPENDS += subunit subunit-devel + RPM_DEPENDS += openssl-devel + RPM_DEPENDS += python3-devel # needed for python3 -m pip install psutil + RPM_DEPENDS += python3-ply # for vppapigen + RPM_DEPENDS += python3-virtualenv python3-jsonschema + RPM_DEPENDS += infiniband-diags llvm clang cmake + RPM_DEPENDS_GROUPS = 'Development Tools' else ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8) RPM_DEPENDS += yum-utils RPM_DEPENDS += compat-openssl10 openssl-devel -- cgit 1.2.3-korg