Skip to content

Commit

Permalink
add first bottles for apple silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeamer committed Jan 12, 2024
1 parent 1ab236b commit 4be2682
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Build the toolchain:

$ brew install riscv-tools

If you have macOS Sonoma (14), `riscv-tools` will be installed from precompiled binaries. If you do not have Ventura (for x86), `riscv-tools` will be built from source. Note building from source will require approximately 6.5 GB for all of the source and intermediate build files. It builds with the default compiler (clang), but you can specify another compiler on the command line. For example:
If you have macOS Sonoma (14), `riscv-tools` will be installed from precompiled binaries. If you do not have Ventura, `riscv-tools` will be built from source. Note building from source will require approximately 6.5 GB for all of the source and intermediate build files. It builds with the default compiler (clang), but you can specify another compiler on the command line. For example:

$ brew install --cc=gcc-10 riscv-tools

Expand Down
1 change: 1 addition & 0 deletions riscv-gnu-toolchain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class RiscvGnuToolchain < Formula
root_url "http://riscv.org.s3.amazonaws.com/bottles"
rebuild 15
sha256 sonoma: "ef2e103e306aa3e4794d8bd5609618835e10260a44fe4502fe7d30beddf0f509"
sha256 arm64_sonoma: "0131cce13fae8b9c40d48b2b7cee3682bf1def0430281a2af7f7f8569efb93ac"
end

# enabling multilib by default, must choose to build without
Expand Down
1 change: 1 addition & 0 deletions riscv-isa-sim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class RiscvIsaSim < Formula
root_url "http://riscv.org.s3.amazonaws.com/bottles"
rebuild 17
sha256 cellar: :any, sonoma: "11f640bb01a1b3ad864ab689257e1ae684b281f035d1343d9b415761e6b4cd23"
sha256 cellar: :any, arm64_sonoma: "471cd017418fb75b8b2f6eb6e6d79952f9741b7c6c70782267aa95fedff0b58f"
end

depends_on "dtc"
Expand Down
1 change: 1 addition & 0 deletions riscv-pk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class RiscvPk < Formula
root_url "http://riscv.org.s3.amazonaws.com/bottles"
rebuild 15
sha256 cellar: :any_skip_relocation, sonoma: "45ab4dd82407aee685ffbd049ad0df0cfced02e4e3c207b4d8d2e91e4ad91351"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "bca6e44547bbc7febc10f0004a007a7c0eb99e239ae99790b83c7d82a0adfbad"
end

depends_on "gnu-sed" => :build
Expand Down

0 comments on commit 4be2682

Please sign in to comment.