Skip to content

Commit a3b0e17

Browse files
authored
Merge pull request #181351 from lukeshingles/llvm-19.1
llvm 19.1.0
2 parents 6a7ecef + 7ee022f commit a3b0e17

36 files changed

+786
-355
lines changed

.github/autobump.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,6 @@ rust
23672367
rust-analyzer
23682368
rust-parallel
23692369
rustcat
2370-
rustfmt
23712370
rustls-ffi
23722371
rustscan
23732372
rustup
File renamed without changes.
File renamed without changes.

Formula/a/apache-arrow.rb

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ class ApacheArrow < Formula
55
mirror "https://archive.apache.org/dist/arrow/arrow-17.0.0/apache-arrow-17.0.0.tar.gz"
66
sha256 "9d280d8042e7cf526f8c28d170d93bfab65e50f94569f6a790982a878d8d898d"
77
license "Apache-2.0"
8-
revision 4
8+
revision 5
99
head "https://github.com/apache/arrow.git", branch: "main"
1010

1111
bottle do
12-
sha256 cellar: :any, arm64_sequoia: "2966504797cf0e9213d4d46bf49c7648a4f11f248b3b9e16f9a2e63bf16b7993"
13-
sha256 cellar: :any, arm64_sonoma: "7b6a3c22a210c64dbfa6714eaf39e1af777a3e89647128d2337712b8fd8ef999"
14-
sha256 cellar: :any, arm64_ventura: "950b16ab769bafc1295ccca886ff956bf93498c3ca160b4dda44d03f9a18c132"
15-
sha256 cellar: :any, sonoma: "aa9dca74f90e7c61bd4676e6a98baddbaaaa6a0c04371f0d73ecf9685d53efb0"
16-
sha256 cellar: :any, ventura: "8c77ca0e8d6b747bf75edf84bfd49fa6754598bccf4284c95d58fbe8308befcb"
17-
sha256 cellar: :any_skip_relocation, x86_64_linux: "fc11875ec70969549970725a0cf6ea4bb08d680ef4e2fa2b51cbc808b2aff258"
12+
sha256 cellar: :any, arm64_sequoia: "9279c593cbf8b829537f022f13f9587b06dfc85626771772796f46df96a39790"
13+
sha256 cellar: :any, arm64_sonoma: "5d3991e57162dc1a9d89d26892f8f125268f4da19e5e7c6ad694889684ef6b20"
14+
sha256 cellar: :any, arm64_ventura: "3d7cffc5893fc206ed04e44d818298a7021b23e93e358a5f7301caa3b05cc4cc"
15+
sha256 cellar: :any, sonoma: "04f000e1e88e0064febc52c86102a71723ed2291f1944f9f820f4a5bba270d8c"
16+
sha256 cellar: :any, ventura: "64f8a3767b9e24c8f2a3f8aed90df98cafe19af1f8aa608764a94851cccc5426"
17+
sha256 cellar: :any_skip_relocation, x86_64_linux: "8516105924d39b3557bf096cbc59563d50fa1b503850d2b746a1bcd265fbb5ed"
1818
end
1919

2020
depends_on "boost" => :build
@@ -27,7 +27,7 @@ class ApacheArrow < Formula
2727
depends_on "c-ares"
2828
depends_on "glog"
2929
depends_on "grpc"
30-
depends_on "llvm"
30+
depends_on "llvm@18"
3131
depends_on "lz4"
3232
depends_on "openssl@3"
3333
depends_on "protobuf"
@@ -43,11 +43,15 @@ class ApacheArrow < Formula
4343

4444
fails_with gcc: "5"
4545

46+
def llvm
47+
deps.map(&:to_formula).find { |f| f.name.match?(/^llvm(@\d+)?$/) }
48+
end
49+
4650
def install
4751
# Work around an Xcode 15 linker issue which causes linkage against LLVM's
4852
# libunwind due to it being present in a library search path.
49-
llvm = Formula["llvm"]
5053
ENV.remove "HOMEBREW_LIBRARY_PATHS", llvm.opt_lib if DevelopmentTools.clang_build_version >= 1500
54+
ENV.append "LDFLAGS", "-Wl,-rpath,#{llvm.opt_lib}" if OS.linux?
5155

5256
# We set `ARROW_ORC=OFF` because it fails to build with Protobuf 27.0
5357
args = %W[

Formula/a/aptos.rb

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,18 @@ class Aptos < Formula
1212
end
1313

1414
bottle do
15-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "34a3e4997abd60172fe213f65ffa0fcee8f00df921ada7ea07aeb4d2de32b13c"
16-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "630fee62cd288dce870873fba7376e057e4a49b6c06379105b685fb3c20efffc"
17-
sha256 cellar: :any_skip_relocation, arm64_ventura: "634680f145c1c4fd62a1fabb46aae7d42944b21f004d4f3aa2affabe46970459"
18-
sha256 cellar: :any_skip_relocation, sonoma: "98a354b8ba6faef706e8db6207a941d28258c0daa23b97cf12b7af342e0b3b30"
19-
sha256 cellar: :any_skip_relocation, ventura: "81a6ea50e541bd7f0fc97fbe49ba72edd9664590331b9fba80a83a39fb352874"
20-
sha256 cellar: :any_skip_relocation, x86_64_linux: "f2ad14b66dd889e278df704d7abe181f07d37637a5fed8fa1a1b2f44b75ed21e"
15+
rebuild 1
16+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "383a10d2d0e0e9ff03d4c994e7c830575c1d5f2d3ef7184a1f8aab0717aac8fd"
17+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "1235578eac1e6e0541b432f563d13dfdb0d9fce6fd9326e3a5aa722da3d7afc9"
18+
sha256 cellar: :any_skip_relocation, arm64_ventura: "afbba60ab7449bf52e444b960d6ed35c279362cbcabd7f67c24ee41eff1f2a9f"
19+
sha256 cellar: :any_skip_relocation, sonoma: "9631f242d87e8898ebbc6dc8aeec5f88b0577026572f0d02aeea3de44d9d1e42"
20+
sha256 cellar: :any_skip_relocation, ventura: "78c1c494a0af2ce2d2438dafa7fa0b72720ec69eb4f28b63c8b8acd1acc15ef6"
21+
sha256 cellar: :any_skip_relocation, x86_64_linux: "9a729432b4dcccf8e3a7753fe5b952d34d1cfed2730fb853dfeadc127c702c0b"
2122
end
2223

2324
depends_on "cmake" => :build
2425
depends_on "rust" => :build
25-
depends_on "rustfmt" => :build
26+
2627
uses_from_macos "llvm" => :build
2728

2829
on_linux do
@@ -39,8 +40,9 @@ class Aptos < Formula
3940
end
4041

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

Formula/c/c2rust.rb

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,20 @@ class C2rust < Formula
44
url "https://github.com/immunant/c2rust/archive/refs/tags/v0.19.0.tar.gz"
55
sha256 "912c28e5e289d1a9ef1e0f6c89db97eba19eda58625ca8bdc5b513fdb3c19ba4"
66
license "BSD-3-Clause"
7+
revision 1
78

89
bottle do
9-
sha256 cellar: :any, arm64_sequoia: "34a4e0a9c45c009219de7577f411f54d32ffa3ffdd0f2417a00f8b0587bad7eb"
10-
sha256 cellar: :any, arm64_sonoma: "91ba7bf44c954d674c4d17d5c4959347a4ecec307c89c467f86c2385993e9bd6"
11-
sha256 cellar: :any, arm64_ventura: "df6a11535c68760e4cd319d282b791d0ac53e17508bc446cb38e74f16e581862"
12-
sha256 cellar: :any, arm64_monterey: "b153725d08d02ecf282b119fd23d9b5d8b8633719d84dae1da651babc78a6d27"
13-
sha256 cellar: :any, sonoma: "089d4307655cbe4654cced9487e11f5cd023c462fafbf34af5ee28f1a8bd0933"
14-
sha256 cellar: :any, ventura: "8a2ce457289df4ab8a952c5739fbb69eeac58bf23cfbe89ce8a7ed920c5be435"
15-
sha256 cellar: :any, monterey: "46195003b9ddc8e715479cba427daa7e185a9b2cb88aec55a2323b3ee31c1277"
16-
sha256 cellar: :any_skip_relocation, x86_64_linux: "943361f3a32563316096e1367017503c30a6b7c5ccdb666038bbf35b45f6af95"
10+
sha256 cellar: :any, arm64_sequoia: "d9868ff52ddf26a449db237b4ecc72dafd9137c672c86744c3f480f0b69e607a"
11+
sha256 cellar: :any, arm64_sonoma: "1c74fbca870f39ad8c8920fcbf153200a04484e333230b9ad0dba80894757936"
12+
sha256 cellar: :any, arm64_ventura: "6903c7d307a32e0405e691e71e0915910c7acc537ab8f662b5d178530809e7f0"
13+
sha256 cellar: :any, sonoma: "35789caa2462fabfe9fe63d63613e6afd4035173bd2c0f30a048c51ef0ee3e95"
14+
sha256 cellar: :any, ventura: "520a8db5a7bb6e0ab226a70c24b68d7dd4c11e3af22d8c1c6fa5779f8b09e011"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "46f1ba002a700369c7118df22f22a61e25ee5d1d093f7173211de77e356e89ce"
1716
end
1817

1918
depends_on "cmake" => [:build, :test]
2019
depends_on "rust" => :build
21-
depends_on "llvm"
20+
depends_on "llvm@18"
2221

2322
fails_with gcc: "5"
2423

Formula/c/c3c.rb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class C3c < Formula
44
url "https://github.com/c3lang/c3c/archive/refs/tags/v0.6.2.tar.gz"
55
sha256 "e39f98d5a78f9d3aa8da4ce07062b4ca93d25b88107961cbd3af2b3f6bcf8e78"
66
license "LGPL-3.0-only"
7+
revision 1
78
head "https://github.com/c3lang/c3c.git", branch: "master"
89

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

1718
bottle do
18-
sha256 cellar: :any, arm64_sequoia: "b38dac4258f1e9081225a61fdb0e5a27bae4d5edd00807f46c2ba5e2ac39ad0f"
19-
sha256 cellar: :any, arm64_sonoma: "cb180a4f2deaeb13edf804482822f8c5288ef438b23f66c4827de1915dde40df"
20-
sha256 cellar: :any, arm64_ventura: "93acc32a9a02ebbe234321dd4637646a706070bdee7890d42e6c27b662b5f36f"
21-
sha256 cellar: :any, arm64_monterey: "72557fa0d509682eae2d080bca8805965d13346f4315bd0caa1fdb52ac12fc75"
22-
sha256 cellar: :any, sonoma: "dfe32cca70fa147b8dc5939f237302293b9193db44508ee4271ca2fe0af9a052"
23-
sha256 cellar: :any, ventura: "92f0cd5376894a8952ef89d28b2be048f1e558faa258226e6663b07d72b44626"
24-
sha256 cellar: :any, monterey: "31b0c19166a07d5898b0178c129d2c8a484b127936f62d82ce28fa0a9135c6fc"
25-
sha256 cellar: :any_skip_relocation, x86_64_linux: "f5f5d45917d84b6db9d75d00b32473bde36bb4b9d99e6cef363031a77e444394"
19+
sha256 cellar: :any, arm64_sequoia: "6fceff3b368580212fb57c1c31daebf31d53f7555b16d16b8a5822ed9847311b"
20+
sha256 cellar: :any, arm64_sonoma: "57a190baa5a539f891b28fa56d7dccb0bd6169b6d9e819c0bb1467913511348d"
21+
sha256 cellar: :any, arm64_ventura: "f30e7fb7d4e2b89579730d76d23bc815242115d8e805127565602a75597d46aa"
22+
sha256 cellar: :any, sonoma: "6b509cd22bdbee60382b5e430e7e2961c7ac18dd4eb228667cd753122fd146f9"
23+
sha256 cellar: :any, ventura: "efc433ad4eefc49ad65ccbf8b544cd51efc156ebad455c2f30feaf3493ded940"
24+
sha256 cellar: :any_skip_relocation, x86_64_linux: "35aa7fa878153939fbfb9bbdcb517efced0c22b7488a52d6b0cf00b8072de953"
2625
end
2726

2827
depends_on "cmake" => :build

Formula/c/castxml.rb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Castxml < Formula
44
url "https://github.com/CastXML/CastXML/archive/refs/tags/v0.6.8.tar.gz"
55
sha256 "b517a9d18ddb7f71b3b053af61fc393dd81f17911e6c6d53a85f3f523ba8ad64"
66
license "Apache-2.0"
7+
revision 1
78
head "https://github.com/CastXML/castxml.git", branch: "master"
89

910
livecheck do
@@ -12,14 +13,12 @@ class Castxml < Formula
1213
end
1314

1415
bottle do
15-
sha256 cellar: :any, arm64_sequoia: "5af2713fd3035cf02fe7c8c97aa6532cf32c5c1933117dbf9e50544b762e498a"
16-
sha256 cellar: :any, arm64_sonoma: "6a6ac1c558ad4289f70616bf82263fcc376a7b65457ef300a85b4b450baeb67a"
17-
sha256 cellar: :any, arm64_ventura: "9dd34d3a642d6f223b3fc06295ddbd050c91333384109ccf5f0941dcc81350c5"
18-
sha256 cellar: :any, arm64_monterey: "9d9d0011b3375819cd8c78a0e6ddf51852482bb924c8ee9aa72af9ddbda4092b"
19-
sha256 cellar: :any, sonoma: "369ed34afa1b9f615dd5ea4b516db04e515040ea25fde0cebf54e3d5f08ff891"
20-
sha256 cellar: :any, ventura: "5e37026bc8dc4853a0fb8fb7a2459895502b94a3fe473e2029ccbf29c18e494a"
21-
sha256 cellar: :any, monterey: "1df679a58e0764b752652f1892ec23e3d254923b0bfd650adcfba85d5d5b938d"
22-
sha256 cellar: :any_skip_relocation, x86_64_linux: "638b5864eeeea4cf53136547610a49ba9ae8189b9429a88410e4b86f7353e959"
16+
sha256 cellar: :any, arm64_sequoia: "c3e6096ebeb212633387dfb4079e70693de0ed8fe2e8716472aafff37893fdf9"
17+
sha256 cellar: :any, arm64_sonoma: "64879e3d57f14f5d78eff1825bc615c3cf528d0252e358c5b9c9c63bc0425989"
18+
sha256 cellar: :any, arm64_ventura: "3da47ccd6c2df92725b72f393a4497b0856bc6a2245ddaaecb22393c46aba3b9"
19+
sha256 cellar: :any, sonoma: "68bcb12975621cd10264a035306e402260f707a0ad409f25600f19c4bfab1234"
20+
sha256 cellar: :any, ventura: "caf54e3bde83c17344c9ebd6780959c241c3096152ecd0cbc62b553cd2f0bde3"
21+
sha256 cellar: :any_skip_relocation, x86_64_linux: "497247f119be0b5baa9940d48e25ecc0b20af5f8e04a7d3cfe64e27e5cdaf3a0"
2322
end
2423

2524
depends_on "cmake" => :build

Formula/c/ccls.rb

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,21 @@ class Ccls < Formula
1010
url "https://github.com/MaskRay/ccls/archive/refs/tags/0.20240202.tar.gz"
1111
sha256 "355ff7f5eb5f24d278dda05cccd9157e89583272d0559d6b382630171f142d86"
1212
license "Apache-2.0"
13-
revision 1
13+
revision 2
1414
head "https://github.com/MaskRay/ccls.git", branch: "master"
1515

1616
bottle do
17-
sha256 arm64_sequoia: "2e70185800e918fa60402951f93c0c87328ef4b9e190ed0f7f38ef67bb4e89bf"
18-
sha256 arm64_sonoma: "7492cb5f43e3bf65ec1a6a8aa9d24151154b02df4c63c2a791bf495b08d65a61"
19-
sha256 arm64_ventura: "5b3c4f1003dcad16b0221032aebd2793dea4efb500678668dedcaa118870df69"
20-
sha256 arm64_monterey: "998e41d641b206a6bfeae293dae477f08a802c5b0bf368e487e7b8b504d9f1d0"
21-
sha256 sonoma: "417b048477613be53f4aeb16b11cd60da20163342f6643d108256325f52825b0"
22-
sha256 ventura: "a9099ef1c527080d63783fc4620850e7bc2d93061e84c54aa706da49d024932d"
23-
sha256 monterey: "89adaa6d420d1f21b4a176fb77ddc1236e0a102009956b5ac0efd6eb6844cd5c"
24-
sha256 cellar: :any_skip_relocation, x86_64_linux: "26999d25d86872987728832416459e7291fd221f916fe7678a6af06b11623150"
17+
sha256 arm64_sequoia: "456e64f301999bde6fd6fbb722c567394889be93b89488052936f14e35f96a92"
18+
sha256 arm64_sonoma: "62c9aa4d98c0d97dadcbde5f70d5b47725d1dc360fd2f017472baae37336fad1"
19+
sha256 arm64_ventura: "9e105743aa472cc07f74892abe7b3a1bce9c9c0b6ab53405dfdee0548b04ef01"
20+
sha256 sonoma: "e1e19b603b8825c9d9552a75e23a8436066b0cc7fbc22ec155c467a3e8c619cb"
21+
sha256 ventura: "2582130416de11b29dd35833f983f2f865fea39e52f3e046b86c822f5bd47444"
22+
sha256 cellar: :any_skip_relocation, x86_64_linux: "057d51586172d98b836683ed9e2ba3fc12abdde0b3de8451c60b73f543792cdb"
2523
end
2624

2725
depends_on "cmake" => :build
2826
depends_on "rapidjson" => :build
29-
depends_on "llvm"
27+
depends_on "llvm@18"
3028
depends_on macos: :high_sierra # C++ 17 is required
3129

3230
fails_with gcc: "5"
@@ -38,6 +36,7 @@ def llvm
3836
end
3937

4038
def install
39+
ENV.append "LDFLAGS", "-Wl,-rpath,#{rpath(target: llvm.opt_lib)}" if OS.linux?
4140
resource_dir = Utils.safe_popen_read(llvm.opt_bin/"clang", "-print-resource-dir").chomp
4241
resource_dir.gsub! llvm.prefix.realpath, llvm.opt_prefix
4342
system "cmake", "-S", ".", "-B", "build", "-DCLANG_RESOURCE_DIR=#{resource_dir}", *std_cmake_args

Formula/c/chapel.rb

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,23 @@ class Chapel < Formula
44
url "https://github.com/chapel-lang/chapel/releases/download/2.1.0/chapel-2.1.0.tar.gz"
55
sha256 "72593c037505dd76e8b5989358b7580a3fdb213051a406adb26a487d26c68c60"
66
license "Apache-2.0"
7-
revision 2
7+
revision 3
88
head "https://github.com/chapel-lang/chapel.git", branch: "main"
99

1010
bottle do
11-
sha256 arm64_sequoia: "2d9ed5b132c2dd7ee095a4a5e4edf2cdbe573232d94403e7fa2b4d1b55c801e7"
12-
sha256 arm64_sonoma: "8fef36b23b39444d16b245ebdbe8db4e9eacf700237c9a45b855481147bf38ec"
13-
sha256 arm64_ventura: "9e8107f9f7a48cfd519ae6a240ad2b21a5a380d40177b7bcef8126b03447c053"
14-
sha256 arm64_monterey: "1cba37d433a5b4a893f9b220cf5ca0434bca0bfa383e7724ee71096a6598fc8f"
15-
sha256 sonoma: "d4d8a4f514115690e1c7968f239e0449e3e0a55094e90dc5a857892eeb588c55"
16-
sha256 ventura: "38afff1791b315572dbb30cc11b708ad6d222f61f7501ca86caed38d7837dfe6"
17-
sha256 monterey: "b7860d273572a53d93fe98344995af049c97eb4e94c02d4cffcc45854bc6b106"
18-
sha256 x86_64_linux: "a038f17093596dfb5c2edeb04719dcb2e32f5255a6c770a6ad351b69aa6ebdff"
11+
sha256 arm64_sequoia: "2d501f1424bc9f21bfad56bcfc556cf8712e524db4fcbf57ee2cb18b59673be4"
12+
sha256 arm64_sonoma: "c16920ce4c25f8d530ad0fb9612c8d7caaafa53246b2a747dbf5e3115c46dfe8"
13+
sha256 arm64_ventura: "cc1f389cfd794bac980e53a42ca8e9c0255c9f73c6986adbd94722a27fe55733"
14+
sha256 sonoma: "8cbef3e52afed90588890167c3be772a33511faaf83ff2bdde68335b657167bf"
15+
sha256 ventura: "5e50cc8ad9a26b24125f4b725038a5a312068f7cd05273cbe01dcc56b5d50c4a"
16+
sha256 x86_64_linux: "67c2451db78969ab1a7031ed8b6758b02da7ca728ae11ca41b8d7ff3321d2ed6"
1917
end
2018

2119
depends_on "cmake"
2220
depends_on "gmp"
2321
depends_on "hwloc"
2422
depends_on "jemalloc"
25-
depends_on "llvm"
23+
depends_on "llvm@18"
2624
depends_on "pkg-config"
2725
depends_on "python@3.12"
2826

0 commit comments

Comments
 (0)