Skip to content

Commit

Permalink
Update setup guide for Apple M1 (#506)
Browse files Browse the repository at this point in the history
* Update setup guide for Apple M1

Remove the previous outdated advice and add  rosetta 2 requirement. See the discussion here: paritytech/substrate#10203

* Update v3/docs/01-getting-started/c-installation/index.mdx

* Update v3/docs/01-getting-started/c-installation/index.mdx

Co-authored-by: Dan Shields <[email protected]>
  • Loading branch information
aliXsed and nuke-web3 authored Nov 9, 2021
1 parent da2a706 commit 5470844
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions v3/docs/01-getting-started/c-installation/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,8 @@ sudo zypper install clang curl git openssl-devel llvm-devel libudev-devel

<Message
type={`yellow`}
title={`Information`}
text="The Apple M1 ARM system on a chip is not very well supported yet by rust, and thus you very likely will run into build errors stemming from this. There are reports that using substrate dependencies newer than the June 2021 monthly release are able to work without issue. Here is the ',
[node template `monthly-2021-05`](https://github.com/substrate-developer-hub/substrate-node-template/tree/v3.0.0%2Bmonthly-2021-05)
'that you should use as a base for building on M1s. If you decide not to use a monthly release, see
[this community contributed script](https://github.com/substrate-developer-hub/substrate-node-template/issues/179#issuecomment-843522331)
(and discussion)
for details on extra configuration steps to get things working on `v3.0.0` and below.
"
title={`Apple M1 ARM`}
text="If you have an Apple M1 ARM system on a chip, make sure that you have Apple Rosetta 2 installed through \`softwareupdate --install-rosetta\`. This is only needed to run the \`protoc\` tool during the build. The build itself and the target binaries would remain native."
/>

Open the Terminal application and execute the following commands:
Expand Down

0 comments on commit 5470844

Please sign in to comment.