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:
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?
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.)
This is a formula to install
gr-iio
.It requires this change to Homebrew for the
gnuradio
formula: https://github.com/Homebrew/homebrew-core/pull/65437The 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 frommaster
because it has not yet landed inupgrade-3.8
yet.Normally, a Homebrew formula should declares all of its Python package dependencies as
resource
sections to be installed bypip
, as the mainlinegr-osmosdr
formula does. However it doesn't look to me like there are any.There are two minor issues with the dependencies:
This wiki page says that building it requires
liborc-dev
on Linux, so I added theorc
dependency as well, but I can't figure out if it is actually used?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 tohomebrew-core
.)