Skip to content

Commit

Permalink
fixup! feat: cartesi-machine formula
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed Sep 6, 2024
1 parent 46a2a2b commit 787acfb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Formula/cartesi-machine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,13 @@ class CartesiMachine < Formula
depends_on "lua" => :build
depends_on "openssl" => :build

resource "uarch" do
url "https://github.com/cartesi/machine-emulator/releases/download/v0.18.1/uarch-ram.bin"
sha256 "60888eed34d995be2480a456d48399c708fcd72d2d4f7e3b5a5423064e45444c"
end

patch do
url "https://github.com/cartesi/machine-emulator/releases/download/v0.18.1/add-generated-files.diff"
sha256 "5e239448f47fe33b9c13e6c4c9c605ac16b8663f396909cd57abd6e4b447f1c4"
end

def install
system "make", "UARCH_RAM_IMAGE=#{resource("uarch").cached_download}", "BREW_PREFIX=#{prefix}"
system "make", "BREW_PREFIX=#{prefix}"
system "make", "install", "PREFIX=#{prefix}"
end

Expand Down

0 comments on commit 787acfb

Please sign in to comment.