-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improve formulae #9
Conversation
What brew and macOS versions are you building off? Tests fail in Catalina for me. |
I am on Big Sur, with Homebrew 2.5.11-6-g9f45814. Sorry, this was kind of a phoned-in pull request because I had to give up and move on, and it requires some tweaking. I see in TravisCI you are just installing the .pkg releases from analog.com for Some improvements:
Things that need to be improved:
|
kk thanks for the info. To be honest, the libiio and libad9361 formulae were super WIP. This is why travis-ci was just testing IIO-Scope. For IIO-Scope this was working fine with Catalina when the external dependencies libiio and libad9361 were installed. At least with the release specified. Anyway, I need to switch things to GH Actions for CI here as well. For the keg-only build do you just run:
Maybe I can add that in and you can rebase. |
- Rename i-i-o-oscilloscope to the more natural iio-oscilloscope - Invoke CMake with Homebrew's standard arguments - Fix identification of build-time vs runtime dependencies - Update packages to latest versions - Add SHA-256 checksums to verify file integrity - Add simple test cases The formulae now pass `brew audit`.
Ok I have had time to sit down and improve this. Sorry it was not great before. The new formulae now build and install both libraries and the main Unfortunately, in the latest release (v0.11) Forget about the keg-only stuff I was talking about. For the record I don't think my diagnosis of why it couldn't install into /Library/Frameworks was correct — I suspect now it is Homebrew's own sandbox profile that was restricting it. If you accept this patch, please update references in your wiki etc. to the |
Also included in this pull request is a change from Travis CI to GitHub's built in CI system. The new CI configuration tests all 3 packages on macOS Catalina (10.15). Closes #8. I was unable to test on Big Sur because Homebrew complains that the default Big Sur system image contains an outdated Xcode. I also wanted to try running |
I also have a formula for |
Thanks for the update! Had some internet issues last week but I'll review this in the next couple days. |
Edit: This patch has been rewritten, see below.
This is a quick and dirty patch to change the formulae to build keg-only. On recent systems, Homebrew does not seem to be allowed to copy into /Library/Frameworks, so this forces them to build inside their Homebrew keg.
Unfortunately I ran out of time to work on actually fixing IIO Oscilloscope.