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

[NIT-2535] Improve Build Nitro Locally page #1284

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion arbitrum-docs/run-arbitrum-node/nitro/01-build-nitro-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zprofile && source ~/.zprofile
Install essentials:

```bash
brew install git curl make cmake npm go gvm golangci-lint wabt llvm gotestsum
brew install git curl make cmake npm go golangci-lint wabt llvm gotestsum
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc
echo 'export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"' >> ~/.zshrc
echo 'export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"' >> ~/.zshrc
npm install --global yarn
sudo mkdir -p /usr/local/bin
sudo ln -s /opt/homebrew/opt/llvm/bin/wasm-ld /usr/local/bin/wasm-ld
Expand Down Expand Up @@ -183,6 +186,16 @@ foundryup
make
```

:::info

In MacOS with Apple Silicon, warnings like the following might appear but they will not hinder the compilation process.

```
ld: warning: object file was built for newer 'macOS' version (14.4) than being linked (14.0)
```

:::

### Step 9. Produce binaries

```bash
Expand Down