Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvm 19.1.0 #181351

Merged
merged 63 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
2511b1a
llvm 19.1.0
lukeshingles Aug 28, 2024
ff0d83c
universal_binary_allowlist.json: add llvm@18
lukeshingles Aug 22, 2024
b4ba373
llvm@18 18.1.8 (new formula)
lukeshingles Aug 22, 2024
8d99797
apache-arrow: revision bump (use llvm@18)
lukeshingles Sep 18, 2024
7de3641
c2rust: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
edeeb26
c3c: revision bump
lukeshingles Sep 14, 2024
efa9162
castxml: revision bump
lukeshingles Sep 14, 2024
1b3217b
ccls: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
b33df19
chapel: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
dad37e2
clang-uml: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
5c2ae77
clazy: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
ba903a7
cppinsights: update formula
lukeshingles Sep 14, 2024
c9509ed
creduce: revision bump (use llvm@18)
lukeshingles Sep 18, 2024
085c886
crystal: install wrapper script to set `LD_RUN_PATH` pointing to home…
straight-shoota Mar 13, 2024
720498b
crystalline: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
d0fd196
enzyme: revision bump
lukeshingles Sep 14, 2024
44706b0
faust: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
d8ad8d4
halide: revision bump
lukeshingles Sep 14, 2024
59d1213
include-what-you-use: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
24666bd
ispc: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
2861d20
ldc: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
481a3c0
llgo: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
e16bdc0
nvc: revision bump
lukeshingles Sep 18, 2024
34338b7
odin: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
f255186
pocl: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
51e838b
rust: revision bump (use llvm@18)
lukeshingles Sep 14, 2024
bc5d76a
spirv-llvm-translator 19.1.0
lukeshingles Sep 14, 2024
2aac61b
thrift 0.21.0
ZhongRuoyu Sep 21, 2024
ca097fd
vineyard: revision bump (use llvm@18)
lukeshingles Sep 18, 2024
a2378f1
wasmedge: revision bump
lukeshingles Sep 14, 2024
84a7521
rust: merge in `rustfmt` to avoid pre-builts
cho-m Sep 20, 2024
61446db
rustfmt: merge into `rust` due to no pre-built policy
cho-m Sep 20, 2024
d04b9ad
aptos: remove `rustfmt` dependency
cho-m Sep 20, 2024
a711759
apache-arrow: update 17.0.0_5 bottle.
carlocab Sep 23, 2024
5671f7a
aptos: update 4.2.2 bottle.
carlocab Sep 23, 2024
351b31c
c2rust: update 0.19.0_1 bottle.
carlocab Sep 23, 2024
933087f
c3c: update 0.6.2_1 bottle.
carlocab Sep 23, 2024
ef3ea56
castxml: update 0.6.8_1 bottle.
carlocab Sep 23, 2024
52cfc1e
ccls: update 0.20240202_2 bottle.
carlocab Sep 23, 2024
c6d5ebf
chapel: update 2.1.0_3 bottle.
carlocab Sep 23, 2024
f54c9bc
clang-uml: update 0.5.4_1 bottle.
carlocab Sep 23, 2024
0813fbc
clazy: update 1.12_1 bottle.
carlocab Sep 23, 2024
6cccaa4
cppinsights: update 17.0_2 bottle.
carlocab Sep 23, 2024
6ad5db0
creduce: update 2.10.0_5 bottle.
carlocab Sep 23, 2024
aa93d9c
crystal: update 1.13.3_1 bottle.
carlocab Sep 23, 2024
c5ac8fd
crystalline: update 0.14.1_1 bottle.
carlocab Sep 23, 2024
a6c7990
enzyme: update 0.0.150_1 bottle.
carlocab Sep 23, 2024
fbb32c1
faust: update 2.72.14_2 bottle.
carlocab Sep 23, 2024
e1d2525
halide: update 18.0.0_1 bottle.
carlocab Sep 23, 2024
0c1dd4f
include-what-you-use: update 0.22_1 bottle.
carlocab Sep 23, 2024
926c17a
ispc: update 1.24.0_1 bottle.
carlocab Sep 23, 2024
204c523
ldc: update 1.39.0_1 bottle.
carlocab Sep 23, 2024
c6cc64e
llgo: update 0.9.7_1 bottle.
carlocab Sep 23, 2024
aaab912
llvm: update 19.1.0 bottle.
carlocab Sep 23, 2024
4cdba1d
llvm@18: add 18.1.8 bottle.
carlocab Sep 23, 2024
3bf8857
nvc: update 1.13.3_1 bottle.
carlocab Sep 23, 2024
6c327d9
odin: update 2024-09_1 bottle.
carlocab Sep 23, 2024
83b6a7c
pocl: update 6.0_1 bottle.
carlocab Sep 23, 2024
6ac0ad6
rust: update 1.81.0_1 bottle.
carlocab Sep 23, 2024
0894c2a
spirv-llvm-translator: update 19.1.0 bottle.
carlocab Sep 23, 2024
0fbbc66
thrift: update 0.21.0 bottle.
carlocab Sep 23, 2024
3e8139b
vineyard: update 0.23.2_3 bottle.
carlocab Sep 23, 2024
7ee022f
wasmedge: update 0.14.0_2 bottle.
carlocab Sep 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2367,7 +2367,6 @@ rust
rust-analyzer
rust-parallel
rustcat
rustfmt
rustls-ffi
rustscan
rustup
Expand Down
File renamed without changes.
File renamed without changes.
22 changes: 13 additions & 9 deletions Formula/a/apache-arrow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ class ApacheArrow < Formula
mirror "https://archive.apache.org/dist/arrow/arrow-17.0.0/apache-arrow-17.0.0.tar.gz"
sha256 "9d280d8042e7cf526f8c28d170d93bfab65e50f94569f6a790982a878d8d898d"
license "Apache-2.0"
revision 4
revision 5
head "https://github.com/apache/arrow.git", branch: "main"

bottle do
sha256 cellar: :any, arm64_sequoia: "2966504797cf0e9213d4d46bf49c7648a4f11f248b3b9e16f9a2e63bf16b7993"
sha256 cellar: :any, arm64_sonoma: "7b6a3c22a210c64dbfa6714eaf39e1af777a3e89647128d2337712b8fd8ef999"
sha256 cellar: :any, arm64_ventura: "950b16ab769bafc1295ccca886ff956bf93498c3ca160b4dda44d03f9a18c132"
sha256 cellar: :any, sonoma: "aa9dca74f90e7c61bd4676e6a98baddbaaaa6a0c04371f0d73ecf9685d53efb0"
sha256 cellar: :any, ventura: "8c77ca0e8d6b747bf75edf84bfd49fa6754598bccf4284c95d58fbe8308befcb"
sha256 cellar: :any_skip_relocation, x86_64_linux: "fc11875ec70969549970725a0cf6ea4bb08d680ef4e2fa2b51cbc808b2aff258"
sha256 cellar: :any, arm64_sequoia: "9279c593cbf8b829537f022f13f9587b06dfc85626771772796f46df96a39790"
sha256 cellar: :any, arm64_sonoma: "5d3991e57162dc1a9d89d26892f8f125268f4da19e5e7c6ad694889684ef6b20"
sha256 cellar: :any, arm64_ventura: "3d7cffc5893fc206ed04e44d818298a7021b23e93e358a5f7301caa3b05cc4cc"
sha256 cellar: :any, sonoma: "04f000e1e88e0064febc52c86102a71723ed2291f1944f9f820f4a5bba270d8c"
sha256 cellar: :any, ventura: "64f8a3767b9e24c8f2a3f8aed90df98cafe19af1f8aa608764a94851cccc5426"
sha256 cellar: :any_skip_relocation, x86_64_linux: "8516105924d39b3557bf096cbc59563d50fa1b503850d2b746a1bcd265fbb5ed"
end

depends_on "boost" => :build
Expand All @@ -27,7 +27,7 @@ class ApacheArrow < Formula
depends_on "c-ares"
depends_on "glog"
depends_on "grpc"
depends_on "llvm"
depends_on "llvm@18"
depends_on "lz4"
depends_on "openssl@3"
depends_on "protobuf"
Expand All @@ -43,11 +43,15 @@ class ApacheArrow < Formula

fails_with gcc: "5"

def llvm
deps.map(&:to_formula).find { |f| f.name.match?(/^llvm(@\d+)?$/) }
end

def install
# Work around an Xcode 15 linker issue which causes linkage against LLVM's
# libunwind due to it being present in a library search path.
llvm = Formula["llvm"]
ENV.remove "HOMEBREW_LIBRARY_PATHS", llvm.opt_lib if DevelopmentTools.clang_build_version >= 1500
ENV.append "LDFLAGS", "-Wl,-rpath,#{llvm.opt_lib}" if OS.linux?

# We set `ARROW_ORC=OFF` because it fails to build with Protobuf 27.0
args = %W[
Expand Down
20 changes: 11 additions & 9 deletions Formula/a/aptos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ class Aptos < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "34a3e4997abd60172fe213f65ffa0fcee8f00df921ada7ea07aeb4d2de32b13c"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "630fee62cd288dce870873fba7376e057e4a49b6c06379105b685fb3c20efffc"
sha256 cellar: :any_skip_relocation, arm64_ventura: "634680f145c1c4fd62a1fabb46aae7d42944b21f004d4f3aa2affabe46970459"
sha256 cellar: :any_skip_relocation, sonoma: "98a354b8ba6faef706e8db6207a941d28258c0daa23b97cf12b7af342e0b3b30"
sha256 cellar: :any_skip_relocation, ventura: "81a6ea50e541bd7f0fc97fbe49ba72edd9664590331b9fba80a83a39fb352874"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f2ad14b66dd889e278df704d7abe181f07d37637a5fed8fa1a1b2f44b75ed21e"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sequoia: "383a10d2d0e0e9ff03d4c994e7c830575c1d5f2d3ef7184a1f8aab0717aac8fd"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "1235578eac1e6e0541b432f563d13dfdb0d9fce6fd9326e3a5aa722da3d7afc9"
sha256 cellar: :any_skip_relocation, arm64_ventura: "afbba60ab7449bf52e444b960d6ed35c279362cbcabd7f67c24ee41eff1f2a9f"
sha256 cellar: :any_skip_relocation, sonoma: "9631f242d87e8898ebbc6dc8aeec5f88b0577026572f0d02aeea3de44d9d1e42"
sha256 cellar: :any_skip_relocation, ventura: "78c1c494a0af2ce2d2438dafa7fa0b72720ec69eb4f28b63c8b8acd1acc15ef6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "9a729432b4dcccf8e3a7753fe5b952d34d1cfed2730fb853dfeadc127c702c0b"
end

depends_on "cmake" => :build
depends_on "rust" => :build
depends_on "rustfmt" => :build

uses_from_macos "llvm" => :build

on_linux do
Expand All @@ -39,8 +40,9 @@ class Aptos < Formula
end

def install
# FIXME: Figure out why cargo doesn't respect .cargo/config.toml's rustflags
ENV["RUSTFLAGS"] = "--cfg tokio_unstable -C force-frame-pointers=yes -C force-unwind-tables=yes"
# FIXME: Look into a different way to specify extra RUSTFLAGS in superenv as they override .cargo/config.toml
# Ref: https://github.com/Homebrew/brew/blob/master/Library/Homebrew/extend/ENV/super.rb#L65
ENV.append "RUSTFLAGS", "--cfg tokio_unstable -C force-frame-pointers=yes -C force-unwind-tables=yes"
system "cargo", "install", *std_cargo_args(path: "crates/aptos"), "--profile=cli"
end

Expand Down
17 changes: 8 additions & 9 deletions Formula/c/c2rust.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@ class C2rust < Formula
url "https://github.com/immunant/c2rust/archive/refs/tags/v0.19.0.tar.gz"
sha256 "912c28e5e289d1a9ef1e0f6c89db97eba19eda58625ca8bdc5b513fdb3c19ba4"
license "BSD-3-Clause"
revision 1

bottle do
sha256 cellar: :any, arm64_sequoia: "34a4e0a9c45c009219de7577f411f54d32ffa3ffdd0f2417a00f8b0587bad7eb"
sha256 cellar: :any, arm64_sonoma: "91ba7bf44c954d674c4d17d5c4959347a4ecec307c89c467f86c2385993e9bd6"
sha256 cellar: :any, arm64_ventura: "df6a11535c68760e4cd319d282b791d0ac53e17508bc446cb38e74f16e581862"
sha256 cellar: :any, arm64_monterey: "b153725d08d02ecf282b119fd23d9b5d8b8633719d84dae1da651babc78a6d27"
sha256 cellar: :any, sonoma: "089d4307655cbe4654cced9487e11f5cd023c462fafbf34af5ee28f1a8bd0933"
sha256 cellar: :any, ventura: "8a2ce457289df4ab8a952c5739fbb69eeac58bf23cfbe89ce8a7ed920c5be435"
sha256 cellar: :any, monterey: "46195003b9ddc8e715479cba427daa7e185a9b2cb88aec55a2323b3ee31c1277"
sha256 cellar: :any_skip_relocation, x86_64_linux: "943361f3a32563316096e1367017503c30a6b7c5ccdb666038bbf35b45f6af95"
sha256 cellar: :any, arm64_sequoia: "d9868ff52ddf26a449db237b4ecc72dafd9137c672c86744c3f480f0b69e607a"
sha256 cellar: :any, arm64_sonoma: "1c74fbca870f39ad8c8920fcbf153200a04484e333230b9ad0dba80894757936"
sha256 cellar: :any, arm64_ventura: "6903c7d307a32e0405e691e71e0915910c7acc537ab8f662b5d178530809e7f0"
sha256 cellar: :any, sonoma: "35789caa2462fabfe9fe63d63613e6afd4035173bd2c0f30a048c51ef0ee3e95"
sha256 cellar: :any, ventura: "520a8db5a7bb6e0ab226a70c24b68d7dd4c11e3af22d8c1c6fa5779f8b09e011"
sha256 cellar: :any_skip_relocation, x86_64_linux: "46f1ba002a700369c7118df22f22a61e25ee5d1d093f7173211de77e356e89ce"
end

depends_on "cmake" => [:build, :test]
depends_on "rust" => :build
depends_on "llvm"
depends_on "llvm@18"

fails_with gcc: "5"

Expand Down
15 changes: 7 additions & 8 deletions Formula/c/c3c.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class C3c < Formula
url "https://github.com/c3lang/c3c/archive/refs/tags/v0.6.2.tar.gz"
sha256 "e39f98d5a78f9d3aa8da4ce07062b4ca93d25b88107961cbd3af2b3f6bcf8e78"
license "LGPL-3.0-only"
revision 1
head "https://github.com/c3lang/c3c.git", branch: "master"

# Upstream creates releases that use a stable tag (e.g., `v1.2.3`) but are
Expand All @@ -15,14 +16,12 @@ class C3c < Formula
end

bottle do
sha256 cellar: :any, arm64_sequoia: "b38dac4258f1e9081225a61fdb0e5a27bae4d5edd00807f46c2ba5e2ac39ad0f"
sha256 cellar: :any, arm64_sonoma: "cb180a4f2deaeb13edf804482822f8c5288ef438b23f66c4827de1915dde40df"
sha256 cellar: :any, arm64_ventura: "93acc32a9a02ebbe234321dd4637646a706070bdee7890d42e6c27b662b5f36f"
sha256 cellar: :any, arm64_monterey: "72557fa0d509682eae2d080bca8805965d13346f4315bd0caa1fdb52ac12fc75"
sha256 cellar: :any, sonoma: "dfe32cca70fa147b8dc5939f237302293b9193db44508ee4271ca2fe0af9a052"
sha256 cellar: :any, ventura: "92f0cd5376894a8952ef89d28b2be048f1e558faa258226e6663b07d72b44626"
sha256 cellar: :any, monterey: "31b0c19166a07d5898b0178c129d2c8a484b127936f62d82ce28fa0a9135c6fc"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f5f5d45917d84b6db9d75d00b32473bde36bb4b9d99e6cef363031a77e444394"
sha256 cellar: :any, arm64_sequoia: "6fceff3b368580212fb57c1c31daebf31d53f7555b16d16b8a5822ed9847311b"
sha256 cellar: :any, arm64_sonoma: "57a190baa5a539f891b28fa56d7dccb0bd6169b6d9e819c0bb1467913511348d"
sha256 cellar: :any, arm64_ventura: "f30e7fb7d4e2b89579730d76d23bc815242115d8e805127565602a75597d46aa"
sha256 cellar: :any, sonoma: "6b509cd22bdbee60382b5e430e7e2961c7ac18dd4eb228667cd753122fd146f9"
sha256 cellar: :any, ventura: "efc433ad4eefc49ad65ccbf8b544cd51efc156ebad455c2f30feaf3493ded940"
sha256 cellar: :any_skip_relocation, x86_64_linux: "35aa7fa878153939fbfb9bbdcb517efced0c22b7488a52d6b0cf00b8072de953"
end

depends_on "cmake" => :build
Expand Down
15 changes: 7 additions & 8 deletions Formula/c/castxml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Castxml < Formula
url "https://github.com/CastXML/CastXML/archive/refs/tags/v0.6.8.tar.gz"
sha256 "b517a9d18ddb7f71b3b053af61fc393dd81f17911e6c6d53a85f3f523ba8ad64"
license "Apache-2.0"
revision 1
head "https://github.com/CastXML/castxml.git", branch: "master"

livecheck do
Expand All @@ -12,14 +13,12 @@ class Castxml < Formula
end

bottle do
sha256 cellar: :any, arm64_sequoia: "5af2713fd3035cf02fe7c8c97aa6532cf32c5c1933117dbf9e50544b762e498a"
sha256 cellar: :any, arm64_sonoma: "6a6ac1c558ad4289f70616bf82263fcc376a7b65457ef300a85b4b450baeb67a"
sha256 cellar: :any, arm64_ventura: "9dd34d3a642d6f223b3fc06295ddbd050c91333384109ccf5f0941dcc81350c5"
sha256 cellar: :any, arm64_monterey: "9d9d0011b3375819cd8c78a0e6ddf51852482bb924c8ee9aa72af9ddbda4092b"
sha256 cellar: :any, sonoma: "369ed34afa1b9f615dd5ea4b516db04e515040ea25fde0cebf54e3d5f08ff891"
sha256 cellar: :any, ventura: "5e37026bc8dc4853a0fb8fb7a2459895502b94a3fe473e2029ccbf29c18e494a"
sha256 cellar: :any, monterey: "1df679a58e0764b752652f1892ec23e3d254923b0bfd650adcfba85d5d5b938d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "638b5864eeeea4cf53136547610a49ba9ae8189b9429a88410e4b86f7353e959"
sha256 cellar: :any, arm64_sequoia: "c3e6096ebeb212633387dfb4079e70693de0ed8fe2e8716472aafff37893fdf9"
sha256 cellar: :any, arm64_sonoma: "64879e3d57f14f5d78eff1825bc615c3cf528d0252e358c5b9c9c63bc0425989"
sha256 cellar: :any, arm64_ventura: "3da47ccd6c2df92725b72f393a4497b0856bc6a2245ddaaecb22393c46aba3b9"
sha256 cellar: :any, sonoma: "68bcb12975621cd10264a035306e402260f707a0ad409f25600f19c4bfab1234"
sha256 cellar: :any, ventura: "caf54e3bde83c17344c9ebd6780959c241c3096152ecd0cbc62b553cd2f0bde3"
sha256 cellar: :any_skip_relocation, x86_64_linux: "497247f119be0b5baa9940d48e25ecc0b20af5f8e04a7d3cfe64e27e5cdaf3a0"
end

depends_on "cmake" => :build
Expand Down
19 changes: 9 additions & 10 deletions Formula/c/ccls.rb
carlocab marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,21 @@ class Ccls < Formula
url "https://github.com/MaskRay/ccls/archive/refs/tags/0.20240202.tar.gz"
sha256 "355ff7f5eb5f24d278dda05cccd9157e89583272d0559d6b382630171f142d86"
license "Apache-2.0"
revision 1
revision 2
head "https://github.com/MaskRay/ccls.git", branch: "master"

bottle do
sha256 arm64_sequoia: "2e70185800e918fa60402951f93c0c87328ef4b9e190ed0f7f38ef67bb4e89bf"
sha256 arm64_sonoma: "7492cb5f43e3bf65ec1a6a8aa9d24151154b02df4c63c2a791bf495b08d65a61"
sha256 arm64_ventura: "5b3c4f1003dcad16b0221032aebd2793dea4efb500678668dedcaa118870df69"
sha256 arm64_monterey: "998e41d641b206a6bfeae293dae477f08a802c5b0bf368e487e7b8b504d9f1d0"
sha256 sonoma: "417b048477613be53f4aeb16b11cd60da20163342f6643d108256325f52825b0"
sha256 ventura: "a9099ef1c527080d63783fc4620850e7bc2d93061e84c54aa706da49d024932d"
sha256 monterey: "89adaa6d420d1f21b4a176fb77ddc1236e0a102009956b5ac0efd6eb6844cd5c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "26999d25d86872987728832416459e7291fd221f916fe7678a6af06b11623150"
sha256 arm64_sequoia: "456e64f301999bde6fd6fbb722c567394889be93b89488052936f14e35f96a92"
sha256 arm64_sonoma: "62c9aa4d98c0d97dadcbde5f70d5b47725d1dc360fd2f017472baae37336fad1"
sha256 arm64_ventura: "9e105743aa472cc07f74892abe7b3a1bce9c9c0b6ab53405dfdee0548b04ef01"
sha256 sonoma: "e1e19b603b8825c9d9552a75e23a8436066b0cc7fbc22ec155c467a3e8c619cb"
sha256 ventura: "2582130416de11b29dd35833f983f2f865fea39e52f3e046b86c822f5bd47444"
sha256 cellar: :any_skip_relocation, x86_64_linux: "057d51586172d98b836683ed9e2ba3fc12abdde0b3de8451c60b73f543792cdb"
end

depends_on "cmake" => :build
depends_on "rapidjson" => :build
depends_on "llvm"
depends_on "llvm@18"
depends_on macos: :high_sierra # C++ 17 is required

fails_with gcc: "5"
Expand All @@ -38,6 +36,7 @@ def llvm
end

def install
ENV.append "LDFLAGS", "-Wl,-rpath,#{rpath(target: llvm.opt_lib)}" if OS.linux?
resource_dir = Utils.safe_popen_read(llvm.opt_bin/"clang", "-print-resource-dir").chomp
resource_dir.gsub! llvm.prefix.realpath, llvm.opt_prefix
system "cmake", "-S", ".", "-B", "build", "-DCLANG_RESOURCE_DIR=#{resource_dir}", *std_cmake_args
Expand Down
18 changes: 8 additions & 10 deletions Formula/c/chapel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,23 @@ class Chapel < Formula
url "https://github.com/chapel-lang/chapel/releases/download/2.1.0/chapel-2.1.0.tar.gz"
sha256 "72593c037505dd76e8b5989358b7580a3fdb213051a406adb26a487d26c68c60"
license "Apache-2.0"
revision 2
revision 3
head "https://github.com/chapel-lang/chapel.git", branch: "main"

bottle do
sha256 arm64_sequoia: "2d9ed5b132c2dd7ee095a4a5e4edf2cdbe573232d94403e7fa2b4d1b55c801e7"
sha256 arm64_sonoma: "8fef36b23b39444d16b245ebdbe8db4e9eacf700237c9a45b855481147bf38ec"
sha256 arm64_ventura: "9e8107f9f7a48cfd519ae6a240ad2b21a5a380d40177b7bcef8126b03447c053"
sha256 arm64_monterey: "1cba37d433a5b4a893f9b220cf5ca0434bca0bfa383e7724ee71096a6598fc8f"
sha256 sonoma: "d4d8a4f514115690e1c7968f239e0449e3e0a55094e90dc5a857892eeb588c55"
sha256 ventura: "38afff1791b315572dbb30cc11b708ad6d222f61f7501ca86caed38d7837dfe6"
sha256 monterey: "b7860d273572a53d93fe98344995af049c97eb4e94c02d4cffcc45854bc6b106"
sha256 x86_64_linux: "a038f17093596dfb5c2edeb04719dcb2e32f5255a6c770a6ad351b69aa6ebdff"
sha256 arm64_sequoia: "2d501f1424bc9f21bfad56bcfc556cf8712e524db4fcbf57ee2cb18b59673be4"
sha256 arm64_sonoma: "c16920ce4c25f8d530ad0fb9612c8d7caaafa53246b2a747dbf5e3115c46dfe8"
sha256 arm64_ventura: "cc1f389cfd794bac980e53a42ca8e9c0255c9f73c6986adbd94722a27fe55733"
sha256 sonoma: "8cbef3e52afed90588890167c3be772a33511faaf83ff2bdde68335b657167bf"
sha256 ventura: "5e50cc8ad9a26b24125f4b725038a5a312068f7cd05273cbe01dcc56b5d50c4a"
sha256 x86_64_linux: "67c2451db78969ab1a7031ed8b6758b02da7ca728ae11ca41b8d7ff3321d2ed6"
end

depends_on "cmake"
depends_on "gmp"
depends_on "hwloc"
depends_on "jemalloc"
depends_on "llvm"
depends_on "llvm@18"
depends_on "pkg-config"
depends_on "python@3.12"

Expand Down
18 changes: 9 additions & 9 deletions Formula/c/clang-uml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,21 @@ class ClangUml < Formula
url "https://github.com/bkryza/clang-uml/archive/refs/tags/0.5.4.tar.gz"
sha256 "445ae69e9ef7dcc50d0352dcd79d8c55994a7bebd84684f95405fd81168338c4"
license "Apache-2.0"
revision 1
head "https://github.com/bkryza/clang-uml.git", branch: "master"

bottle do
sha256 cellar: :any, arm64_sequoia: "96289df11ad52077394f8173f1de3159117349c817ba11c80e2135a752304013"
sha256 cellar: :any, arm64_sonoma: "ca2ac85a447a17f124d9af35041e8135c9accf744ea4fd20f695706f8679104a"
sha256 cellar: :any, arm64_ventura: "2a883f3fde53ff4c1467348172a79dae3ee2f924006d93164af879ccb544c445"
sha256 cellar: :any, arm64_monterey: "783a0b9f50a1c5b064e1913b4d1a4910e4c4ec4a54ed1efe28ac437a00824fd0"
sha256 cellar: :any, sonoma: "200736ce230a15a5af25d76b07efff3fe91d14077756b76be8ce401a698998ad"
sha256 cellar: :any, ventura: "04014ddaf6aec03abf7611453987ba21c734b5c134d51b08a75b612a03fa44ec"
sha256 cellar: :any, monterey: "33a5a27ed337b5d8f7c8ed1f31c4b95048aa666ab4ee0453bf93bbb8a15d7571"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3f3a9baf770cdd7cec9ae43c83c558b4cf9cd49621047bbcd9e8fec5ecc42126"
sha256 cellar: :any, arm64_sequoia: "9927bed78f589e47e24c8eacf0fcb3e136982dfe4f3120b2cc18435dce43ac8a"
sha256 cellar: :any, arm64_sonoma: "93dca4721249fe73a856e83c43042b92341552a8904995b508a0c68c28cf554c"
sha256 cellar: :any, arm64_ventura: "98c57248f12fda4f74a6a0ed0bba7312a89f4e96c5946050a9d1bf221611c73a"
sha256 cellar: :any, sonoma: "a544e1ed6d5dc78353b4997ee5ec34704ebeae01d8d5fcdca372a9439a61f2ec"
sha256 cellar: :any, ventura: "0b8240b547f5a67695d217c0ebba55ba9b19fa2806aa9e817e19ec396c95522c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "ca0cb3bc5af05f8471c9ef49a18a9e16a0c05de75343ae90f4ea46ac6207a33e"
end

depends_on "cmake" => [:build, :test]
depends_on "pkg-config" => :build
depends_on "llvm"
depends_on "llvm@18"
depends_on "yaml-cpp"

fails_with gcc: "5"
Expand All @@ -30,6 +29,7 @@ def llvm
end

def install
ENV.append "LDFLAGS", "-Wl,-rpath,#{rpath(target: llvm.opt_lib)}" if OS.linux?
args = %w[
-DBUILD_TESTS=OFF
]
Expand Down
Loading
Loading