Package: uhd / 4.8.0.0+ds1-2

rfnoc-blocks-track-runtime-abi Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From c32d2668697311670df8b9023e97b45d574566e3 Mon Sep 17 00:00:00 2001
From: "A. Maitland Bottoms" <bottoms@debian.org>
Date: Mon, 21 Dec 2020 21:17:23 -0400
Subject: [PATCH 07/11] rfnoc blocks track runtime abi

Including ABI version in paths allows multiple versions of libuhd
to be installed at once, easing transition conflicts.
---
 host/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -140,7 +140,7 @@
 set(RUNTIME_DIR bin)
 set(LIBRARY_DIR lib${LIB_SUFFIX})
 set(INCLUDE_DIR include)
-set(PKG_DATA_DIR share/uhd)
+set(PKG_DATA_DIR share/uhd/${UHD_ABI_VERSION})
 if(NOT DEFINED PKG_LIB_DIR)
     set(PKG_LIB_DIR ${LIBRARY_DIR}/uhd)
 endif()