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>
This commit is contained in:
11
Makefile
11
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
|
||||
|
Reference in New Issue
Block a user