From 78b89eac4843bfdc0bb19b7e5e7903d4ae1a010a Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 11 Jul 2025 23:15:43 +0000 Subject: [PATCH 1/2] opentelemetry-cpp 1.22.0 --- Formula/o/opentelemetry-cpp.rb | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Formula/o/opentelemetry-cpp.rb b/Formula/o/opentelemetry-cpp.rb index 33af1028eef9..86333e0e8478 100644 --- a/Formula/o/opentelemetry-cpp.rb +++ b/Formula/o/opentelemetry-cpp.rb @@ -1,10 +1,9 @@ class OpentelemetryCpp < Formula desc "OpenTelemetry C++ Client" homepage "https://opentelemetry.io/" - url "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.21.0.tar.gz" - sha256 "98e5546f577a11b52a57faed1f4cc60d8c1daa44760eba393f43eab5a8ec46a2" + url "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.22.0.tar.gz" + sha256 "3428f433f4b435ed1fad64cbdbe75b7288c06f6297786a7036d65d5b9a1d215b" license "Apache-2.0" - revision 1 head "https://github.com/open-telemetry/opentelemetry-cpp.git", branch: "main" bottle do @@ -32,12 +31,23 @@ class OpentelemetryCpp < Formula depends_on "re2" end + resource "openetelemetry-proto" do + url "https://github.com/open-telemetry/opentelemetry-proto/archive/refs/tags/v1.7.0.tar.gz" + sha256 "11330d850f5e24d34c4246bc8cb21fcd311e7565d219195713455a576bb11bed" + end + def install + (buildpath/"opentelemetry-proto").install resource("openetelemetry-proto") + ENV.append "LDFLAGS", "-Wl,-undefined,dynamic_lookup" if OS.mac? system "cmake", "-S", ".", "-B", "build", "-DBUILD_SHARED_LIBS=ON", "-DCMAKE_CXX_STANDARD=17", # Keep in sync with C++ standard in abseil.rb "-DCMAKE_INSTALL_RPATH=#{rpath}", + "-DHOMEBREW_ALLOW_FETCHCONTENT=ON", + "-DFETCHCONTENT_FULLY_DISCONNECTED=ON", + "-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS", + "-DOTELCPP_PROTO_PATH=#{buildpath}/opentelemetry-proto", "-DWITH_ELASTICSEARCH=ON", "-DWITH_EXAMPLES=OFF", "-DWITH_OTLP_GRPC=ON", From f43e04535e26b8fddb7fb765cc31b9972d891566 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 13 Jul 2025 00:51:30 +0000 Subject: [PATCH 2/2] opentelemetry-cpp: update 1.22.0 bottle. --- Formula/o/opentelemetry-cpp.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/o/opentelemetry-cpp.rb b/Formula/o/opentelemetry-cpp.rb index 86333e0e8478..0148a9eef9d6 100644 --- a/Formula/o/opentelemetry-cpp.rb +++ b/Formula/o/opentelemetry-cpp.rb @@ -7,13 +7,13 @@ class OpentelemetryCpp < Formula head "https://github.com/open-telemetry/opentelemetry-cpp.git", branch: "main" bottle do - sha256 arm64_sequoia: "2ae3c009cd51e1c5f40a396e20730e6ba0ce6d21c00720802f312919714b264e" - sha256 arm64_sonoma: "0ea60332a49b121be93d4f476e2246b07429f582397d26a7325bcdcd0ba66cc2" - sha256 arm64_ventura: "16eb288bc18878471c7fa842b23262b311ff7836232499390cf9abfb39a86675" - sha256 cellar: :any, sonoma: "4512a8f5a3a27c783cc3ebf97e86a1e4c318d7920e365897496929db1fd6c5de" - sha256 cellar: :any, ventura: "cff85b1a0d4623021aa60353af331f7d31807170deb7d959e17ebf37580aa622" - sha256 cellar: :any_skip_relocation, arm64_linux: "21973cb6bc609fba0340022700127671a7d66e306f55d72c425c190af73772b8" - sha256 cellar: :any_skip_relocation, x86_64_linux: "774291f46bdd5d367df15a3d4b578031da99c0f1cc67669940ca6342998855bd" + sha256 arm64_sequoia: "a35066e4bbf7ce6b48af745ca9d8c9bf857ff64d003a74acda6e80976f25accc" + sha256 arm64_sonoma: "9eee5e2ee89f57600a1c9e92faf0f1a0a9e1f53c3a7cf73a35b6a9c035b8e345" + sha256 arm64_ventura: "1e19c1acb7d0e55c3c37aa6774bde595b7a6d67ee2b951026da80ded3aa33a88" + sha256 cellar: :any, sonoma: "cf12afae4299dc2da82fd9fbdd40ca5a3f88707c97d0860fa73fd57dd4ca1514" + sha256 cellar: :any, ventura: "26338b759ba5112624ffe3c849dd1a73debb1f466500244462537d0bb04d9963" + sha256 cellar: :any_skip_relocation, arm64_linux: "a91a6c5e665d463d24ecd9d47af80f0fd6d0eca8b2768628511b1344655169bf" + sha256 cellar: :any_skip_relocation, x86_64_linux: "456bbe893a63a3a9178ef10d201226a7d82f09cf687aafe691b27bd538d2adbf" end depends_on "cmake" => :build