diff --git a/arbitrum-docs/run-arbitrum-node/nitro/01-build-nitro-locally.md b/arbitrum-docs/run-arbitrum-node/nitro/01-build-nitro-locally.md index 36de744af..7f80356a0 100644 --- a/arbitrum-docs/run-arbitrum-node/nitro/01-build-nitro-locally.md +++ b/arbitrum-docs/run-arbitrum-node/nitro/01-build-nitro-locally.md @@ -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 @@ -140,6 +143,8 @@ rustup default 1.73 rustup target add wasm32-unknown-unknown --toolchain 1.73 rustup target add wasm32-wasi --toolchain 1.73 cargo install cbindgen +rustup install nightly +rustup component add rust-src --toolchain nightly ``` ### Step 7. Configure Go [1.21](https://github.com/moovweb/gvm) @@ -165,7 +170,7 @@ bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/bins source "$HOME/.gvm/scripts/gvm" gvm install go1.21 gvm use go1.21 --default -curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2 +curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.58.2 ``` If you use zsh, replace `bash` with `zsh`. @@ -176,6 +181,16 @@ If you use zsh, replace `bash` with `zsh`. 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 diff --git a/website/src/resources/globalVars.js b/website/src/resources/globalVars.js index 0650176bc..147b75d2c 100644 --- a/website/src/resources/globalVars.js +++ b/website/src/resources/globalVars.js @@ -31,7 +31,7 @@ const globalVars = { // Nitro Github references nitroRepositorySlug: 'nitro', - nitroVersionTag: 'v2.3.3', + nitroVersionTag: 'v2.3.4', nitroPathToPrecompiles: 'precompiles', nitroContractsRepositorySlug: 'nitro-contracts',