| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Jeff Long <willcode4@gmail.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* gnuradio: replace deprecated distutils
Check if python packaging is available
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* Add packaging requirement
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
| |
* cmake: Maintain compiler settings at one point.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
|
|
| |
also: enable formerly disabled qa_logger tests
This replaces log4cpp with spdlog.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
| |
This is a guess, but it seems SoapySDR was exporting its C++ standard (C++11).
This led to problems when using C++17 features in gr-soapy
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
(cherry picked from commit 79d7e06e40513f2f15d904d5d7dbd323aadc8767)
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
| |
Fix provided in issue by jwmelto
Signed-off-by: Jeff Long <willcode4@gmail.com>
|
|
|
|
| |
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
|
|
|
|
| |
The check checked for one version and reported another.
Signed-off-by: Martin Braun <martin@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This transitions to using Python::NumPy, pybind11::pybind11, and
libunwind::libunwind targets for building with the include
directories/libraries of NumPy, pybind11, and libunwind. The
Python::NumPy target matches what is available with the FindPython
module in CMake 3.14+ (and can be transitioned to such when the minimum
CMake version is past that). These changes have the effect of cleaning
up the include_directory paths added to the gnuradio-runtime target so
that no absolute paths are used, which is helpful for relocatable
installations (e.g. conda).
Part of this change involves moving some link targets to PRIVATE since
they are not actually part of the public interface. In the case of the
python bindings, these are not exported and have no public interface for
consumption by other C++ libraries, so the switch from PUBLIC to PRIVATE
has no practical effect but could still help avoid future confusion.
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
| |
Co-authored-by: Edward Kigwana <ekigwana@scires.com>
Co-authored-by: Travis Collins <travis.collins@analog.com>
Signed-off-by: Adam Horden <adam.horden@horden.engineering>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First, this moves find_package(THRIFT) up to the gnuradio-runtime
CMakeLists.txt so that cache variables no longer have to be used to mark
the found components. This fixes an issue where the thrift-specific
headers were not installed even when thrift was enabled, because on
first run the detection was occurring AFTER the runtime include
CMakeLists.txt was evaluated. See further discussion in #2734, which
solved one issue related to this setup.
Further, even with thrift enabled, the thrift headers are not required
for OOTs to build against gnuradio-runtime. OOTs would need to take
special action to use those headers, in which case they should
detect/enable thrift on their own. Thus, this makes the change to not
add thrift as an extra dependency for OOTs and switches linking of
Thrift::thrift from PUBLIC to PRIVATE.
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
| |
Signed-off-by: Jeff Long <willcode4@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Besides being a more modern CMake style, this has the benefit of
propagating the public definitions to any consumers of the
gnuradio-runtime library, which includes OOT modules. For example, OOT
modules would previously have to know to define "NOMINMAX" on MSVC, but
now that happens transitively.
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
| |
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
|
|
|
|
|
| |
There is only one simple block in here for now, and there are probably
some doxygen issues but it builds and tests properly.
Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
|
|
|
|
|
|
|
|
|
|
| |
GNU Radio builds done with conda do path subsitution to replace the
build prefix with the installed prefix, but it struggles when multiple
path separator styles are used in the same file. This makes it so that
all of the paths that would be subsitituted use the same style (forward
slash separators) so that build prefix replacement happens correctly.
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This fix enables back 'testing-support' component which has been
disabled by a regression introduced on a3061b8f. It also removes a
variable override included in 'Make Test' GitHub workflow to workaround
this issue.
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
| |
- Modifies top-level CMake to set the min Thrift version
- Modifies FindThrift.cmake to use a version argument
Signed-off-by: Martin Braun <martin@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move BUILD_DATE to top CMakeLists so it's available in other modules. Add Z
suffix to indicate UTC.
- Add a BUILD_DATE_SHORT with just yyy-mm-dd more appropriate for man pages
- Put man pages in man/docs and give them a .in extension
- Replace version and date placeholders at cmake configure time
- Improve gnuradio-companion man page, expanding description and
updating options
- Remove help2man generated man pages, and man pages for non-existent
commands
Signed-off-by: David Pi <david.pinho@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces the path constants for the prefix, system configuration,
and preferences directories with a runtime prefix lookup based on the
gnuradio-runtime library location and relative paths from that. Boost >=
1.61 is required, but this is now compatible with the minimum version
required by GNU Radio overall.
Also use cmake-style paths instead of native paths for substitution to
avoid unescaped character problems. Windows is able to use the
forward-slash paths just fine, and this also has external benefits (e.g.
conda will do path replacement during installation and it substitutes
forward-slash paths, so this avoids mixed-slash paths).
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously a a custom python command was used to generate the build date
but this can be done with native CMake functions for all supported CMake
versions.
Additionally it's compatible with reproducible builds since CMake 3.8 as
it honors SOURCE_DATE_EPOCH set in the environment varibales.
Thanks to Sebastian Koslowski for pointing out the right way in CMake.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All of the removed `from __future__ import` were needed in older
versions of Python (mostly 2.5.x and below) but later became mandatory
in most versions of Python 3 hence are not necessary anymore.
More specifically, according to __future__.py[1]:
- unicode_literals is part of Python since versions 2.6.0 and 3.0.0;
- print_function is part of Python since versions 2.6.0 and 3.0.0;
- absolute_import is part of Python since versions 2.5.0 and 3.0.0;
- division is part of Python since versions 2.2.0 and 3.0.0;
Get rid of those unnecessary imports to slightly clean up the codebase.
[1] https://github.com/python/cpython/blob/master/Lib/__future__.py
|
| |
|
|
|
|
|
|
| |
removed if(POLICY CMP0026), if(POLICY CMP0043), if(POLICY CMP0045),
> if(POLICY CMP0046)). Compiles cleanly using Ubuntu 18.04.4 LTS
> with both CMake version 3.8 and 3.13.4.
|
|
|
|
|
| |
Remove the FindSWIG module and don't check for SWIG in the
main CMakeLists
|
| |
|