-
Notifications
You must be signed in to change notification settings - Fork 24
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
Native compiler for Apple Silicon #258
Comments
Greetings. On one hand - there are WASM builds, that should run fine, aside from native. On the other hand, if we would like to support this, we need to change something in following lines: solc-typed-ast/src/compile/kinds/md.ts Lines 7 to 32 in 9a70060
Following logic of downloading proper compiler should work as intended: solc-typed-ast/src/compile/kinds/compiler.ts Lines 96 to 193 in 9a70060
Running # Locate cache with downloaded compilers:
sol-ast-compile --locate-compiler-cache
# Pre-download native compilers:
sol-ast-compile --download-compilers native Should result downloading of proper compilers for the current platform. Some very basic requirement is to successfully compile empty contract with native compiler: echo 'contract Test {}' | sol-ast-compile --stdin --compiler-kind native --mode sol --tree
Also we do not run tests against multiple platforms due to our time and resourse constraints. I also do not have Silicon-based hardware in my reach. Tip We would gladly accept incoming PRs and external help. |
Description
Starting from v0.8.24,
solc
binaries for macos have become compatible with Apple Silicon chips. It would be very nice to add support for them at some point.Context
You can find the related discussion here: ethereum/solidity#12291
The text was updated successfully, but these errors were encountered: