Help with making Alire available on Homebrew #4657
Replies: 4 comments 3 replies
-
I hope https://docs.brew.sh/Formula-Cookbook answers some of your questions. |
Beta Was this translation helpful? Give feedback.
-
Check out https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap#creating-a-tap - if you create a "custom tap", your users can install your software like this |
Beta Was this translation helpful? Give feedback.
-
These PRs might be a useful reference: I suggest starting from Homebrew/homebrew-core#77641, as that doesn't seem too far from getting into a state that can be merged. |
Beta Was this translation helpful? Give feedback.
-
@Joebeazelman https://github.com/rami3l/homebrew-tap/blob/master/alire.rb |
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
Alire is a package and build management utility for Ada development. It works across Windows, macOS, and other UNIX environments and is installable as a single executable download. In order to introduce more developers to Ada's powerful capabilities, accessibility via Homebrew's main tap is vital. It's in our mutual interest to expand the choices of developer tools and languages.
Jesper Quorning volunteered to complete this task but reached an impasse after submitting a pull request to Homebrew (see #117527). The process of building Alire from the source is a complex interaction of tools and compilers and is very brittle outside of a highly controlled build environment. Realizing the weight of this effort, Jesper couldn't commit to completing the task. Since then, I've volunteered to take over.
Fortunately, Alire's developers did an exquisite job on the build process and thoroughly documented it. The simplest way to build Alr from the source is to use Homebrew to download the GCC compiler collection, clone Alire's source from Github, set up the necessary environment variables, and execute the build scripts. I'm hoping we don't have to build the Ada compiler by leveraging the existing GCC formula.
Please advise if this approach fulfills your build-from-source requirement. Also, please provide me with any resources which detail the process. Wading through the massive amount of information to determine whether it's applicable is difficult.
Beta Was this translation helpful? Give feedback.
All reactions