Investigate Redundant `@com_google_benchmark//:benchmark` Dependency in Bazel Builds
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
- 領域
- build-system, ci-cd
調査の方向性
PR #15543 と、macOS の Bazel CI ビルドで影響を受ける benchmark ターゲットから始めます。それらの依存関係の宣言を、google/benchmark が参照している BUILD.bazel ファイルと比較し、macOS ツールチェーンが benchmark と benchmark_main をどのように解決するかを調査します。原因を文書化し、設定変更によって明示的な依存関係を削除できるかどうかを判断できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Pull request #15543 fixed build failures in several benchmark targets on the macOS Bazel CI. The builds were failing because they were missing a direct dependency on @com_google_benchmark//:benchmark, even though they already depended on @com_google_benchmark//:benchmark_main.
While adding the explicit dependency resolves the build errors, it's not clear why this is necessary. According to the google/benchmark BUILD.bazel file, the :benchmark_main target depends on :benchmark and should export the necessary headers and symbols.
This issue affects the macOS Bazel CI builds.
This issue is to track the investigation into the root cause of this behavior:
- Why is a direct dependency on
@com_google_benchmark//:benchmarkrequired when a dependency on@com_google_benchmark//:benchmark_mainalready exists? - Why does this issue appear to be specific to the macOS Bazel CI build environment?
- Is there a more fundamental issue in how dependencies are being resolved or in the toolchain configuration?
Acceptance Criteria:
- Understand and document the reason for the seemingly redundant dependency.
- Determine if a configuration change can remove the need for the explicit dependency on
@com_google_benchmark//:benchmarkin the benchmark targets.
Reference:
- PR #15543: fix(bazel): Add missing dependency to benchmark targets
- 主要言語
- C++
- スター
- 659
- フォーク
- 471
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 100
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleapis/google-cloud-cpp のほかの issue
-
cleanup(storage): remove deprecated OpenTelemetry rpc.message.type and rpc.message.id attributesオープンapi: storage type: cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
googleapis/google-cloud-cpp#16544 ·
メンテナーはふだん 1 日以内に返信
-
api: storage priority: p2 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
googleapis/google-cloud-cpp#16529 ·
メンテナーはふだん 1 日以内に返信
-
type: feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
googleapis/google-cloud-cpp#16193 ·
メンテナーはふだん 1 日以内に返信
-
api: storage type: cleanup
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
googleapis/google-cloud-cpp#16545 ·
メンテナーはふだん 1 日以内に返信
-
api: storage type: cleanup
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
googleapis/google-cloud-cpp#16404 ·
メンテナーはふだん 1 日以内に返信
googleapis/google-cloud-cpp の issue をすべて見る
似ている issue
-
Status: Awaiting triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
espressif/arduino-esp32#12984 ·
メンテナーはふだん 1 日以内に返信
-
torch_ops/logprob.cu does not compile with the serving container's nvcc (13.3.73); check_torch_ops.py cannot run as shipped対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
ashhart/TensorFold#535 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信