You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ To automatically install and use a version, run `solc-select use <version> --alw
30
30
31
31
### Running on ARM (Mac M1/M2)
32
32
33
-
`solc` older than 0.8.24 requires Rosetta to be installed. See the FAQ on [how to install Rosetta](#oserror-errno-86-bad-cpu-type-in-executable).
33
+
`solc-select` provides native ARM64 support for versions 0.8.5-0.8.23, and universal binary support for 0.8.24+. For versions older than 0.8.5, Rosetta is required. See the FAQ on [how to install Rosetta](#oserror-errno-86-bad-cpu-type-in-executable).
34
34
35
35
## Usage
36
36
@@ -107,10 +107,10 @@ Feel free to stop by our [Slack channel](https://empirehacking.slack.com/) for h
107
107
108
108
On newer `solc-select` versions, this might show as `solc binaries for macOS are
109
109
Intel-only. Please install Rosetta on your Mac to continue.` or `solc binaries
110
-
previous to 0.8.24 for macOS are Intel-only. Please install Rosetta on your Mac
110
+
previous to 0.8.5 for macOS are Intel-only. Please install Rosetta on your Mac
111
111
to continue.`
112
112
113
-
`solc` releases earlier than 0.8.24 require Rosetta to be installed. To see
113
+
`solc` releases earlier than 0.8.5 require Rosetta to be installed. Versions 0.8.5-0.8.23 run natively on ARM64, and 0.8.24+ use universal binaries. To see
114
114
whether you have Rosetta installed on your Mac, run
# If the binary is native to this architecture, we can run it
152
+
ifmac_binary_is_native(path):
153
+
return
154
+
143
155
raiseargparse.ArgumentTypeError(
144
-
"solc binaries previous to 0.8.24 for macOS are Intel-only. Please install Rosetta on your Mac to continue. Refer to the solc-select README for instructions."
156
+
"solc binaries previous to 0.8.5 for macOS are Intel-only. Please install Rosetta on your Mac to continue. Refer to the solc-select README for instructions."
145
157
)
146
158
# TODO: check for Linux aarch64 (e.g. RPi), presence of QEMU+binfmt
0 commit comments