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

openvino 2024.4.0 #191090

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion Formula/f/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class FfmpegAT6 < Formula
# None of these parts are used by default, you have to explicitly pass `--enable-gpl`
# to configure to activate them. In this case, FFmpeg's license changes to GPL v2+.
license "GPL-2.0-or-later"
revision 2
revision 3

livecheck do
url "https://ffmpeg.org/download.html"
Expand Down
2 changes: 1 addition & 1 deletion Formula/o/opencv.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Opencv < Formula

Check warning on line 1 in Formula/o/opencv.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

No bottle built for opencv!

opencv has unbottled dependencies, so a bottle will not be built.
desc "Open source computer vision library"
homepage "https://opencv.org/"
url "https://github.com/opencv/opencv/archive/refs/tags/4.10.0.tar.gz"
sha256 "b2171af5be6b26f7a06b1229948bbb2bdaa74fcf5cd097e0af6378fce50a6eb9"
license "Apache-2.0"
revision 6
revision 7
head "https://github.com/opencv/opencv.git", branch: "4.x"

livecheck do
Expand Down
27 changes: 10 additions & 17 deletions Formula/o/openvino.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ class Openvino < Formula

desc "Open Visual Inference And Optimization toolkit for AI inference"
homepage "https://docs.openvino.ai"
url "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2024.3.0.tar.gz"
sha256 "53fccad05279d0975eca84ec75517a7c360be9b0f7bcd822da29a7949c12ce70"
url "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2024.4.0.tar.gz"
sha256 "aeb6297e3e88b4ab7803b27b231a72bd0493b6761ef98f225142146be500f538"
license "Apache-2.0"
head "https://github.com/openvinotoolkit/openvino.git", branch: "master"

Expand Down Expand Up @@ -43,17 +43,17 @@ class Openvino < Formula
depends_on "opencl-icd-loader"

resource "onednn_gpu" do
url "https://github.com/oneapi-src/oneDNN/archive/7ab8ee9adda866d675edeee7a3a6a29b2d0a1572.tar.gz"
sha256 "66363988363744e49fff55f4fcdb72318ff3f35fba6da68302c1662c837c22ac"
url "https://github.com/oneapi-src/oneDNN/archive/refs/tags/v3.6-pc.tar.gz"
sha256 "d0eeff1425e318887c429a709d58010a580c8173eba8fbee74bca41b7f621f59"
end
end

on_arm do
depends_on "scons" => :build

resource "arm_compute" do
url "https://github.com/ARM-software/ComputeLibrary/archive/refs/tags/v24.06.tar.gz"
sha256 "68e24589905638e406a98ad48236097ab30112f2849b35e196b7b1efb0ce74e6"
url "https://github.com/ARM-software/ComputeLibrary/archive/refs/tags/v24.08.tar.gz"
sha256 "b3576ffa2a70e7704bdf7febe7109f4cfb416a0178222b58f5ee0fd455980337"
end
end

Expand All @@ -67,13 +67,13 @@ class Openvino < Formula
end

resource "onednn_cpu" do
url "https://github.com/openvinotoolkit/oneDNN/archive/f0f8defe2dff5058391f2a66e775e20b5de33b08.tar.gz"
sha256 "13bee5b8522177f297e095e3eba5948c1a7ee7a816d19d5a59ce0f717f82cedc"
url "https://github.com/openvinotoolkit/oneDNN/archive/c8ae8d96e963bd04214858319fa334968e5e73c9.tar.gz"
sha256 "b9c2a53061b4528231ff5fbcee85900d698c329c7977b1f39c5d3d65f29c2caa"
end

resource "onnx" do
url "https://github.com/onnx/onnx/archive/refs/tags/v1.15.0.tar.gz"
sha256 "c757132e018dd0dd171499ef74fca88b74c5430a20781ec53da19eb7f937ef68"
url "https://github.com/onnx/onnx/archive/refs/tags/v1.16.0.tar.gz"
sha256 "0ce153e26ce2c00afca01c331a447d86fbf21b166b640551fe04258b4acfc6a4"
end

resource "openvino-telemetry" do
Expand All @@ -90,13 +90,6 @@ def python3
"python3.12"
end

# Fix Python build (https://github.com/openvinotoolkit/openvino/pull/25695)
# Remove patch when available in release.
patch do
url "https://github.com/openvinotoolkit/openvino/commit/e653ebc7c8c11508c7e5fd4f797174d21e4382bc.patch?full_index=1"
sha256 "d4b6eb705decaf9d8f7319a8cce69b64f9c719536138b510aa4b499b983b016c"
end

def install
# Remove git cloned 3rd party to make sure formula dependencies are used
dependencies = %w[thirdparty/ocl
Expand Down
Loading