Build using conda recipe
Notice
This section of documentation describes how to run conda-build tool, update recipes and is reserved for project developers, package maintainers and other contributors. Users are recommended to build Gnuradio-limesuiteng plugin from source (See Build from source) or install as a conda package from conda package manager (See Conda package).
Important
Compared to standard build procedure, building plugin package using conda-build tool takes more time (5-8 min.) and resources. For development purposes it is advised to build from source using CMake. See Build from source.
Hint
Check out radioconda and conda environment setup. See Radioconda environment.
Recipe build steps
Gnuradio-limesuiteng plugin for GNURadio can also be built using conda recipe. To build the plugin, LimeSuiteNG conda package must be built and installed inside the current conda environment. Plugin recipe files are provided in <project>\plugins\gr-limesuiteng\.conda\
directory. To start the build process, execute the following commands:
conda activate <custom env name>
cd <repo root>\plugins\gr-limesuiteng
conda-build .conda\recipe\ -m .conda\build_config.yaml
Conda will start building package. The build_config.yaml
file alongside the -m
flag enables package build from locally stored source code. To build from git develop
branch, omit the flag and arguments. After successfull build, conda package is populated in <radioconda install dir>\envs\<your custom env>\conda-bld\win-64
directory with the following name structure gnuradio-limesuiteng-version-build_number.conda
.
Note
To store built package in another directory, add --output-folder=[path]
flag to conda-build tool. Directory must exist prior to using conda-build.
Warning
Currently gnuradio-limsuiteng plugin package cannot be built for gnuradio =3.10.12.0
, because it requires boost=1.86
package which is currently not available in conda environment. In order to pass the plugin build, user must specify gnuradio version in meta.yaml file as stated below in important note.
Important
To target a specific gnuradio version plugin build, edit the meta.yaml file inside recipe
directory. Specify required version for all entries of gnuradio package. Example: gnuradio =3.10.10.0
. If gnuradio package version is not specified, plugin will be built for the newest gnuradio version.
To use built gnuradio-limesuiteng plugin, package must be installed using the conda install command as shown below. Specified path to package must be absolute.
conda install <absolute_path>\gnuradio-limesuiteng-version-build_number.conda
Check out Plugin demonstration section for plugin demonstration.