diff --git a/Aliases/protobuf@31 b/Aliases/protobuf@31 new file mode 120000 index 000000000000..eed58b3535be --- /dev/null +++ b/Aliases/protobuf@31 @@ -0,0 +1 @@ +../Formula/p/protobuf.rb \ No newline at end of file diff --git a/Formula/a/apache-arrow.rb b/Formula/a/apache-arrow.rb index b5ccdb1521d7..972febd7a485 100644 --- a/Formula/a/apache-arrow.rb +++ b/Formula/a/apache-arrow.rb @@ -5,7 +5,7 @@ class ApacheArrow < Formula mirror "https://archive.apache.org/dist/arrow/arrow-20.0.0/apache-arrow-20.0.0.tar.gz" sha256 "89efbbf852f5a1f79e9c99ab4c217e2eb7f991837c005cba2d4a2fbd35fad212" license "Apache-2.0" - revision 1 + revision 2 head "https://github.com/apache/arrow.git", branch: "main" no_autobump! because: :requires_manual_review diff --git a/Formula/b/bear.rb b/Formula/b/bear.rb index 1ce5d35819a6..1164d5543050 100644 --- a/Formula/b/bear.rb +++ b/Formula/b/bear.rb @@ -4,7 +4,7 @@ class Bear < Formula url "https://github.com/rizsotto/Bear/archive/refs/tags/3.1.6.tar.gz" sha256 "99cd891eec6e89b734d7cafe0e623dd8c2f27d8cbf3ee9bc4807e69e5c8fb55c" license "GPL-3.0-or-later" - revision 2 + revision 3 head "https://github.com/rizsotto/Bear.git", branch: "master" bottle do diff --git a/Formula/b/bloaty.rb b/Formula/b/bloaty.rb index 0bcbc5006e1a..aeefa9c00e56 100644 --- a/Formula/b/bloaty.rb +++ b/Formula/b/bloaty.rb @@ -2,7 +2,7 @@ class Bloaty < Formula desc "Size profiler for binaries" homepage "https://github.com/google/bloaty" license "Apache-2.0" - revision 36 + revision 37 head "https://github.com/google/bloaty.git", branch: "main" stable do diff --git a/Formula/e/etcd-cpp-apiv3.rb b/Formula/e/etcd-cpp-apiv3.rb index 5268aff34b3c..99b0dbb704d0 100644 --- a/Formula/e/etcd-cpp-apiv3.rb +++ b/Formula/e/etcd-cpp-apiv3.rb @@ -4,7 +4,7 @@ class EtcdCppApiv3 < Formula url "https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3/archive/refs/tags/v0.15.4.tar.gz" sha256 "4516ecfa420826088c187efd42dad249367ca94ea6cdfc24e3030c3cf47af7b4" license "BSD-3-Clause" - revision 27 + revision 28 bottle do sha256 cellar: :any, arm64_sequoia: "0a6f1046afee7890bafc8c73e0fa678aa192046d6e36cfc0a7fc24608c9809aa" diff --git a/Formula/f/falcosecurity-libs.rb b/Formula/f/falcosecurity-libs.rb index a3092a071d9b..a3b520c0a886 100644 --- a/Formula/f/falcosecurity-libs.rb +++ b/Formula/f/falcosecurity-libs.rb @@ -8,7 +8,7 @@ class FalcosecurityLibs < Formula { any_of: ["GPL-2.0-only", "MIT"] }, # driver/ { "GPL-2.0-only" => { with: "Linux-syscall-note" } }, # userspace/libscap/compat/ ] - revision 2 + revision 3 livecheck do url :stable diff --git a/Formula/f/fastnetmon.rb b/Formula/f/fastnetmon.rb index 1f6258e45ced..c5dc3a2301a8 100644 --- a/Formula/f/fastnetmon.rb +++ b/Formula/f/fastnetmon.rb @@ -4,7 +4,7 @@ class Fastnetmon < Formula url "https://github.com/pavel-odintsov/fastnetmon/archive/refs/tags/v1.2.8.tar.gz" sha256 "d16901b00963f395241c818d02ad2751f14e33fd32ed3cb3011641ab680e0d01" license "GPL-2.0-only" - revision 7 + revision 8 bottle do sha256 cellar: :any, arm64_sequoia: "49de71494f182fa5183947fd6917b59422b714321b20bbc379ae731fd426ee5a" diff --git a/Formula/g/grpc.rb b/Formula/g/grpc.rb index 4760d4184f94..80c3212e7708 100644 --- a/Formula/g/grpc.rb +++ b/Formula/g/grpc.rb @@ -5,6 +5,7 @@ class Grpc < Formula tag: "v1.73.1", revision: "6eae42baf0dc7950a8c25d227575a0d24c9aa286" license "Apache-2.0" + revision 1 head "https://github.com/grpc/grpc.git", branch: "master" # There can be a notable gap between when a version is tagged and a diff --git a/Formula/lib/libphonenumber.rb b/Formula/lib/libphonenumber.rb index 59fb7e43b679..b7ad2c04f900 100644 --- a/Formula/lib/libphonenumber.rb +++ b/Formula/lib/libphonenumber.rb @@ -4,6 +4,7 @@ class Libphonenumber < Formula url "https://github.com/google/libphonenumber/archive/refs/tags/v9.0.8.tar.gz" sha256 "06c7b1744fd74418bde502b00dcab73b8475e9a30764fc73b1deb30a3d452154" license "Apache-2.0" + revision 1 livecheck do url :stable diff --git a/Formula/m/mavsdk.rb b/Formula/m/mavsdk.rb index 05220d15c6d3..723b30bbf1c3 100644 --- a/Formula/m/mavsdk.rb +++ b/Formula/m/mavsdk.rb @@ -5,6 +5,7 @@ class Mavsdk < Formula tag: "v3.6.0", revision: "35a9fb376706d68f54adb8f71fdb3a9cad223f4e" license "BSD-3-Clause" + revision 1 livecheck do url :stable diff --git a/Formula/m/mosh.rb b/Formula/m/mosh.rb index ed811185dbf8..662a810fbb1d 100644 --- a/Formula/m/mosh.rb +++ b/Formula/m/mosh.rb @@ -4,7 +4,7 @@ class Mosh < Formula url "https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz" sha256 "872e4b134e5df29c8933dff12350785054d2fd2839b5ae6b5587b14db1465ddd" license "GPL-3.0-or-later" - revision 28 + revision 29 no_autobump! because: :requires_manual_review diff --git a/Formula/n/ncnn.rb b/Formula/n/ncnn.rb index 862d9d056b1b..514aa3785814 100644 --- a/Formula/n/ncnn.rb +++ b/Formula/n/ncnn.rb @@ -4,6 +4,7 @@ class Ncnn < Formula url "https://github.com/Tencent/ncnn/archive/refs/tags/20250503.tar.gz" sha256 "3afea4cf092ce97d06305b72c6affbcfb3530f536ae8e81a4f22007d82b729e9" license "BSD-3-Clause" + revision 1 head "https://github.com/Tencent/ncnn.git", branch: "master" bottle do diff --git a/Formula/n/netdata.rb b/Formula/n/netdata.rb index acf88fcfa687..04fd08f8c163 100644 --- a/Formula/n/netdata.rb +++ b/Formula/n/netdata.rb @@ -4,6 +4,7 @@ class Netdata < Formula url "https://github.com/netdata/netdata/releases/download/v2.5.4/netdata-v2.5.4.tar.gz" sha256 "acfbda16c7c5786f4b0feb1c8e195d6489c727010739797a04cc5f71d5ede041" license "GPL-3.0-or-later" + revision 1 livecheck do url :stable diff --git a/Formula/o/ola.rb b/Formula/o/ola.rb index b9e509344098..5a1d275fcfb3 100644 --- a/Formula/o/ola.rb +++ b/Formula/o/ola.rb @@ -5,7 +5,7 @@ class Ola < Formula desc "Open Lighting Architecture for lighting control information" homepage "https://www.openlighting.org/ola/" license all_of: ["GPL-2.0-or-later", "LGPL-2.1-or-later"] - revision 5 + revision 6 stable do # TODO: Check if we can use unversioned `protobuf` at version bump diff --git a/Formula/o/onnx.rb b/Formula/o/onnx.rb index 4b35e8d10e71..37601b9f71db 100644 --- a/Formula/o/onnx.rb +++ b/Formula/o/onnx.rb @@ -4,7 +4,7 @@ class Onnx < Formula url "https://github.com/onnx/onnx/archive/refs/tags/v1.17.0.tar.gz" sha256 "8d5e983c36037003615e5a02d36b18fc286541bf52de1a78f6cf9f32005a820e" license "Apache-2.0" - revision 2 + revision 3 no_autobump! because: :requires_manual_review diff --git a/Formula/o/onnxruntime.rb b/Formula/o/onnxruntime.rb index ab1ffc66125e..5c889b5f1ccd 100644 --- a/Formula/o/onnxruntime.rb +++ b/Formula/o/onnxruntime.rb @@ -5,6 +5,7 @@ class Onnxruntime < Formula tag: "v1.22.0", revision: "f217402897f40ebba457e2421bc0a4702771968e" license "MIT" + revision 1 livecheck do url :stable diff --git a/Formula/o/opencv.rb b/Formula/o/opencv.rb index 4a5632fe4f53..43b219c17b20 100644 --- a/Formula/o/opencv.rb +++ b/Formula/o/opencv.rb @@ -2,7 +2,7 @@ class Opencv < Formula desc "Open source computer vision library" homepage "https://opencv.org/" license "Apache-2.0" - revision 1 + revision 2 stable do url "https://github.com/opencv/opencv/archive/refs/tags/4.11.0.tar.gz" diff --git a/Formula/o/opentelemetry-cpp.rb b/Formula/o/opentelemetry-cpp.rb index 33af1028eef9..fd42a3b01488 100644 --- a/Formula/o/opentelemetry-cpp.rb +++ b/Formula/o/opentelemetry-cpp.rb @@ -4,7 +4,7 @@ class OpentelemetryCpp < Formula url "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.21.0.tar.gz" sha256 "98e5546f577a11b52a57faed1f4cc60d8c1daa44760eba393f43eab5a8ec46a2" license "Apache-2.0" - revision 1 + revision 2 head "https://github.com/open-telemetry/opentelemetry-cpp.git", branch: "main" bottle do diff --git a/Formula/o/openvino.rb b/Formula/o/openvino.rb index bee56edd35ff..a10692e675b2 100644 --- a/Formula/o/openvino.rb +++ b/Formula/o/openvino.rb @@ -3,9 +3,10 @@ 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/2025.0.0.tar.gz" - sha256 "d2cbff5a0ac1bc738c33ba103569f8daf20d3a17d3db94da11ae207ffb9e4395" + url "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2025.2.0.tar.gz" + sha256 "15cd5c9beb320a8feadd18bcae40970608de154d5057277281dc53dd7023e383" license "Apache-2.0" + revision 1 head "https://github.com/openvinotoolkit/openvino.git", branch: "master" livecheck do @@ -31,6 +32,7 @@ class Openvino < Formula depends_on "python-setuptools" => :build depends_on "python@3.13" => [:build, :test] depends_on "abseil" + depends_on "nlohmann-json" depends_on "numpy" depends_on "onnx" depends_on "protobuf" @@ -39,14 +41,16 @@ class Openvino < Formula depends_on "tbb" on_linux do + depends_on "autoconf" => :build + depends_on "automake" => :build depends_on "opencl-clhpp-headers" => :build depends_on "opencl-headers" => :build depends_on "rapidjson" => :build depends_on "opencl-icd-loader" resource "onednn_gpu" do - url "https://github.com/oneapi-src/oneDNN/archive/706a3ce3b391cf1d8a904a8efa981c70078719eb.tar.gz" - sha256 "1a656eb32f383cef82b703c355d762b2162f5aaa7b6f54b2c1e47995a9cee1f2" + url "https://github.com/uxlfoundation/oneDNN/archive/c7d59a12849295c8bdf6401b8ea3968f4346ee0c.tar.gz" + sha256 "05bc693ee788768f18397bd235ad40f55261e4336a683469a50072bfddbf9f98" end end @@ -54,8 +58,12 @@ class Openvino < Formula depends_on "scons" => :build resource "arm_compute" do - url "https://github.com/ARM-software/ComputeLibrary/archive/refs/tags/v24.09.tar.gz" - sha256 "49b8620f21cbbe49e825a131d9eacd548532646289b50e070b83860bd88087fe" + url "https://github.com/ARM-software/ComputeLibrary/archive/refs/tags/v25.03.tar.gz" + sha256 "30f83cea6d338a0e33495c33c547b7b720027baff4c3eea66014709fdd52aaac" + end + resource "arm_kleidiai" do + url "https://github.com/ARM-software/kleidiai/archive/eaf63a6ae9a903fb4fa8a4d004a974995011f444.tar.gz" + sha256 "756fa3040ff23f78a4c3f4c1984a3814d78d302b0b5dc3f0b255322368aefc58" end end @@ -69,8 +77,8 @@ class Openvino < Formula end resource "onednn_cpu" do - url "https://github.com/openvinotoolkit/oneDNN/archive/1789b1e0ae441de15d793123003a900a35d1dc71.tar.gz" - sha256 "551070032ce5d2ed6adc2216e9b061782da097b1ce28c403eaa16b230b09f6a7" + url "https://github.com/openvinotoolkit/oneDNN/archive/793dd02883483385fb7ee3b1af1e4273ce833444.tar.gz" + sha256 "f6ae708f5b78361cab2c544a976d66bd7ccd74b4b6df7710d4d86a383f6916f9" end resource "openvino-telemetry" do @@ -87,7 +95,17 @@ def python3 "python3.13" end + # Fix to add adhoc sign back for Homebrew. + # Remove patch when available in release. + patch do + url "https://github.com/openvinotoolkit/openvino/commit/f89181e38b64eee8296623c1caf9870164beff89.patch?full_index=1" + sha256 "6483957f1ed1ad41bb50e699b177c69991380c2b44fae3567180dfa4d82e3374" + end + def install + # cmake 4 build patch for third parties + ENV["CMAKE_POLICY_VERSION_MINIMUM"] = "3.5" + # Remove git cloned 3rd party to make sure formula dependencies are used dependencies = %w[thirdparty/ocl thirdparty/xbyak thirdparty/gflags @@ -106,12 +124,12 @@ def install if Hardware::CPU.arm? resource("arm_compute").stage buildpath/"src/plugins/intel_cpu/thirdparty/ComputeLibrary" + resource("arm_kleidiai").stage buildpath/"src/plugins/intel_cpu/thirdparty/kleidiai" elsif OS.linux? resource("onednn_gpu").stage buildpath/"src/plugins/intel_gpu/thirdparty/onednn_gpu" end cmake_args = %w[ - -DCMAKE_OSX_DEPLOYMENT_TARGET= -DENABLE_CPPLINT=OFF -DENABLE_CLANG_FORMAT=OFF -DENABLE_NCC_STYLE=OFF @@ -129,6 +147,10 @@ def install -DENABLE_SYSTEM_SNAPPY=ON -DProtobuf_USE_STATIC_LIBS=OFF ] + if OS.mac? + cmake_args << "-DCMAKE_OSX_DEPLOYMENT_TARGET=#{MacOS.version}.0" + ENV["MACOSX_DEPLOYMENT_TARGET"] = "#{MacOS.version}.0" + end openvino_binary_dir = "#{buildpath}/build" system "cmake", "-S", ".", "-B", openvino_binary_dir, *cmake_args, *std_cmake_args @@ -145,7 +167,7 @@ def install venv = virtualenv_create(libexec, python3) venv.pip_install resources.select { |r| r.url.start_with?("https://files.pythonhosted.org/") } - venv.pip_install_and_link "./src/bindings/python/wheel" + venv.pip_install_and_link "." (prefix/Language::Python.site_packages(python3)/"homebrew-openvino.pth").write venv.site_packages end diff --git a/Formula/o/or-tools.rb b/Formula/o/or-tools.rb index 2b66cf36ecee..7ce218b59d94 100644 --- a/Formula/o/or-tools.rb +++ b/Formula/o/or-tools.rb @@ -4,7 +4,7 @@ class OrTools < Formula url "https://github.com/google/or-tools/archive/refs/tags/v9.11.tar.gz" sha256 "f6a0bd5b9f3058aa1a814b798db5d393c31ec9cbb6103486728997b49ab127bc" license "Apache-2.0" - revision 7 + revision 8 head "https://github.com/google/or-tools.git", branch: "stable" livecheck do diff --git a/Formula/o/osm-pbf.rb b/Formula/o/osm-pbf.rb index ac6df6af42b2..cefd493d110b 100644 --- a/Formula/o/osm-pbf.rb +++ b/Formula/o/osm-pbf.rb @@ -4,7 +4,7 @@ class OsmPbf < Formula url "https://github.com/openstreetmap/OSM-binary/archive/refs/tags/v1.5.1.tar.gz" sha256 "183ad76c5905c7abd35d938824320ffb82d9ca8987796018f2da8380b51cdac2" license "LGPL-3.0-or-later" - revision 13 + revision 14 no_autobump! because: :requires_manual_review diff --git a/Formula/p/percona-xtrabackup.rb b/Formula/p/percona-xtrabackup.rb index 67a7dda9e48a..6003cbf8e456 100644 --- a/Formula/p/percona-xtrabackup.rb +++ b/Formula/p/percona-xtrabackup.rb @@ -4,7 +4,7 @@ class PerconaXtrabackup < Formula url "https://downloads.percona.com/downloads/Percona-XtraBackup-8.4/Percona-XtraBackup-8.4.0-2/source/tarball/percona-xtrabackup-8.4.0-2.tar.gz" sha256 "0777e3d3c3b4d4649ed23ed7197ec0aa71379b4a4a41b969b7286f6cf8888b4a" license "GPL-2.0-only" - revision 1 + revision 2 livecheck do url "https://www.percona.com/products-api.php", post_form: { diff --git a/Formula/p/percona-xtrabackup@8.0.rb b/Formula/p/percona-xtrabackup@8.0.rb index b214bd67625e..bbee3220d0ee 100644 --- a/Formula/p/percona-xtrabackup@8.0.rb +++ b/Formula/p/percona-xtrabackup@8.0.rb @@ -4,7 +4,7 @@ class PerconaXtrabackupAT80 < Formula url "https://downloads.percona.com/downloads/Percona-XtraBackup-8.0/Percona-XtraBackup-8.0.35-32/source/tarball/percona-xtrabackup-8.0.35-32.tar.gz" sha256 "04982a36e36d0e9dfb8487afa77329dd0d2d38da163a205f0179635ceea1aff1" license "GPL-2.0-only" - revision 1 + revision 2 livecheck do url "https://www.percona.com/products-api.php", post_form: { diff --git a/Formula/p/protobuf-c.rb b/Formula/p/protobuf-c.rb index 186af646c8dc..dbf50844b9b8 100644 --- a/Formula/p/protobuf-c.rb +++ b/Formula/p/protobuf-c.rb @@ -4,6 +4,7 @@ class ProtobufC < Formula url "https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.2/protobuf-c-1.5.2.tar.gz" sha256 "e2c86271873a79c92b58fef7ebf8de1aa0df4738347a8bd5d4e65a80a16d0d24" license "BSD-2-Clause" + revision 1 bottle do sha256 cellar: :any, arm64_sequoia: "a4c6dbe4ec1d26e23e6e64fcf119bf6b09c558fb4433a53be2e2de0e1ed6611a" diff --git a/Formula/p/protobuf.rb b/Formula/p/protobuf.rb index 2da66f147089..d744068865e6 100644 --- a/Formula/p/protobuf.rb +++ b/Formula/p/protobuf.rb @@ -1,8 +1,8 @@ class Protobuf < Formula desc "Protocol buffers (Google's data interchange format)" homepage "https://protobuf.dev/" - url "https://github.com/protocolbuffers/protobuf/releases/download/v29.3/protobuf-29.3.tar.gz" - sha256 "008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e" + url "https://github.com/protocolbuffers/protobuf/releases/download/v31.1/protobuf-31.1.tar.gz" + sha256 "12bfd76d27b9ac3d65c00966901609e020481b9474ef75c7ff4601ac06fa0b82" license "BSD-3-Clause" livecheck do @@ -31,12 +31,6 @@ class Protobuf < Formula depends_on "googletest" => :build end - # Backport to expose java-related symbols - patch do - url "https://github.com/protocolbuffers/protobuf/commit/9dc5aaa1e99f16065e25be4b9aab0a19bfb65ea2.patch?full_index=1" - sha256 "edc1befbc3d7f7eded6b7516b3b21e1aa339aee70e17c96ab337f22e60e154d7" - end - def install # Keep `CMAKE_CXX_STANDARD` in sync with the same variable in `abseil.rb`. abseil_cxx_standard = 17 diff --git a/Formula/p/protoc-gen-grpc-java.rb b/Formula/p/protoc-gen-grpc-java.rb index 314adb60e478..ee9639854fed 100644 --- a/Formula/p/protoc-gen-grpc-java.rb +++ b/Formula/p/protoc-gen-grpc-java.rb @@ -4,6 +4,7 @@ class ProtocGenGrpcJava < Formula url "https://github.com/grpc/grpc-java/archive/refs/tags/v1.73.0.tar.gz" sha256 "eca44a9f3eb341daf7a01482b96016dfa7d91baee495a697746c4724868a06db" license "Apache-2.0" + revision 1 bottle do sha256 cellar: :any, arm64_sequoia: "7dceeffe15dc656a5435fbe90d14a4bcf88f2c862b5e275542535b0bff9e9545" diff --git a/Formula/p/pytorch.rb b/Formula/p/pytorch.rb index 6850f07c8f1c..c707917115a3 100644 --- a/Formula/p/pytorch.rb +++ b/Formula/p/pytorch.rb @@ -6,7 +6,7 @@ class Pytorch < Formula url "https://github.com/pytorch/pytorch/releases/download/v2.5.1/pytorch-v2.5.1.tar.gz" sha256 "740eb5fff95e33cfe699bad43be83523f569c7cc7f9c285c2a255416443dd266" license "BSD-3-Clause" - revision 4 + revision 5 livecheck do url :stable diff --git a/Formula/s/syslog-ng.rb b/Formula/s/syslog-ng.rb index adfead5d3e93..1b6fab2f4f6e 100644 --- a/Formula/s/syslog-ng.rb +++ b/Formula/s/syslog-ng.rb @@ -6,7 +6,7 @@ class SyslogNg < Formula url "https://github.com/syslog-ng/syslog-ng/releases/download/syslog-ng-4.8.3/syslog-ng-4.8.3.tar.gz" sha256 "f82732a8e639373037d2b69c0e6d5d6594290f0350350f7a146af4cd8ab9e2c7" license all_of: ["LGPL-2.1-or-later", "GPL-2.0-or-later"] - revision 2 + revision 3 head "https://github.com/syslog-ng/syslog-ng.git", branch: "master" livecheck do