-
Notifications
You must be signed in to change notification settings - Fork 548
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
Apple Silicon / M1 builds? #1104
Comments
I would like the macOS builds to have M1 support. I just don't have the expertise (or hardware) to work on this at the moment. One obstacle is that the Gqrx build currently uses gnuradio from Homebrew, which does not support M1: gqrx/.github/workflows/build.yml Line 89 in f108a29
https://formulae.brew.sh/formula/gnuradio One possibility would be to build Gqrx's dependencies from source, instead of installing them from Homebrew. This would slow down builds, but perhaps they could be sped up again using ccache. If anyone has expertise in building software with M1 support, I'd appreciate help. |
FYI (but probably doesn't help much): I tried yesterday to compile gnuradio via homebrew. It stopped when compiling volk as dependency (error when compiling volk_machine_neonv8.c. It did only state the clang command but not the actual error). |
The "volk doesn't build on M1" issue is gnuradio/volk#428 upstream, which is said to be fixed by google/cpu_features@69d3993 reported in google/cpu_features#179 with a PR in google/cpu_features#209 - which as much to say that it might be worth revisiting this issue if indeed the problems are resolved. |
I was just now able to install "volk" with Home-brew, getting this: ==> Pouring volk--2.5.1_1.arm64_monterey.bottle.tar.gz and no errors. |
Yup, and GNU Radio now installs OK ==> Pouring gnuradio--3.9.3.0_4.arm64_monterey.bottle.tar.gz |
I just installed v2.15.9 (I don't understand the version numbering) via homebrew (brew install gqrx) and it runs fine on my M1 MacBook Air. It's an Intel build.
|
I gave a quick and dirty go at building Gqrx for M1. Looking at Built and tested on macOS 12.4. Tested with RTL-SDR (USB), seems to work alright: I put together a build script from Note that I am a total noob when it comes to building apps for macOS, so I just changed things around until it worked :) |
Hey @Forst any hope of you dropping that .dmg file somewhere so I can try it? |
@danielktdoranie Here you go: https://drive.proton.me/urls/N8C7JTHZB0#HJbeqbOBA2HA. It's the same dmg from July last year, luckily I had it lying around. Be wary of running programs from strangers on the internet. I posted the build script in my earlier comment so you could reproduce the results yourself with code you can audit/verify. |
@Forst Thanks. Yeah, I need to learn to compile programs myself but I really wish the developer would put this version up on the main webpage for SDR normies like myself. Thanks for providing this! |
I see conda-forge has an osx-arm64 build: https://anaconda.org/conda-forge/gqrx Gqrx Linux builds were recently switched over to conda (#1301), so perhaps conda could be a replacement for homebrew on macOS as well. |
I am building gqrx with radioconda on macOS 12, works without problem. |
in the meantime, I switched to ARM, gqrx build and works fine with radioconda. Can I help somhow? I am not experienced with github actions, but I can record all steps from a clean macos 14 install until build. Would that help? |
i gave my attempt at this in #1388 please try out the build artifacts. looks like they are still not signed in the PR build probably for security reasons. maybe the maintainers need to trigger a rerun so the secrets will populate. my friend had trouble opening the unsigned app in their arm64 sequoia environment. |
Are there any plans to supply builds for the new architecture? Even hombrew fails (Bad CPU type in executable).
Are there any obstacles since qt6 works on aarch64?
The text was updated successfully, but these errors were encountered: