aboutsummaryrefslogtreecommitdiffstats
path: root/gr-wavelet (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cmake: change how test files are build when cross compilingPhilip Balister2021-12-031-0/+3
| | | | | | | | | | | | | | | | | | | | * When cross compiling gnuradio, change how the test files are built. Normally, the gnuradio QA code expects to run in the build tree. For the cross compilng case, we cannot run the QA code during the build process. The changes here allow the creation of an additional package that can be installed on a target that will run the QA code against the installed libraries. Major changes are not using full paths to test files (since they include paths that only exist on the build machine) and not setting environment variables in the shell files to force the QA code to use code in the build tree. This patch disables the C++ only tests, these need some work and then they can be added back for the cross compile case. Signed-off-by: Philip Balister <philip@balister.org>
* classic modules: use common precompiled headersMarcus Müller2021-07-191-0/+4
| | | | | | | This commit contains all the additions to gr-*/lib/CMakeLists.txt applicable to modules already present in 3.8. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* gr-channels & gr-wavelet: Free from boost! 🥳Marcus Müller2021-06-221-3/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* cmake: remove custom FindGSL moduleJosh Morman2021-03-041-1/+1
| | | | | | | | | | The in-tree FindGSL.cmake module differs from the standard cmake FindGSL in the target names that are output. (gsl::gsl vs GSL::gsl). This makes linking an OOT to something that links to gsl cause issues and requires copying in FindGSL.cmake into the OOT. Since CMake 3.8 (current project minimum) installs FindGSL, use that instead Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-192-2/+2
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-032-2/+2
|
* Add `override` for common virtual function overridesThomas Habets2020-11-033-3/+3
| | | | | | | | | | Mostly done with: ``` find -name "*_impl.h" | xargs sed -i -r '/(void forecast|int work|int general_work|bool check_topology)\(/{:back /\)/b nxt;N;b back;:nxt s/\)$|\)(;)/) override\1/g}' ``` Then I removed an incorrect `work` that this found.
* qa: run autopep8 formatting on qa python filesmormj2020-10-301-6/+9
| | | | | | find ./ -iname qa*.py | xargs autopep8 --in-place -a -a mostly formats whitespace and gets rid of trailing semicolons
* qa: remove xml file parameter causing deprecation warningsmormj2020-10-301-1/+1
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-032-2/+0
| | | | | | | | | | | | | | | | 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
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-303-3/+3
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* pybind: add hash check to binding file creation (#3472)mormj2020-06-044-4/+28
|
* wavelet: add pybind11 bindingsJosh Morman2020-06-0410-9/+260
|
* pybind: removal of swig componentsJosh Morman2020-06-043-66/+0
|
* Switch from boost pointers to std C++11 pointersThomas Habets2020-04-013-3/+3
| | | | | | | | | | | | | | | | | | | Most of this code is automated code changes: ``` set -e SUB="s/dummy/dummy/" for i in shared_ptr make_shared dynamic_pointer_cast weak_ptr enable_shared_from_this get_deleter; do SUB="$SUB;s/boost::$i/std::$i/g" done SUB="$SUB;s^#include <boost/shared_ptr.hpp>^#include <memory>^g" SUB="$SUB;s^namespace boost^namespace std^g" find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.cxx" -o -name "*.py" \) -print0 | xargs -0 sed -i "$SUB" ``` Only one manual change. In `./gr-fec/lib/fec_mtrx_impl.cc`, add `#include <algorithm>`.
* Update license header to SPDX formatdevnulling2020-01-2718-234/+18
|
* wavelet: check for correct malloc pointerValerii Zapodovnikov2020-01-151-1/+1
| | | Copy-paste mistake
* clang-format: Ordering all the includesMarcus Müller2019-08-095-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-0910-293/+270
|
* cmake: Update to modern CMake usageAndrej Rode2019-03-043-79/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* cleanup: use quotes for local includesAndrej Rode2019-02-013-6/+6
| | | | Local includes are not found if defined in angle brackets.
* cmake: remove unused *_generated_swigs syntaxAndrej Rode2019-01-071-1/+0
| | | | | these variables are always empty and are leftovers from removing gengen templates
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-317-54/+18
|\
| * cmake: remove unused generated_includes targetsAndrej Rode2018-08-261-2/+2
| |
| * Merge branch 'next' into python3Johnathan Corgan2017-03-222-10/+0
| |\ | | | | | | | | | | | | Conflicts: cmake/Modules/GrSwig.cmake
| | * Merge branch 'master' into nextJohnathan Corgan2017-03-222-10/+0
| | |\ | | | | | | | | | | | | | | | | Conflicts: gr-wxgui/lib/CMakeLists.txt
| * | | python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-263-11/+14
| |/ /
| * | cmake: nuke cpack from existenceJohnathan Corgan2016-08-035-41/+2
| | | | | | | | | | | | | | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
* | | Test: adds swig dirs to python tests to allow ctest to run on win buildsgnieboer2018-03-221-0/+6
| |/ |/|
* | cmake: add log4cpp to runtime includesBastian Bloessl2017-03-221-4/+0
| |
* | cmake: clean upBastian Bloessl2017-03-222-6/+0
|/
* cmake: Use APPLE, not matching DarwinMichael Dickens2014-10-131-3/+2
|
* cmake: follow-up to previous mergeTom Rondeau2014-08-081-1/+0
|
* Merge branch 'maint'Tom Rondeau2014-08-082-2/+0
|\ | | | | | | | | | | Conflicts: gnuradio-runtime/CMakeLists.txt gnuradio-runtime/lib/controlport/CMakeLists.txt
| * controlport: removing use of ice for a controlport rpc.Tom Rondeau2014-08-082-2/+0
| | | | | | | | This effectively disables the use of ControlPort for now until we build in a new middleware layer. The ControlPort API and interfaces exist but will function as nops for now.
* | build: better support for static libs.Tom Rondeau2014-07-181-0/+12
|/ | | | | | Now builds shared libraries with ControlPort (if ControlPort is enableed). Static libs still without ControlPort. Added proper Option and output message in cmake for Static Libs on/off.
* Merge branch 'maint'Tom Rondeau2014-07-077-33/+33
|\
| * Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-077-33/+33
| | | | | | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* | build: adds an ENABLE_STATIC_LIB option to cmake to build static (.a) versions of the libraries.Tom Rondeau2014-06-281-0/+16
|/
* Add a QA_PYTHON_EXECUTABLE variable so QA code knows what python to use when cross compiling.Philip Balister2013-12-051-1/+1
| | | | | | | | | | With this (and the prior) patch, you can mount the compile directory on the target and run the QA code (as long as the paths are the same). The qtgui tests fail if there is no X server. Volk seems to fail for hard float builds. We'll need to look at adding thes changes to gr_modtool. Signed-off-by: Philip Balister <philip@balister.org>
* Merge branch 'maint'Johnathan Corgan2013-06-291-2/+2
|\
| * wavelet: do not use unsupported compile flags for OSXMichael Dickens2013-06-291-2/+2
| |
* | Merge branch 'maint'Tom Rondeau2013-06-261-0/+6
|\|
| * wavelet: fix for -lgslcblas getting stripped out of the link flags due to -Wl,--as-needed default on newer gcc toolchains, results in missing blas symbols at runtimeTim O'Shea2013-06-261-0/+6
| |
* | Removing gruel from QA python paths.Ben Reynwar2013-06-061-1/+0
| |
* | uninstalled imports: Fixing up after merge with master.Ben Reynwar2013-06-031-1/+1
| |
* | Merged in master.Ben Reynwar2013-06-031-1/+1
|\ \
| * | build: move from using runtime_swig.i to gnuradio.i to reduce memory load while building.Tom Rondeau2013-05-231-1/+1
| | | | | | | | | | | | py_feval destructor issue needs fixing.
* | | Merged in next_docs branch.Ben Reynwar2013-05-1914-35/+35
|\| |
| * | Merge with next branch.Ben Reynwar2013-05-193-12/+24
| |\ \