Commit Graph

16 Commits

Author SHA1 Message Date
Martin Anderseck
1af4625e84 cmake: Enable Ubuntu 26.04
These changes are required to build on Ubuntu 26.04 cleanly while still
maintaining backwards compatibility until Ubuntu 22.04.

- Set CMP0167 to NEW in UHD CMake paths that resolve Boost
- Scope policy changes with guard checks so older CMake versions remain
  compatible
- Ensure dependency resolution order applies policy before Boost
  discovery in package config
- Reduce CMake 3.30+ FindBoost policy warnings without breaking Ubuntu
  22.04-era toolchains
2026-08-03 12:55:00 +02:00
Lars Amsel
bfaa556600 Move ignore of build folders into top level
Move ignored build folder to into top level and ignore all folders
that starts with build.
2025-07-18 11:19:52 +02:00
Ciro Nishiguchi
1c79742231 utils: remove thread priority elevation
Remove UHD call to elevate thread priority to realtime from utils, and
add warning in documentation of set_thread_priority function. Setting
all threads to the same realtime priority can cause the threads to not
share access to the network interface fairly, which adversely affects
operation of the worker threads in UHD.
2019-11-26 11:49:34 -08:00
Michael Dickens
f520573c3d cmake: Use new UHDBoost.cmake in init_usrp and tools
Modifies the CMake for the following utilities:
- init_usrp (example)
- kitchen_sink
- nirio_programmer
2019-10-15 11:44:38 -07:00
Michael Dickens
cff98f5d8b kitchen_sink: fix building using c++11 2019-09-03 12:31:22 -07:00
Michael Dickens
d5cfd855be kitchen_sink: remove uhd::msg cruft removed from UHD in 21aad77c
Closes: #3479
2019-09-03 12:31:22 -07:00
Michael Dickens
da7fe8cc26 cmake: add 'project', as requested by CMake 2019-09-03 12:31:22 -07:00
Martin Braun
a69ab0c23a cmake: Update coding style to use lowercase commands
Also updates our coding style file.

Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code (with GNU compliant sed):

cmake --help-command-list | grep -v "cmake version" | while read c; do
  echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done > convert.sed \
&& git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \
'*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed

(Make sure the backslashes don't get mangled!)
2018-11-14 14:10:09 -08:00
Andrej Rode
c33928d2bb utils: add set_thread_name API call, move thread_priority to thread 2017-06-29 13:43:05 -07:00
Andrej Rode
21aad77c9c utils: introduce new logging API and remove msg API 2017-02-20 17:13:15 -08:00
Balint Seeber
586a3d3918 ks: wait one second with GPSDO for time to latch, checker thread for ref_locked 2015-07-27 18:16:14 -07:00
Balint Seeber
3fd576a265 ks: different colours for OULSD status letters, timestamp 'Stopping' message 2014-11-26 20:51:47 +01:00
Martin Braun
98013a6379 tools: Backported kitchen_sink from master 2014-11-26 20:48:15 +01:00
Martin Braun
b9303d85e2 tools: Also bumped min Boost version for kitchen sink 2014-10-25 19:01:28 +02:00
Balint Seeber
513224c7f0 ks: added RX and TX subdev spec arg options 2014-10-13 08:50:54 +02:00
Martin Braun
d61baf0aea tools: Added Balints kitchen sink debug util 2014-10-09 19:56:43 +02:00