hyperledger-labs / governance

Apache License 2.0
1 stars 6 forks source link

Create a New Repo to make Solang available on Brew #4

Closed LucasSte closed 1 year ago

LucasSte commented 1 year ago

Please include:

Solang is available to download via binaries in our release pages on Github. After attending a blockchain conference from Solana, @seanyoung and I noticed that having to download binaries, excluding them from MacOS quarantine and setting up path variables is too burdensome for developers. We want to make Solang available on Brew to streamline this.

We opened a pull request on brew-core repository to include our formula in Brew. Reviewers were not happy with our compilation, because we need to link Solang against Solana's LLVM fork, which contains changes that are not upstreamed to LLVM official repository. As per reviewers suggestions, we should maintain a private tap.

According to Brew documentation, we should have a repository with the syntax https://github.com/<user>/homebrew-<repo> to enable users to install our binary using the command brew install user/repo/formula. In other words, maintaining a solang.rb in https://github.com/hyperledger-labs/homebrew-solang allows us to install Solang with brew install hyperledger-labs/solang/solang or with the following commands:

# Tapping the repo
brew tap hyperledger-labs/solang
# Installing!
brew install solang
ryjones commented 1 year ago

Happy hacking!