From 67388335412ac715e58560e093a6feb68496ee8e Mon Sep 17 00:00:00 2001 From: ilitteri Date: Mon, 17 Feb 2025 10:59:31 +0000 Subject: [PATCH 1/3] Add arm extra dep --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 666fc2270..bfdc6ae77 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,8 @@ deps: ## 🚀 Install all dependencies # Rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash + # arm64 + docker pull --platform=linux/amd64 ghcr.io/blockscout/smart-contract-verifier:v1.9.0 build: build-portal build-gateway build-op-node build-op-geth ## 🏗️ Build From 7a1630ae513974b927142509e8c1ea7d92cbec17 Mon Sep 17 00:00:00 2001 From: ilitteri Date: Mon, 17 Feb 2025 11:02:23 +0000 Subject: [PATCH 2/3] Fix --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bfdc6ae77..3116f5d29 100644 --- a/Makefile +++ b/Makefile @@ -37,8 +37,9 @@ deps: ## 🚀 Install all dependencies # Rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash - # arm64 - docker pull --platform=linux/amd64 ghcr.io/blockscout/smart-contract-verifier:v1.9.0 + if [[ "$$(uname -m)" == "arm64" ]]; then \ + docker pull --platform=linux/amd64 ghcr.io/blockscout/smart-contract-verifier:v1.9.0; \ + fi build: build-portal build-gateway build-op-node build-op-geth ## 🏗️ Build From 0c9ff7624d3eff83c063890727f7a742a1ed7eea Mon Sep 17 00:00:00 2001 From: ilitteri Date: Mon, 17 Feb 2025 11:03:15 +0000 Subject: [PATCH 3/3] Fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3116f5d29..82f68d266 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ deps: ## 🚀 Install all dependencies # Rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash - if [[ "$$(uname -m)" == "arm64" ]]; then \ + if [[ "$$(uname -m)" == "arm"* ]]; then \ docker pull --platform=linux/amd64 ghcr.io/blockscout/smart-contract-verifier:v1.9.0; \ fi