File: rfnoc-blocks-track-runtime-abi

package info (click to toggle)
uhd 4.3.0.0%2Bds1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 175,384 kB
  • sloc: cpp: 271,145; ansic: 103,960; python: 95,906; vhdl: 55,838; tcl: 14,117; xml: 8,535; makefile: 2,706; sh: 2,432; pascal: 230; javascript: 120; csh: 94; asm: 20; perl: 11
file content (22 lines) | stat: -rw-r--r-- 724 bytes parent folder | 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
@@ -120,7 +120,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()