Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Homebrew package #36
@plowman As of right now, I'm basically blocked on building from source within Homebrew (see the previously linked issue for more context). I'm going to try to deep dive over the next week but debugging OPAM/OCaml and C is a tad bit outside of my wheelhouse so I can't provide any ETA. If you want to install the pre-built binary provided by Facebook, I've made it available at my auxiliary tap: https://github.com/dambrisco/homebrew-aux
The existing PR into Homebrew is the same formula, but the maintainers have asked for a from-source build and I don't expect it'll be merged until I've managed to get that working.
The Homebrew PR has landed.
You can now install Infer via Homebrew, just do:
If you want to just target Java you can do:
or if you just want to target Clang you can do:
I think this can be closed now?
If the build process does not change, we just need to change the download URL - https://github.com/Homebrew/homebrew/blob/1e0664f4b4ab73bb74b40e4f2d9370cc579e7986/Library/Formula/infer.rb
There are a few improvements that can be made to this script, I'm not a huge fan of listing the dependencies within the script since they are already in the OPAM file. Unfortunately, you can't init an OPAM repo in the same directory a package was pinned from.