Skip to content
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

[Feature Request] Homebrew repo for Mac Arm64 versions of needed tools for Move prover and tests #9478

Open
brmataptos opened this issue Aug 3, 2023 · 3 comments
Labels
enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@brmataptos
Copy link
Contributor

🚀 Feature Request

We need a Homebrew repo in github for Z3 and Solidity for Arm64 Macs.

Motivation

Move build stack and tests depend on older versions of a few tools (Z3 and Solidity). These are not easily available natively for Mac Arm64, as the tool makers don't have Mac Arm64 builds for those versions. Meanwhile, Homebrew has these tools for Mac Arm64, but only the latest versions. It's possible to build the old versions for Arm64 from the sources and host our own on github, making it fairly easy for new developers (or the dev_setup.sh script) to install on their machines using brew.

Additional context

While Z3 version 4.11.2 easily builds on Mac Arm64, building Solidity version "v0.8.11+commit.d7f03943" requires first installing a different old version of Z3, then patching the Solidity source code to build on Arm64. Once the Aptos Labs Homebrew repo is set up I can probably upload that.

@brmataptos brmataptos added the enhancement New feature or request label Aug 3, 2023
@brmataptos
Copy link
Contributor Author

See also #9350 and #8718.

8718 was fixed already by #8750.

9350 workaround is still pending on PR #9350.

@brmataptos
Copy link
Contributor Author

@rahxephon89 might be interested in following up on this?

@rahxephon89
Copy link
Contributor

rahxephon89 commented Sep 23, 2024

@brmataptos, instead of using homebrew, we plan to use CLI command to install prover dependencies: #14683

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants