| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes using target based setting of includes
and link libraries. This will transitively add the includes
and linking flags to dependent targets.
This is still a work in progress since only the dynamic
libraries have been touched and not all of include_directories
directives are gone yet.
cmake: remove GR_INCLUDE_SUBDIRECTORY macro
Previously this macro was used to inject subdirectories in the
current CMake namespace. This is generally undesired and pollutes the
current context.
previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS
to build both, shared libraries and static libraries.
This seems to be a construction taken over from autotools and serves
no purpuose in CMake and complicates the library building.
cmake: remove GR_LIBTOOL and la generation support
This looks like it was primarily used to support projects using
autotools, but comments state that the generated .la files aren't
compatible with autotools anyway.
cmake: Bump required CMake version to 3.8
UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial
to change
|
| |
|
|
|
|
|
|
|
| |
Currently, the library name is hard-coded to qwt-qt5 to force
disambiguation from the Qt4 version. However, when pkg-config is
invoked, other package names (e.g. qwt) are also permissable, since we
trust pkg-config to not point us to a Qt4 version of Qwt.
|
|
|
|
|
|
| |
Qt5 is now required. Note that many applications and examples requiring
Qt are currently broken, this does not fix any of them, it just sets up
our CMake environment so we can start fixing them.
|