Skip to content

Commit fe5f94e

Browse files
committed
pulumi: disable CGO on Linux Arm
Signed-off-by: botantony <[email protected]>
1 parent e4a7653 commit fe5f94e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Formula/p/pulumi.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ class Pulumi < Formula
2020
depends_on "go" => :build
2121

2222
def install
23+
ENV["CGO_ENABLED"] = "0" if OS.linux? && Hardware::CPU.arm?
24+
2325
cd "./sdk" do
2426
system "go", "mod", "download"
2527
end
28+
2629
cd "./pkg" do
2730
system "go", "mod", "download"
2831
end

0 commit comments

Comments
 (0)