| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* Add missing Windows resource file
* Include in component list in GnuradioConfig.cmake
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For Homebrew, gnuradio is built against brewed Python 3.8. This means
that GR will link against that Python.
If later on the user has another Python 3 in their path, running `gnuradio`
will fail with the `Abort Trap 6` error message.
On Linux, you do not need this flag, as this is the default behaviour of
the compiler. On Mac, you need to explicitly ask for dynamic lookup.
This setting was removed in commit ab2fb35677e38a384df3f9503d1f45f64bbc0374
and this patch adds it back in.
|
|
|
|
|
|
|
|
|
|
|
| |
This quotes the SHELL variable in the resulting
shell scripts for execute the tests in the correct
environment and allows paths with spaces.
Thanks to Daniel Estévez for reporting this and providing the
correct fix.
Closes #3560
|
|
|
|
|
| |
Remove the FindSWIG module and don't check for SWIG in the
main CMakeLists
|
|
|
|
|
|
|
|
|
|
| |
When the module is used as a dependency for the docstring substitution
task, any change to any file in the module will cause the regeneration
of the bindings for the entire module and all modules that are dependent
on that one.
There is still probably a better way tie the docstring substitution into
the custom commands, per file
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This code fixes two issues:
1. The code used `::min()` in one place, and "minus infinity" in
another, for the same purpose.
2. It used minus infinity on integer types, which is undefined
behavior.
(1) seems to have been accidentally left out of
9d9ea63c45b5f314eb344a69340ef49e8edafdfa.
(2)
Section 4.9:
> The behavior is undefined if the truncated value cannot be
> represented in the destination type.
And trunc() on infinity is still infinity, which can't be represented
in integer types.
|
|
|
|
|
|
|
|
|
| |
SWIG complains about "Deprecated command line option: -modern. This
option is now always on.".
As traditional with SWIG, policy changes don't appear in any
documentation; with a bit of git blaming, I found the change to have
been introduced after SWIG 3.0.12.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GNU Radio 3.8 OOT Module Porting Guide recommends finding
GNU Radio using find_package(Gnuradio "3.8" REQUIRED). GNU Radio's
version check is currently strict, which prevents OOT modules from
building against the master branch, which carries a version number of
3.9.
To resolve this problem, I've modified the check to indicate that the
GNU Radio version is compatible with the requested version so long as
it is greater than or equal to the requested version.
If an OOT module knows that it is incompatible with GNU Radio 3.9,
it can use find_package(Gnuradio "3.8" EXACT REQUIRED) to prevent
building with versions other than 3.8.
The version check was copied from the CMake wiki:
https://gitlab.kitware.com/cmake/community/-/wikis/doc/tutorials/How-to-create-a-ProjectConfig.cmake-file#the-foobarfoobarconfigversioncmakein-file
|
|
|
|
|
| |
GR_PYTHON_CHECK_MODULE() often needs to check versions of modulues, so
we auto-import LooseVersion to maket that easier.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Update SWIG settings
- Update CMake
- Remove Python2 references
Note: This does not touch a lot of Python files, and many Python files
will still work with Python 2 after this commit. However, we won't allow
that in our CMake, and the support will be gone too.
|
|
|
|
|
| |
Going forward, everything manual-related will be consolidated into the
Doxygen manual, or the wiki.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fixes #2006
This is exactly the same logic as is used in volk. Also the same logic
used for the GR_PYTHON_RELATIVE just below ... so if it works for those
on all OSes/config, no reasons it won't work here.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
|
| |
|
| |
|
|
|
|
| |
it not
|
|
|
|
| |
ENABLE_TESTING is ON
|
| |
|
|
|
|
|
|
|
|
|
| |
codec2 version < 0.8 doesn't provide codec2/version.h header
therefore cmake discovers if it is available.
fix gr-vocoder build on ubuntu < 19.04 and debian < 10
Closes: https://github.com/gnuradio/gnuradio/pull/2858#issuecomment-549391165
|
|
|
|
|
|
|
|
|
|
|
| |
That means:
* /usr first,
* /usr/local second,
* /opt only as testament to the fact that there's hilariously
non-standard installations.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Philip Balister <philip@balister.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Adds quotes to paths to prevent issues when the
user has a space in their OOT shell paths
Slight change to #2560 which should prevent CI from
broadly failing
Fixes #2443
|
|
|
|
|
|
|
| |
Fixes bug with empty error message on a failure to find Log4Cpp
libraries.
Closes #2599
|
|
|
|
|
|
|
|
|
| |
This commit fixes issue #2515. A new CMake variable, GR_PYTHON_RELATIVE
is needed to properly create the CMake files used by OOTs when cross
compiling or using sysroot based build systems
see https://cmake.org/Bug/print_bug_page.php?bug_id=14367 for more
information
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk`
Fix typos in gnuradio-runtime/
Fix typos in gr-digital/
Fix typos in gr-qtgui/
Fix typos in gr-channels/
Fix typos in grc/
Fix typos gr-filter/
Fix typos in gr-uhd/
Fix typos in gr-blocks/
Fix typos in gr-fec/
|
|
|
|
|
| |
This includes the gr-comedi/ subdirectory, the build infrastructure and
CMake modules referencing Comedi, and the documentation.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Since only CMake 3.8 or greater is supported with this version of GNU
radio conditionals for older CMake versions are not necessary anymore
|
| |
|
|\
| |
| |
| | |
Reduce CMake code duplication needed for a OOT.
Used Python version and setting if GRC is enabled are now set in GnuradioConfig.cmake.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Initialize Python before include gnuradio-runtime
This allows to provide the GR_CHECK_PYTHON_MODULE function
to be available before Thrift tries to use it.
Consequently the include(GrPython) was removed from FindTHRIFT
|
| |
| |
| |
| |
| | |
Previously only the Target.cmake was used. This lead to thrift not being
added to the list of dependencies to call find_dependency() on.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This includes setting the Python interpreter, various installation
directories and the enabledness of specific non-CMake-visible
components.
|
| | |
|
|/
|
|
|
| |
This is mainly beauty. It does come in handy when one fiddles with the
SWIGs too much and needs to figure out which .i broke.
|
|
|
|
|
|
| |
This has been superseeded by GnuradioConfig.cmake.
Credits go to Jaroslav Skarvada and Andrej Rode for figuring this out.
|
| |
|