Skip to content

llvm 19.1.0 #181351

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

Merged
merged 63 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from 33 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.
10 changes: 7 additions & 3 deletions Formula/a/apache-arrow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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
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
7 changes: 4 additions & 3 deletions Formula/a/aptos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Aptos < Formula

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

uses_from_macos "llvm" => :build

on_linux do
Expand All @@ -39,8 +39,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
3 changes: 2 additions & 1 deletion Formula/c/c2rust.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ 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"
Expand All @@ -18,7 +19,7 @@ class C2rust < Formula

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

fails_with gcc: "5"

Expand Down
1 change: 1 addition & 0 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 Down
1 change: 1 addition & 0 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 Down
5 changes: 3 additions & 2 deletions Formula/c/ccls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ 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
Expand All @@ -26,7 +26,7 @@ class Ccls < Formula

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 +38,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
4 changes: 2 additions & 2 deletions Formula/c/chapel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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
Expand All @@ -22,7 +22,7 @@ class Chapel < Formula
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
4 changes: 3 additions & 1 deletion Formula/c/clang-uml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ 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
Expand All @@ -19,7 +20,7 @@ class ClangUml < Formula

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 +31,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
3 changes: 2 additions & 1 deletion Formula/c/clazy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Clazy < Formula
url "https://download.kde.org/stable/clazy/1.12/src/clazy-1.12.tar.xz"
sha256 "611749141d07ce1e006f8a1253f9b2dbd5b7b44d2d5322d471d62430ec2849ac"
license "LGPL-2.0-or-later"
revision 1
head "https://invent.kde.org/sdk/clazy.git", branch: "master"

livecheck do
Expand All @@ -25,7 +26,7 @@ class Clazy < Formula
depends_on "cmake" => [:build, :test]
depends_on "qt" => :test
depends_on "coreutils"
depends_on "llvm"
depends_on "llvm@18"

uses_from_macos "libxml2"
uses_from_macos "ncurses"
Expand Down
25 changes: 19 additions & 6 deletions Formula/c/cppinsights.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Cppinsights < Formula
url "https://github.com/andreasfertig/cppinsights/archive/refs/tags/v_17.0.tar.gz"
sha256 "2dd6bcfcdba65c0ed2e1f04ef79d57285186871ad8bd481d63269f3115276216"
license "MIT"
revision 1
revision 2

bottle do
sha256 cellar: :any, arm64_sequoia: "a98eb7b557dfbbec2513985ca276c36ac0d3850d278ecdb5d7d17ed6337aa279"
Expand All @@ -18,21 +18,33 @@ class Cppinsights < Formula
end

depends_on "cmake" => :build
depends_on "llvm"
depends_on "llvm@18"
on_macos do
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1500
end

fails_with :clang do
build 1300
cause "Requires C++20"
build 1500
cause "Requires Clang > 15.0"
end

# Patch from https://github.com/andreasfertig/cppinsights/pull/622
# Support for LLVM 18, remove in next version
patch :DATA

def install
ENV.llvm_clang if ENV.compiler == :clang && DevelopmentTools.clang_build_version <= 1500
if OS.mac? && DevelopmentTools.clang_build_version <= 1500
ENV.llvm_clang
ENV.remove "HOMEBREW_LIBRARY_PATHS", Formula["llvm"].opt_lib
end

llvm18 = Formula["llvm@18"]
ENV.append "LDFLAGS", "-L#{llvm18.lib}"

system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "-S", ".", "-B", "build",
"-DINSIGHTS_LLVM_CONFIG=#{llvm18.opt_bin}/llvm-config",
"-DINSIGHTS_USE_SYSTEM_INCLUDES=Off",
*std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end
Expand All @@ -46,6 +58,7 @@ def install
assert_match "{2, 3, 4, 0, 0}", shell_output("#{bin}/insights ./test.cpp")
end
end

__END__
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 31341709..8b7430db 100644
Expand Down
4 changes: 2 additions & 2 deletions Formula/c/creduce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Creduce < Formula
desc "Reduce a C/C++ program while keeping a property of interest"
homepage "https://github.com/csmith-project/creduce"
license "BSD-3-Clause"
revision 4
revision 5
head "https://github.com/csmith-project/creduce.git", branch: "master"

# Remove when patches are no longer needed.
Expand Down Expand Up @@ -69,7 +69,7 @@ class Creduce < Formula
end

depends_on "astyle"
depends_on "llvm"
depends_on "llvm@18"

uses_from_macos "flex" => :build
uses_from_macos "perl"
Expand Down
14 changes: 11 additions & 3 deletions Formula/c/crystal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ class Crystal < Formula
desc "Fast and statically typed, compiled language with Ruby-like syntax"
homepage "https://crystal-lang.org/"
license "Apache-2.0"
revision 1

stable do
url "https://github.com/crystal-lang/crystal/archive/refs/tags/1.13.3.tar.gz"
Expand Down Expand Up @@ -39,7 +40,7 @@ class Crystal < Formula
depends_on "gmp" # std uses it but it's not linked
depends_on "libevent"
depends_on "libyaml"
depends_on "llvm"
depends_on "llvm@18"
depends_on "openssl@3" # std uses it but it's not linked
depends_on "pcre2"
depends_on "pkg-config" # @[Link] will use pkg-config if available
Expand Down Expand Up @@ -99,7 +100,7 @@ def install
ENV.prepend_path "CRYSTAL_LIBRARY_PATH", dep.opt_lib
end

crystal_install_dir = bin
crystal_install_dir = OS.linux? ? libexec : bin
stdlib_install_dir = pkgshare

# Avoid embedding HOMEBREW_PREFIX references in `crystal` binary.
Expand All @@ -109,7 +110,6 @@ def install
release_flags = ["release=true", "FLAGS=--no-debug"]
crystal_build_opts = release_flags + [
"CRYSTAL_CONFIG_LIBRARY_PATH=#{config_library_path}",
"CRYSTAL_CONFIG_LIBRARY_RPATH=#{config_library_path}",
"CRYSTAL_CONFIG_PATH=#{config_path}",
"interpreter=true",
]
Expand Down Expand Up @@ -153,6 +153,14 @@ def install
fish_completion.install "etc/completion.fish" => "crystal.fish"

man1.install "man/crystal.1"

return unless OS.linux?

# Wrapper script so that Crystal can find libraries in HOMEBREW_PREFIX
(bin/"crystal").write_env_script(
crystal_install_dir/"crystal",
LD_RUN_PATH: "${LD_RUN_PATH:+${LD_RUN_PATH}:}#{HOMEBREW_PREFIX}/lib",
)
end

test do
Expand Down
3 changes: 2 additions & 1 deletion Formula/c/crystalline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Crystalline < Formula
url "https://github.com/elbywan/crystalline/archive/refs/tags/v0.14.1.tar.gz"
sha256 "caa8cc661abc2ba63194983aae46e87c896d89c228a158521e40c34375d738f7"
license "MIT"
revision 1

bottle do
sha256 arm64_sequoia: "6a791148ac79644e6d3d0ba6bd0306e53f62a4f47871af5620bd6603c57f6889"
Expand All @@ -18,7 +19,7 @@ class Crystalline < Formula
depends_on "crystal"
depends_on "libevent"
depends_on "libyaml"
depends_on "llvm"
depends_on "llvm@18"
depends_on "pcre2"

def install
Expand Down
1 change: 1 addition & 0 deletions Formula/e/enzyme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Enzyme < Formula
url "https://github.com/EnzymeAD/Enzyme/archive/refs/tags/v0.0.150.tar.gz"
sha256 "9a6cdfef009f86996479d8ceb63bae3341df9f4394c62509d3e8ae2e0cadac22"
license "Apache-2.0" => { with: "LLVM-exception" }
revision 1
head "https://github.com/EnzymeAD/Enzyme.git", branch: "main"

bottle do
Expand Down
4 changes: 2 additions & 2 deletions Formula/f/faust.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Faust < Formula

Check failure on line 1 in Formula/f/faust.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew linkage --test faust` failed on Linux!

libstdc++.so
desc "Functional programming language for real time signal processing"
homepage "https://faust.grame.fr"
url "https://github.com/grame-cncm/faust/releases/download/2.72.14/faust-2.72.14.tar.gz"
sha256 "dcd5aaf263c59d34c385e65c4f4c5b85b0e9435e57cbfd79bb67a01e5780acf0"
license "GPL-2.0-or-later"
revision 1
revision 2

# Upstream creates releases that use a stable tag (e.g., `v1.2.3`) but are
# labeled as "pre-release" on GitHub before the version is released, so it's
Expand All @@ -29,7 +29,7 @@
depends_on "pkg-config" => :build
depends_on "libmicrohttpd"
depends_on "libsndfile"
depends_on "llvm"
depends_on "llvm@18"

fails_with gcc: "5"

Expand Down
1 change: 1 addition & 0 deletions Formula/h/halide.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Halide < Formula
url "https://github.com/halide/Halide/archive/refs/tags/v18.0.0.tar.gz"
sha256 "1176b42a3e2374ab38555d9316c78e39b157044b5a8e765c748bf3afd2edb351"
license "MIT"
revision 1
head "https://github.com/halide/Halide.git", branch: "main"

livecheck do
Expand Down
3 changes: 2 additions & 1 deletion Formula/i/include-what-you-use.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class IncludeWhatYouUse < Formula
url "https://include-what-you-use.org/downloads/include-what-you-use-0.22.src.tar.gz"
sha256 "859074b461ea4b8325a73418c207ca33b5e6566b08e6b587eb9164416569a6dd"
license "NCSA"
revision 1
head "https://github.com/include-what-you-use/include-what-you-use.git", branch: "master"

# This omits the 3.3, 3.4, and 3.5 versions, which come from the older
Expand All @@ -27,7 +28,7 @@ class IncludeWhatYouUse < Formula
end

depends_on "cmake" => :build
depends_on "llvm"
depends_on "llvm@18"
uses_from_macos "ncurses"
uses_from_macos "zlib"

Expand Down
3 changes: 2 additions & 1 deletion Formula/i/ispc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Ispc < Formula
url "https://github.com/ispc/ispc/archive/refs/tags/v1.24.0.tar.gz"
sha256 "a45ec5402d8a3b23d752125a083fa031becf093b8304ccec55b1c2f37b5479c3"
license "BSD-3-Clause"
revision 1

# Upstream sometimes creates releases that use a stable tag (e.g., `v1.2.3`)
# but are labeled as "pre-release" on GitHub, so it's necessary to use the
Expand All @@ -29,7 +30,7 @@ class Ispc < Formula
depends_on "cmake" => :build
depends_on "flex" => :build
depends_on "python@3.12" => :build
depends_on "llvm"
depends_on "llvm@18"

on_linux do
depends_on "tbb"
Expand Down
Loading
Loading