Skip to content

Commit 0fb152c

Browse files
committed
oclgrind: backport LLVM 19 support
1 parent 5c889be commit 0fb152c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Formula/o/oclgrind.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Oclgrind < Formula
2424
end
2525

2626
depends_on "cmake" => :build
27-
depends_on "llvm@18" # Issue for LLVM 19: https://github.com/jrprice/Oclgrind/issues/215
27+
depends_on "llvm@19" # Issue for LLVM 20: https://github.com/jrprice/Oclgrind/issues/216
2828
depends_on "readline"
2929

3030
on_linux do
@@ -95,6 +95,12 @@ class Oclgrind < Formula
9595
sha256 "adf85b1adcd951eb82c263619b999a860166a35cbf8a68cc7d7e1b35eb217894"
9696
end
9797

98+
# Backport support for LLVM 19
99+
patch do
100+
url "https://github.com/jrprice/Oclgrind/commit/7cc48c424a65dfb870b1e7614b59362dff44b348.patch?full_index=1"
101+
sha256 "3727836bbc42691bbb34fdd16a266586e01de8ee68b948e9a43fbea10977d864"
102+
end
103+
98104
def install
99105
llvm = deps.find { |dep| dep.name.match?(/^llvm(@\d+)?$/) }
100106
.to_formula

0 commit comments

Comments
 (0)