Skip to content

Commit 63f59b4

Browse files
authored
Merge pull request #235985 from artanokhov/openvino-2025.3.0
openvino 2025.3.0
2 parents 6f9050a + d51bb41 commit 63f59b4

File tree

3 files changed

+24
-30
lines changed

3 files changed

+24
-30
lines changed

Formula/o/opencv.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class Opencv < Formula
22
desc "Open source computer vision library"
33
homepage "https://opencv.org/"
44
license "Apache-2.0"
5-
revision 8
5+
revision 9
66

77
stable do
88
url "https://github.com/opencv/opencv/archive/refs/tags/4.12.0.tar.gz"
@@ -32,11 +32,11 @@ class Opencv < Formula
3232
no_autobump! because: :requires_manual_review
3333

3434
bottle do
35-
sha256 arm64_sonoma: "75727153194d53eb9bba65a15c65c183c3e4cb986bef20e0b2b26ec45f720007"
36-
sha256 arm64_ventura: "4c572edfb6959e9300a6e7a889c7b30225c85cb1b399827a626c0b8cd90ae02f"
37-
sha256 sonoma: "2a463978ba9f475d8b15708b975084e3cdab3254803e35954317fa9cba4209c0"
38-
sha256 ventura: "770ea61fd99ccaa9e56d0c6df0e8bdb182141bc30450e033d4b0b544a2897975"
39-
sha256 x86_64_linux: "ba735d6b8e0dad28e2ec34426104f683074da738814f1a72ababb8dd415cda4f"
35+
sha256 arm64_sonoma: "cf8d7a86ea020d5824c4ef0253aee998edd973d81e4ed108c3f5c24acd95b426"
36+
sha256 arm64_ventura: "f31fa216051e53763579dca12931ed4bbb30e243dc7b07c6ed30e6e8148e7f89"
37+
sha256 sonoma: "36b492895571ab5db9da0ffd2fe2896a5c163653693b1aa8801c912cfd4b671d"
38+
sha256 ventura: "8b5d14e644fd2b86251bd455a1fee89b46bc7e9321e75200b808f29fec8b00fd"
39+
sha256 x86_64_linux: "86093877c802805a7b8d98d8c960b34cb1eda1e62d4ed33737bd88d4f6b86fc4"
4040
end
4141

4242
head do
@@ -66,6 +66,7 @@ class Opencv < Formula
6666
depends_on "openblas"
6767
depends_on "openexr"
6868
depends_on "openjpeg"
69+
depends_on "openvino"
6970
depends_on "protobuf"
7071
depends_on "[email protected]"
7172
depends_on "tbb"
@@ -102,7 +103,6 @@ def install
102103
libdirs = %w[ffmpeg libjasper libjpeg libjpeg-turbo libpng libtiff libwebp openexr openjpeg protobuf tbb zlib]
103104
libdirs.each { |l| rm_r(buildpath/"3rdparty"/l) }
104105

105-
# FIXME: `openvino` seems to break often and is difficult to update, so we disable it here for now.
106106
args = %W[
107107
-DCMAKE_CXX_STANDARD=17
108108
-DCMAKE_OSX_DEPLOYMENT_TARGET=
@@ -134,7 +134,7 @@ def install
134134
-DWITH_JASPER=OFF
135135
-DWITH_OPENEXR=ON
136136
-DWITH_OPENGL=OFF
137-
-DWITH_OPENVINO=OFF
137+
-DWITH_OPENVINO=ON
138138
-DWITH_QT=OFF
139139
-DWITH_TBB=ON
140140
-DWITH_VTK=ON

Formula/o/openvino.rb

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ class Openvino < Formula
33

44
desc "Open Visual Inference And Optimization toolkit for AI inference"
55
homepage "https://docs.openvino.ai"
6-
url "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2025.2.0.tar.gz"
7-
sha256 "15cd5c9beb320a8feadd18bcae40970608de154d5057277281dc53dd7023e383"
6+
url "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2025.3.0.tar.gz"
7+
sha256 "969a1b881ad0103dd522b5b09738434261d1158ebb23acb000eafef55268f7be"
88
license "Apache-2.0"
9-
revision 3
109
head "https://github.com/openvinotoolkit/openvino.git", branch: "master"
1110

1211
livecheck do
@@ -15,13 +14,13 @@ class Openvino < Formula
1514
end
1615

1716
bottle do
18-
sha256 cellar: :any, arm64_sequoia: "7a49c564ead1cde5b61e44f47d175693678494711a1315848527401b8ea260dc"
19-
sha256 cellar: :any, arm64_sonoma: "ccbdd0defacbc68539614344a75aa153f3961ae9af36c1afb0593a4ec6ac9fcb"
20-
sha256 cellar: :any, arm64_ventura: "0d18a86d3a49d947e976127bb2d15ac82627c42d500ceccab27e51cfa03377e4"
21-
sha256 cellar: :any, sonoma: "5ed46e78264ec191549c9e5f88ddfd0b5e8b220d1056948570a8897e7bae55b3"
22-
sha256 cellar: :any, ventura: "c61634c4b6cd5afe8f923a394cbbab31309d6cec9f62ef426e1e37215895d63e"
23-
sha256 arm64_linux: "44e59660fba1c7831bf51b17510204a5894843e320b0bf5d0c8c0e08127a9fe4"
24-
sha256 x86_64_linux: "3edf864514d74a3d4d15b34076a53428cf9744e3ae0e3995ff3de01cc425680c"
17+
sha256 cellar: :any, arm64_sequoia: "70293ca3a7f8f4f5f93d916b0956506eeba4d107dc40a3e756c3b419f91e4e65"
18+
sha256 cellar: :any, arm64_sonoma: "3f40bc439633b005fe5bfd3b92a153e136bd216e508c2ed19ae44ee126f33dc9"
19+
sha256 cellar: :any, arm64_ventura: "95843247b4bd772fa76fa9551d7ca306ed781b02252f8109d02a80bb883fb0d0"
20+
sha256 cellar: :any, sonoma: "fcccafaa9738e8db47dba4fe06dbf201d2a86ed1a2b20f8104e294107a3f0223"
21+
sha256 cellar: :any, ventura: "f47b798a82b7d6738288f179fe702ba51d3f97496e71e395ecf91c3225bc1055"
22+
sha256 arm64_linux: "c73260bab30758501e8ebf31b23842e5de8c2017c0f08d47cc38af95329f41e5"
23+
sha256 x86_64_linux: "87fc95bbcff2a94e75160343e17a3b17989aa2d26e8e6c45398c12a6191afa65"
2524
end
2625

2726
depends_on "cmake" => [:build, :test]
@@ -47,8 +46,8 @@ class Openvino < Formula
4746
depends_on "opencl-icd-loader"
4847

4948
resource "onednn_gpu" do
50-
url "https://github.com/uxlfoundation/oneDNN/archive/c7d59a12849295c8bdf6401b8ea3968f4346ee0c.tar.gz"
51-
sha256 "05bc693ee788768f18397bd235ad40f55261e4336a683469a50072bfddbf9f98"
49+
url "https://github.com/uxlfoundation/oneDNN/archive/8edf6bb60fdaa2769f3cebf44bd2ee94da00744c.tar.gz"
50+
sha256 "c943ab6e9cc6c382de48e76cb62ba075554a89b438876d945e5355e22588e06d"
5251
end
5352
end
5453

@@ -83,8 +82,8 @@ class Openvino < Formula
8382
end
8483

8584
resource "onednn_cpu" do
86-
url "https://github.com/openvinotoolkit/oneDNN/archive/793dd02883483385fb7ee3b1af1e4273ce833444.tar.gz"
87-
sha256 "f6ae708f5b78361cab2c544a976d66bd7ccd74b4b6df7710d4d86a383f6916f9"
85+
url "https://github.com/openvinotoolkit/oneDNN/archive/3d7a6f1d068d8ae08f189aa4baa93d177bc07507.tar.gz"
86+
sha256 "354fa9c44a6feaea06230082e1b9f53ea853836a29e4030320ba8e480357614b"
8887
end
8988

9089
resource "openvino-telemetry" do
@@ -101,13 +100,6 @@ def python3
101100
"python3.13"
102101
end
103102

104-
# Fix to add adhoc sign back for Homebrew.
105-
# Remove patch when available in release.
106-
patch do
107-
url "https://github.com/openvinotoolkit/openvino/commit/f89181e38b64eee8296623c1caf9870164beff89.patch?full_index=1"
108-
sha256 "6483957f1ed1ad41bb50e699b177c69991380c2b44fae3567180dfa4d82e3374"
109-
end
110-
111103
def install
112104
# Work around for Protobuf C++ 6.x until OpenVINO adds support
113105
inreplace "thirdparty/dependencies.cmake", "find_package(Protobuf 5.26.0 ",
@@ -165,6 +157,7 @@ def install
165157
-DENABLE_SYSTEM_FLATBUFFERS=ON
166158
-DENABLE_SYSTEM_SNAPPY=ON
167159
-DProtobuf_USE_STATIC_LIBS=OFF
160+
-DOV_FORCE_ADHOC_SIGN=ON
168161
]
169162
if OS.mac?
170163
cmake_args << "-DCMAKE_OSX_DEPLOYMENT_TARGET=#{MacOS.version}.0"

audit_exceptions/head_non_default_branch_allowlist.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"libngspice": "master",
55
"ngspice": "master",
66
"sdl2": "SDL2",
7-
"squid": "v6"
7+
"squid": "v6",
8+
"opencv": "master"
89
}

0 commit comments

Comments
 (0)