- remove all no more required patches - backport 2 patches to fix failures induces by missing headers - add dependency to SPDLOG - add pybind dependency where python is set Note: - Since gnuradio 3.10 swig was replaced by pybind. Now python libraries, bindings and python wrappers are produces using pybind: this why python-pybind is a buildtime dependency. As mentionned in [1], this one is a stagging only package: headers must be into staging directory, so it can't be host and at the same time since this package provides only headers and .cmake files nothing has to be installed into the target directory. A select is required because it's not an host package and GNURADIO_DEPENDENCIES is updated with python-pybind to have pybind present before gnuradio's build. - host-python-numpy is now required since some cpp bindings uses numpy's functions directly. python-numpy (target package) is left required because python blocks and wrappers needs this library at runtime. [1] http://lists.busybox.net/pipermail/buildroot/2022-October/653030.html Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From 45fe4ac55ad88b6793d225e676205c30388ec138 Mon Sep 17 00:00:00 2001
|
|
From: Ryan Volz <ryan.volz@gmail.com>
|
|
Date: Fri, 16 Sep 2022 21:05:51 -0400
|
|
Subject: [PATCH 1/2] blocks: Including missing <vector> in blockinterleaver.
|
|
|
|
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
[Retrieved (and backported) from:
|
|
https://github.com/gnuradio/gnuradio/commit/463c3477549b26b32d9b73eef30044e97c4eee64]
|
|
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
|
|
---
|
|
gr-blocks/include/gnuradio/blocks/blockinterleaving.h | 2 +-
|
|
gr-blocks/lib/blockinterleaving.cc | 1 +
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/gr-blocks/include/gnuradio/blocks/blockinterleaving.h b/gr-blocks/include/gnuradio/blocks/blockinterleaving.h
|
|
index 9d4e0f249..df831fe5a 100644
|
|
--- a/gr-blocks/include/gnuradio/blocks/blockinterleaving.h
|
|
+++ b/gr-blocks/include/gnuradio/blocks/blockinterleaving.h
|
|
@@ -12,7 +12,7 @@
|
|
#define INCLUDED_GR_BLOCKS_BLOCKINTERLEAVING_H
|
|
|
|
#include <gnuradio/blocks/api.h>
|
|
-
|
|
+#include <vector>
|
|
|
|
namespace gr {
|
|
namespace blocks {
|
|
diff --git a/gr-blocks/lib/blockinterleaving.cc b/gr-blocks/lib/blockinterleaving.cc
|
|
index fc5873e11..768ad9ea7 100644
|
|
--- a/gr-blocks/lib/blockinterleaving.cc
|
|
+++ b/gr-blocks/lib/blockinterleaving.cc
|
|
@@ -12,6 +12,7 @@
|
|
#include <spdlog/fmt/fmt.h>
|
|
#include <algorithm>
|
|
#include <numeric>
|
|
+#include <vector>
|
|
|
|
namespace gr {
|
|
namespace blocks {
|
|
--
|
|
2.35.1
|
|
|