build_oai UHD source installation: default to UHD v4.8

Use the current OAI CI default UHD version. Update the documentation to
show how to install a recent version.

Signed-off-by: Robert Schmidt <robert.schmidt@openairinterface.org>
This commit is contained in:
Robert Schmidt
2026-05-21 14:07:14 +02:00
parent 19e3cbd66a
commit 076c722eb9
2 changed files with 3 additions and 3 deletions

View File

@@ -160,8 +160,8 @@ install_usrp_uhd_driver_from_source(){
ret=$?;[[ $ret -ne 0 ]] && echo_fatal "Could not apply the TDD patch" ret=$?;[[ $ret -ne 0 ]] && echo_fatal "Could not apply the TDD patch"
fi fi
else else
git checkout tags/v4.0.0.0 git checkout tags/v4.8.0.0
git apply $OPENAIR_DIR/cmake_targets/tools/uhd-4.x-tdd-patch.diff git apply $OPENAIR_DIR/cmake_targets/tools/uhd-4.5plus-tdd-patch.diff
ret=$?;[[ $ret -ne 0 ]] && echo_fatal "Could not apply the TDD patch" ret=$?;[[ $ret -ne 0 ]] && echo_fatal "Could not apply the TDD patch"
fi fi
# Printing out the results of the patch to make sure it was properly applied # Printing out the results of the patch to make sure it was properly applied

View File

@@ -192,7 +192,7 @@ Now, when installing the pre-requisites, especially the `UHD` driver, you can no
```bash ```bash
export BUILD_UHD_FROM_SOURCE=True export BUILD_UHD_FROM_SOURCE=True
export UHD_VERSION=3.15.0.0 export UHD_VERSION=4.10.0.0
./build_oai -I -w USRP ./build_oai -I -w USRP
``` ```