From 9f56b8e21f4cda935f7c82bc73bbb1b9fbf7c551 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Wed, 30 Oct 2024 21:50:21 +0100 Subject: [PATCH 1/5] Add Fedora 41 to list of supported distributions --- README.md | 2 +- cmake_targets/tools/build_helper | 1 + doc/system_requirements.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc5dd23e62..9251eedf58 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Supported OS Ubuntu 24 Supported OS RHEL8 Supported OS RELH9 - Supported OS Fedora 40 + Supported OS Fedora 41

diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper index 9c11fced56..6a9d7a6fd2 100755 --- a/cmake_targets/tools/build_helper +++ b/cmake_targets/tools/build_helper @@ -107,6 +107,7 @@ check_supported_distribution() { "ubuntu22.04") return 0 ;; "ubuntu20.04") return 0 ;; "debian11") return 0 ;; + "fedora41") return 0 ;; "fedora40") return 0 ;; "rhel8.2") return 0 ;; "rhel8.3") return 0 ;; diff --git a/doc/system_requirements.md b/doc/system_requirements.md index f231f9c398..c9f73bc63d 100644 --- a/doc/system_requirements.md +++ b/doc/system_requirements.md @@ -35,7 +35,7 @@ This document describes the minimal and performant system requirements for OpenA |-----------------| |Ubuntu 20/22/24 | |RHEL 9 | -|Fedora 40 | +|Fedora 41 | |Debian 11 | |Rocky 9 | From a93ad34c6b07c9dd38c3fd6fe9a51181b7b5ee83 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Wed, 30 Oct 2024 21:51:54 +0100 Subject: [PATCH 2/5] Remove non-required dependencies from install list openssl and libffi are not required for building OAI. Remove them. --- cmake_targets/tools/build_helper | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper index 6a9d7a6fd2..2fd7a0a6b1 100755 --- a/cmake_targets/tools/build_helper +++ b/cmake_targets/tools/build_helper @@ -613,13 +613,11 @@ check_install_oai_software() { git \ pkgconfig \ libconfig-devel \ - libffi-devel \ lksctp-tools \ lksctp-tools-devel \ libtool \ ninja-build \ make \ - openssl \ openssl-devel \ patch \ readline-devel \ From 8d62bc38c0bd4cbbf4ca7c20f61e424e7c588f9a Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Wed, 30 Oct 2024 21:57:52 +0100 Subject: [PATCH 3/5] Remove documented but unsupported build_oai options --- cmake_targets/build_oai | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/cmake_targets/build_oai b/cmake_targets/build_oai index 5568c159d1..a867b3e32b 100755 --- a/cmake_targets/build_oai +++ b/cmake_targets/build_oai @@ -99,8 +99,6 @@ Options: Selects the transport protocol type, options: None, Ethernet, benetel4g, benetel5g, oran_fhlib_5g -P | --phy_simulators Makes the unitary tests Layer 1 simulators --S | --core_simulators - Makes the core security features unitary simulators -s | --check runs a set of auto-tests based on simulators and several compilation tests --run-group @@ -113,17 +111,8 @@ Options: Shows detailed compilation instructions in makefile --build-doxygen Builds doxygen based documentation. ---build-coverity-scan - Builds Coverity-Scan objects for upload ---disable-deadline - Disables deadline scheduler of Linux kernel (>=3.14.x). --trace-asn1c-enc-dec Output asn1c logging traces via OAI logging system. ---enable-deadline - Enable deadline scheduler of Linux kernel (>=3.14.x). ---disable-cpu-affinity - Disables CPU Affinity between UHD/TX/RX Threads (Valid only when deadline scheduler is disabled). By defaulT, CPU Affinity is enabled when not using deadline scheduler. It is enabled only with >2 CPUs. For eNB, CPU_0-> Device library (UHD), CPU_1->TX Threads, CPU_2...CPU_MAX->Rx Threads. For UE, CPU_0->Device Library(UHD), CPU_1..CPU_MAX -> All the UE threads ---enable-cpu-affinity --enable-LTTNG Enable LTTNG log. While lttng is enabled, T-Tracer will be disabled --disable-T-Tracer @@ -146,8 +135,6 @@ Options: Disable AVX512 intrinsics whatever processor capability is --noavx2 Disable AVX2 intrinsics whatever processor capability is --k | --skip-shared-libraries - Skip build for shared libraries to reduce compilation time when building frequently for debugging purposes --ninja Tell cmake to use the Ninja build system. Without, will generate make files --sanitize From d6938e7b2a3c9188597fc4e996fe78e2d01e3aa7 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Wed, 30 Oct 2024 21:58:08 +0100 Subject: [PATCH 4/5] Remove useless options: -x does nothing --- cmake_targets/build_oai | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmake_targets/build_oai b/cmake_targets/build_oai index a867b3e32b..e2aa1384d6 100755 --- a/cmake_targets/build_oai +++ b/cmake_targets/build_oai @@ -105,8 +105,6 @@ Options: runs only specified test cases specified here. This flag is only valid with -s -V | --vcd Adds a debgging facility to the binary files: GUI with major internal synchronization events --x | --xforms - Will compile with software oscilloscope features --verbose-compile Shows detailed compilation instructions in makefile --build-doxygen @@ -326,9 +324,6 @@ function main() { echo_info "Setting gtk-wave output" CMAKE_CMD="$CMAKE_CMD -DENABLE_VCD_FIFO=True" shift;; - -x | --xforms) - echo_info "Will generate the software oscilloscope features" - shift;; --verbose-compile) VERBOSE_COMPILE=1 echo_info "Will compile with verbose instructions" From 9d96326ce707a380c62e0d747b0ad826639b01c8 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 31 Oct 2024 11:38:38 +0100 Subject: [PATCH 5/5] Remove RHEL8 from list of supported distributions --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 9251eedf58..592ff13f66 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ Supported OS Ubuntu 20 Supported OS Ubuntu 22 Supported OS Ubuntu 24 - Supported OS RHEL8 Supported OS RELH9 Supported OS Fedora 41