Skip to content

Commit

Permalink
[Autoupdate]: Sync [email protected] to 0.1856+94c63f31f
Browse files Browse the repository at this point in the history
  • Loading branch information
Froxcey committed Dec 30, 2023
1 parent c92a073 commit 3420ff6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Formula/z/[email protected]
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
class ZigAT012 < Formula
desc "Programming language designed for robustness, optimality, and clarity"
homepage "https://ziglang.org/"
version "0.1849+bb0f7d55e"
version "0.1856+94c63f31f"
license "MIT"

parts = version.to_s.split(".")

if OS.mac?
if Hardware::CPU.arm? || Hardware::CPU.in_rosetta2?
url "https://ziglang.org/builds/zig-macos-aarch64-0.12.#{parts[0]}-dev.#{parts[1]}.tar.xz"
sha256 "5018aa5d23f9ac6d390bde38534cee44e6efe3536150ec45d594c1679d189525"
sha256 "f9a46a116f328d2f9babb4337365ca7001eb2019258cb3c9a1b521a2ab7467aa"
elsif Hardware::CPU.avx2?
url "https://ziglang.org/builds/zig-macos-x86_64-0.12.#{parts[0]}-dev.#{parts[1]}.tar.xz"
sha256 "81f1ebac0433b97d55d3daa3b52ed87d400bc4817c85e08ab2fb74df7768bca4"
sha256 "c5412e40c4684d21a4fb4217be2dfab2c705b479bfcc9347cbec36f91e01a85a"
else
odie "Unsupported MacOS architecture."
end
elsif OS.linux?
if Hardware::CPU.arm?
url "https://ziglang.org/builds/zig-linux-aarch64-0.12.#{parts[0]}-dev.#{parts[1]}.tar.xz"
sha256 "cad4db1ce7890425d0f070f91ee3c726654c8bb5f9fddb85c913175eff0f4689"
sha256 "868f3d0e23a8566acf365eba80597d62dfa52323064440de0d5ce763f2094c98"
elsif Hardware::CPU.avx2?
url "https://ziglang.org/builds/zig-linux-x86_64-0.12.#{parts[0]}-dev.#{parts[1]}.tar.xz"
sha256 "52edf713fd4fe88706ddf5d5fbe21a7531a2ee9aabfd80ea6a95c7719e29139a"
sha256 "fc129e2e14c8cd5d3d6d8f4f7497f488bc296f801f79f0bc7c485a91c3b4c20e"
else
odie "Unsupported Linux architecture."
end
Expand Down

0 comments on commit 3420ff6

Please sign in to comment.