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

Add formula for gr-iio #10

Merged
merged 2 commits into from
Dec 5, 2020
Merged

Add formula for gr-iio #10

merged 2 commits into from
Dec 5, 2020

Conversation

rgov
Copy link
Contributor

@rgov rgov commented Nov 22, 2020

This is a formula to install gr-iio.

It requires this change to Homebrew for the gnuradio formula: Homebrew/homebrew-core#65437

The formula is HEAD-only because there is no release that builds with GNU Radio 3.8, which is what Homebrew offers. There is a patch needed to fix a compilation error that I cherry-pick from master because it has not yet landed in upgrade-3.8 yet.

Normally, a Homebrew formula should declares all of its Python package dependencies as resource sections to be installed by pip, as the mainline gr-osmosdr formula does. However it doesn't look to me like there are any.

There are two minor issues with the dependencies:

  1. This wiki page says that building it requires liborc-dev on Linux, so I added the orc dependency as well, but I can't figure out if it is actually used?

  2. CMake seems to fail to detect MPIR but we build successfully anyway, so I marked it optional. This is something that probably needs to be fixed in gr-iio's CMake configuration. (This needs to be resolved before upstreaming this to homebrew-core.)

@rgov rgov force-pushed the gr-iio branch 2 times, most recently from 58441c6 to 00921d9 Compare December 3, 2020 21:58
@rgov
Copy link
Contributor Author

rgov commented Dec 3, 2020

The pull request has been updated to build gr-iio in the CI workflow. All packages are built and tested individually now.

Please see the two bullets above for potential improvements.

@tfcollins tfcollins merged commit bd89988 into tfcollins:master Dec 5, 2020
@rgov rgov deleted the gr-iio branch December 5, 2020 21:26
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.

2 participants