Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: gr-iio #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamhorden
Copy link
Member

@adamhorden adamhorden commented Jun 2, 2021

feature: gr-iio

This brings in two new Docker containers that will be used by the continuous integration Docker containers for building GNU Radio. This allows a unified approach for dependancies required for gr-iio 🤓, and pinning a known working version of dependancies.

A follow up pull request will allow bringing in the dependancies instead of building from source, such as the following example:

COPY --from=gnuradio/gr_adi_lib_iio:v0.21 /usr/include/iio.h /usr/include/iio.h

In the various containers we can just copy in the dependancies we need without building and this also gives a time saving on continuous integration builds as at the moment we do a compile from source each time.

In order for these to be used, they would need pushing to a Docker registry such as:

https://hub.docker.com/u/gnuradio

I have included some scripts that show this process of building and pushing to a Docker registry (left with comments, but the scripts can be used for local testing). But I cannot do this stage. I will happily work with someone on getting these pushed, and I am happy to maintain these going forward.

There are limited releases of:

https://github.com/analogdevicesinc/libiio

So should be easy to maintain if there was a version change.

I would need these pushing first before I can refactor the other containers.

The second container use the COPY approach for bringing in libiio dependancies for building libad9361-iio and this approach will be used in the follow up pull request for the continuous integration Docker containers but again this has the dependancy on the need to be pushed to a Docker registry.

I have started this pull request for a larger discussion, but this is the first stage to refactoring some of the continuous integration Docker containers.

These containers I was using to test gr-iio with actual hardware and I have included notes on how to use these containers with actual hardware 😁, so they have been well tested before opening this pull request.

Signed-off-by: Adam Horden [email protected]

Signed-off-by: Adam Horden <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant