diff options
author | Kaj Niemi <kajtzu@a51.org> | 2023-10-09 13:14:51 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-02-19 18:19:24 +0000 |
commit | 088d1a0168cdf0e3ca651cf07012025ba6eab3fa (patch) | |
tree | c5864e11fb7d2a1550c60477470b29fbc1218876 | |
parent | 078affa92c4f21957094e3e432af55f4df10bbaf (diff) |
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 <kajtzu@a51.org>
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |