From c3dbda345cd6048f87f0f65df95205dbb4c5cb8d Mon Sep 17 00:00:00 2001 From: Dylan Baros Date: Mon, 15 Aug 2022 14:40:01 -0500 Subject: [PATCH] Updated setup script to install UHD 4.2 --- setup_script.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup_script.sh b/setup_script.sh index 1f02ee0..85e87db 100755 --- a/setup_script.sh +++ b/setup_script.sh @@ -41,9 +41,9 @@ main(){ #Only get the Tag release not all changes --depth 1 mkdir -p uhd_GitSource cd uhd_GitSource - git clone --branch UHD-4.1 https://github.com/EttusResearch/uhd.git + git clone --branch UHD-4.2 https://github.com/EttusResearch/uhd.git cd uhd - git checkout 25d617cad7db69fa04699df5f93ece06b0a61199 + git checkout 321295fba49fb66ede365afbd9ef62971cdfbfca #Build the UHD driver and install it to system @@ -113,14 +113,14 @@ user_input(){ find_UHD_install(){ VAR=$(ldconfig -p | grep "libuhd.so.4") if [[ $VAR == *"libuhd"* ]]; then - if [[ $VAR == *"libuhd.so.4.1.0"* ]]; then + if [[ $VAR == *"libuhd.so.4.2.0"* ]]; then return 0 else echo "" - echo "Warning: You don't have the correct version looking for UHD4.0.0. Instead found" + echo "Warning: You don't have the correct version looking for UHD 4.2.0. Instead found" echo $VAR - tempText="Would you like to install UHD 4.1.0? " + tempText="Would you like to install UHD 4.2.0? " if user_input "$tempText"; then return 1 @@ -134,7 +134,7 @@ if [[ $VAR == *"libuhd"* ]]; then fi fi else - tempText="Would you like to install UHD 4.1.0?" + tempText="Would you like to install UHD 4.2.0?" if user_input "$tempText"; then return 1 else