From 61f99eb3eceb045b91bc49c7c3cc4fafd3e9ce81 Mon Sep 17 00:00:00 2001 From: Anokhov Date: Mon, 22 Apr 2024 16:38:32 +0200 Subject: [PATCH] openvino 2024.1.0 --- Formula/o/openvino.rb | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/Formula/o/openvino.rb b/Formula/o/openvino.rb index 3ee34d144059d3..e9e45cb496e1f9 100644 --- a/Formula/o/openvino.rb +++ b/Formula/o/openvino.rb @@ -1,8 +1,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.0.0.tar.gz" - sha256 "b3c257f8af9545ae68a6ea217173b2b2de9dd42d35e8703a7a51d76f4c2bfe2f" + url "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2024.1.0.tar.gz" + sha256 "b298a91b5aae252ef9883e0f2017e88677be88a9839b1aa2f6e9f70067d98ce6" license "Apache-2.0" head "https://github.com/openvinotoolkit/openvino.git", branch: "master" @@ -42,8 +42,18 @@ class Openvino < Formula depends_on "opencl-icd-loader" resource "onednn_gpu" do - url "https://github.com/oneapi-src/oneDNN/archive/494af5f9921bdae98f1a0e2955fa7d76ff386c4f.tar.gz" - sha256 "e2f36563cecf39197ad8d4f8b351ccc5a431085dad26e47c0ae6f0bb79149df7" + url "https://github.com/oneapi-src/oneDNN/archive/4e6ff043c439652fcf6c400ac4e0c81bbac7c71c.tar.gz" + sha256 "c3543d560fbbb7297df91c191cc9bf682322c5554302e256f1bf4a757424a331" + end + + resource "level-zero" do + url "https://github.com/oneapi-src/level-zero/archive/4ed13f327d3389285592edcf7598ec3cb2bc712e.tar.gz" + sha256 "e9fe67f792c7d8f0243eef6ad4e3bb0bb484cc5dfa6790c4fe13289d4fc4df2c" + end + + resource "level-zero-ext" do + url "https://github.com/intel/level-zero-npu-extensions/archive/0e1c471356a724ef6d176ba027a68e210d90939e.tar.gz" + sha256 "66f8b5a1ff7e9b404470f76c17ea9c35ecdca506b0fdc37540766b46ca2f085d" end end @@ -51,8 +61,8 @@ class Openvino < Formula depends_on "scons" => :build resource "arm_compute" do - url "https://github.com/ARM-software/ComputeLibrary/archive/refs/tags/v23.08.tar.gz" - sha256 "62f514a555409d4401e5250b290cdf8cf1676e4eb775e5bd61ea6a740a8ce24f" + url "https://github.com/ARM-software/ComputeLibrary/archive/refs/tags/v24.02.1.tar.gz" + sha256 "590d5cb710355bce2ddfe7117529c2f492cd253b548f709bbfe84702203d99c8" end end @@ -66,8 +76,8 @@ class Openvino < Formula end resource "onednn_cpu" do - url "https://github.com/openvinotoolkit/oneDNN/archive/f82148befdbdc9576ec721c9d500155ee4de8060.tar.gz" - sha256 "7fce5c6b499ffe1a30c26b2d4e4a5193a38aa217b6f54e44eea52b21cf38a684" + url "https://github.com/openvinotoolkit/oneDNN/archive/26633ae49edd4353a29b7170d9fcef6b2d79f4b3.tar.gz" + sha256 "3cd4a2aea30cd6ca689e63545cf986f8e83c88333b73d42bb750fcaf08940b17" end resource "onnx" do @@ -90,6 +100,8 @@ def install src/plugins/intel_cpu/thirdparty/onednn src/plugins/intel_gpu/thirdparty/rapidjson src/plugins/intel_gpu/thirdparty/onednn_gpu + src/plugins/intel_npu/thirdparty/level-zero + src/plugins/intel_npu/thirdparty/level-zero-ext src/plugins/intel_cpu/thirdparty/ComputeLibrary] dependencies.each { |d| (buildpath/d).rmtree } @@ -101,6 +113,8 @@ def install resource("arm_compute").stage buildpath/"src/plugins/intel_cpu/thirdparty/ComputeLibrary" elsif OS.linux? resource("onednn_gpu").stage buildpath/"src/plugins/intel_gpu/thirdparty/onednn_gpu" + resource("level-zero").stage buildpath/"src/plugins/intel_npu/thirdparty/level-zero" + resource("level-zero-ext").stage buildpath/"src/plugins/intel_npu/thirdparty/level-zero-ext" end cmake_args = std_cmake_args + %w[ @@ -108,6 +122,7 @@ def install -DENABLE_CPPLINT=OFF -DENABLE_CLANG_FORMAT=OFF -DENABLE_NCC_STYLE=OFF + -DENABLE_JS=OFF -DENABLE_TEMPLATE=OFF -DENABLE_INTEL_GNA=OFF -DENABLE_PYTHON=OFF