feat(oran_fhlib_5g): Make F release patch dual

Update the xran F release patch to work for Arm targets in addition to x86 targets.
This commit is contained in:
Romain Beurdouche
2025-04-04 13:26:01 +00:00
parent 54fd8ed9df
commit e12bcc964d
2 changed files with 995 additions and 51 deletions
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -19,10 +19,10 @@ add_library(oran_fhlib_5g MODULE
find_package(xran REQUIRED)
if(xran_VERSION VERSION_EQUAL 5.1.5)
target_compile_definitions(oran_fhlib_5g PRIVATE E_RELEASE)
elseif(xran_VERSION VERSION_EQUAL 6.1.1)
elseif(xran_VERSION VERSION_EQUAL 6.1.2)
target_compile_definitions(oran_fhlib_5g PRIVATE F_RELEASE)
else()
message(FATAL_ERROR "Found xran version ${xran_VERSION} but needed 5.1.5 (E release) or 6.1.1 (F release)")
message(FATAL_ERROR "Found xran version ${xran_VERSION} but needed 5.1.5 (E release) or 6.1.2 (F release)")
endif()
# Ignore xran-specific warning: we don't care/can't change the following warning, so suppress